* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header Styles */
.header {
  background: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 400;
  color: #333;
}

.logo-text .bold-blue {
  font-weight: 700;
  color: #007bff;
}

.search-section {
  color: #666;
  font-size: 0.9rem;
  cursor: pointer;
}

.search-icon {
  color: #007bff;
  margin-left: 10px;
}

.hamburger {
  font-size: 1.8rem;
  color: #007bff;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Desktop Menu */
.desktop-menu {
  display: none;
}

.desktop-menu ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.desktop-menu a {
  color: #7a7a7a;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.desktop-menu a:hover {
  color: #007bff;
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.search-modal.active {
  display: flex;
}

.search-container {
  background: white;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.2rem;
  padding: 10px;
}

.search-close {
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
}

.search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 20px;
}

.search-category {
  margin-bottom: 30px;
}

.search-category-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #007bff;
}

.search-item {
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.search-item:hover {
  background: #f8f9fa;
}

.search-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-right: 15px;
}

.search-item-content {
  flex: 1;
}

.search-item-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.search-item-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.search-no-results {
  text-align: center;
  padding: 40px;
  color: #666;
}

.search-suggestions {
  padding: 20px;
  border-top: 1px solid #eee;
}

.search-suggestions-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
}

.search-suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-tag {
  background: #007bff;
  color: white;
  padding: 5px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.3s;
}

.search-tag:hover {
  background: #0056b3;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1001;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-close {
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.mobile-menu-logo {
  font-size: 1.5rem;
  font-weight: 400;
  color: #333;
}

.mobile-menu-logo .bold-blue {
  font-weight: 700;
  color: #007bff;
}

.mobile-menu-items {
  padding: 20px;
}

.mobile-menu-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.mobile-menu-item a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
}

.mobile-menu-item a:hover {
  color: #007bff;
}

/* .overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
} */

.overlay.active {
  display: block;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
  /* Adjusted for fixed header */
}

@media screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: portrait) {
  .hero-section {
    height: 110vh;
  }
}
.hero-swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slide img {
  width: 100%;
  height: 90%;
  object-fit: cover;
}
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* .hero-slide {
  aspect-ratio: 2 / 6;
  width: 100%;
  overflow: hidden;
  position: relative;
} */

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  /* padding: 20px; */
}

.hero-quote {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-author {
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
}

.mk-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 700;
  color: #ffd700;
  z-index: 3;
}

.logo-img img {
  height: 55px;
}

/* Swiper Customization */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
  width: 10px;
  height: 10px;
}

.swiper-pagination-bullet-active {
  background: #007bff;
  opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: background 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Mobile view image handling */
@media (max-width: 768px) {
  .hero-slide img {
    content: attr(data-mobile-src);
  }

  .logo-img img {
    height: 33px;
  }
}

/* Gallery Popup */
.gallery-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-popup.active {
  display: flex;
}

.gallery-popup-container {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  background: white;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-popup-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.gallery-popup-close {
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 1.5rem;
  color: #fff;
  background: #007bff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.gallery-popup-close:hover {
  background: #0056b3;
}

/* Section Headers */
.section-header {
  padding: 15px 0;
  /* margin: 100px 0 20px 0; */
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
}

.section-title i {
  margin-right: 10px;
  color: #007bff;
}

/* News Section */
.news-card {
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.news-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.news-card-content {
  padding: 15px;
  text-align: center;
}

.news-headline {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  margin-bottom: 10px;
}

.news-link {
  color: #007bff;
  text-decoration: none;
  font-size: 0.9rem;
}

.news-link:hover {
  text-decoration: underline;
}

/* Facebook Embed */
.fb-embed {
  background: white;
  overflow: hidden;
  height: 100%;
  padding: 15px;
}

.fb-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Gallery Section */
.gallery-slide img {
  width: 100%;
  /* aspect-ratio: 10 / 12; */
  /* Set your desired ratio */
  object-fit: cover;
  cursor: pointer;
}

.gallery-featured {
  background: white;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.gallery-featured img {
  width: 100%;
  /* aspect-ratio: 9 / 16; */
  /* Same ratio here too */
  object-fit: cover;
  margin-bottom: 15px;
}

/* Blog Section */
.blog-card {
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 20px;
  text-align: center;
}

.blog-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-link {
  color: #007bff;
  text-decoration: none;
  font-size: 0.9rem;
}

.blog-link:hover {
  text-decoration: underline;
}

.blog-featured {
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.blog-featured img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Footer */
.footer {
  background: #000240;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  font-size: 4rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 20px;
}

.footer-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  color: white;
  font-size: 2.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffd700;
}

/* Responsive Design */
@media (max-width: 768px) {
  .search-section {
    display: none;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .search-container {
    width: 95%;
    margin: 20px;
  }

  .search-header {
    padding: 15px;
  }

  .search-input {
    font-size: 1rem;
  }

  .news-card img,
  .gallery-slide img,
  .blog-card img {
    /* height: 150px; */
    height: auto;
  }

  .gallery-featured img,
  .blog-featured img {
    height: 150px;
  }

  .fb-embed {
    margin-top: 20px;
  }

  .hero-quote {
    font-size: 2rem;
  }

  .hero-author {
    font-size: 1.2rem;
  }

  .mk-logo {
    font-size: 2rem;
  }

  #gallery {
    margin-top: 65px !important;
  }
}

@media (min-width: 1025px) {
  .hamburger {
    display: none;
  }

  .desktop-menu {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .hero-quote {
    font-size: 1.5rem;
  }

  .hero-author {
    font-size: 1rem;
  }
}

/* blog */

.blog-grid {
  padding: 0 0 80px;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  /* transition: var(--transition); */
  margin-bottom: 30px;
  height: 100%;
  position: relative;
}

/* Enhanced Hover Effects */
/* .blog-card:hover {
     transform: translateY(-10px) scale(1.02);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
 } */

.blog-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transition: var(--transition); */
}

/* .blog-card:hover .blog-image img {
     transform: scale(1.1);
     filter: brightness(0.9);
 } */

.blog-category {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
  transition: var(--transition);
}

/* .blog-card:hover .blog-category {
     background: var(--accent-color);
     transform: translateY(-5px);
 } */

.blog-content {
  padding: 25px;
}

.blog-date {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

/* .blog-card:hover .blog-title {
     color: var(--primary-color);
 } */

.blog-excerpt {
  color: #6c757d;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.blog-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* .blog-link:hover {
     color: var(--accent-color);
 } */

/* .blog-link:hover i {
     transform: translateX(5px);
 } */

/* Newsletter Styles */
.newsletter {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  border-radius: 12px;
  padding: 50px;
  margin: 0 auto 80px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 25px;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 50px 0 0 50px;
  font-family: "Poppins", sans-serif;
  outline: none;
}

.newsletter-form button {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 0 50px 50px 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #ff5252;
}

@media (max-width: 767px) {
  .section-title {
    font-size: 1.2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    border-radius: 50px;
    width: 100%;
  }
}

/* About Section Styles */
/* .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 } */

.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 50px 0;
}

.about-image {
  width: 100%;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.about-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #555;
}

.about-content strong {
  font-weight: 700;
  color: #333;
}

/* Desktop Layout */
@media (min-width: 992px) {
  .about-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-image {
    width: 40%;
    position: sticky;
    top: 20px;
  }

  .about-content {
    width: 60%;
    padding-left: 40px;
  }

  /* First two paragraphs stay aligned with image */
  .about-content p:nth-of-type(1),
  .about-content p:nth-of-type(2) {
    margin-bottom: 20px;
  }

  /* Remaining paragraphs get extra spacing */
  .about-content p:nth-of-type(n + 3) {
    margin-top: 25px;
  }
}

/* Video Gallery Section */
.video-gallery {
  padding: 60px 20px;
  /* background-color: #f9f9f9; */
  text-align: center;
}

.section-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  /* max-width: 1200px; */
  /* margin: 0 auto; */
}

.video-item {
  flex: 1 1 calc(50% - 30px);
  max-width: 600px;
  min-width: 300px;
}

.video-link {
  text-decoration: none;
  color: #333;
  display: block;
  transition: transform 0.3s ease;
}

.video-link:hover {
  transform: translateY(-5px);
}

.video-thumbnail {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16/9;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-link:hover .video-thumbnail img {
  transform: scale(1.03);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(255, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.play-button i {
  color: white;
  font-size: 1.8rem;
  margin-left: 5px;
}

.video-link:hover .play-button {
  background-color: rgba(255, 0, 0, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
  margin-top: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.video-link:hover .video-title {
  color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-item {
    flex: 1 1 100%;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .play-button {
    width: 50px;
    height: 50px;
  }

  .play-button i {
    font-size: 1.2rem;
  }
  .topBannerAbout {
    margin-top: 85px !important;
    min-height: 10vh !important;
  }
  .topBannerGallery {
    margin-top: 85px !important;
    min-height: 10vh !important;
  }
  .topBannerNews {
    margin-top: 85px !important;
    min-height: 10vh !important;
  }
  .topBannerBlog {
    margin-top: 85px !important;
    min-height: 10vh !important;
  }
  .topBannercontact {
    margin-top: 85px !important;
    min-height: 10vh !important;
  }
}

.video-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* Space between video items */
  justify-content: center;
}

.video-item {
  flex: 1 1 300px;
  /* Flexible width, minimum 300px */
  max-width: 560px;
  /* Maximum width for larger screens */
}

.video-embed {
  width: 100%;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio (9 ÷ 16 = 0.5625) */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* Remove iframe border */
}

.img-fluid {
  max-width: 100%;
  height: auto;
}
.topBannerAbout {
  background-image: url("/assets/img/top bannerABOUT.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 20vh;
  margin-top: 105px;
}
.topBannerBlog {
  background-image: url("/assets/img/top bannerblogs.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 20vh;
  margin-top: 105px;
}
.topBannerGallery {
  background-image: url("/assets/img/top bannerGALLER.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 20vh;
  margin-top: 105px;
}
.topBannerNews {
  background-image: url("/assets/img/top bannernews.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 20vh;
  margin-top: 105px;
}
.topBannercontact {
  background-image: url("/assets/img/top banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 20vh;
  margin-top: 105px;
}
.contactbgpage-img {
  background-image: url("/assets/img/backkk.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 80vh;
}
.contactbg-img {
  background-image: url("/assets/img/backgrounndd.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 85vh;
}

@media (min-width: 770px) and (max-width: 1050px) {
  .contactbg-img {
    min-height: 45vh;
  }

  .mobile-menu {
    width: 450px;
    left: -450px;
  }
}

.hero-image {
  width: 100%;
  height: 88%;
  background-size: cover;
  background-position: center;
}

.image-1 {
  background-image: url("/assets/banner/banner3.jpeg");
}

.image-2 {
  background-image: url("/assets/banner/Mk banner news (1).png");
}

.image-3 {
  background-image: url("/assets/banner/banner2.jpeg");
}

@media (max-width: 1025px) {
  .image-1 {
    background-image: url("/assets/banner/mb2C.png");
  }
  .image-2 {
    background-image: url("/assets/banner/mb 1.png");
  }
  .image-3 {
    background-image: url("/assets/img/mb 3 (1).png");
  }
}
