/* General Body Style */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
}

/* Header Base Styles */
.header {
    
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0px 0;
    transition: padding 0.3s, background-color 0.3s;
}


.top-navbar {
    background-color: #0074D9;
    padding: 5px 100px;
    text-align: center;
    font-size: 0.9rem;
    color: #fff;
}

.contact-info {
    text-align: right;
    margin-top: 5px;
    font-size: 0.85rem;
}

/* Navbar Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 200px;
    transition: padding 0.3s;
}

.logo a img {
    height: 70px; /* Initial logo size */
    transition: height 0.3s ease;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    text-transform: uppercase;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #0074D9;
}


/* Hamburger Button */
.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

/* Shrink logo and navbar on scroll */
.shrink .navbar {
    padding: 5px 180px;
}

.shrink .logo a img {
    height: 50px; /* Shrunk logo size */
}

.shrink .top-navbar {
    padding: 5px 100px;
}



/* Mobile Styles */
@media screen and (max-width: 768px) {
    .menu ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #ddd;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        top: 100px;
    }

    .menu ul.open {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .top-navbar .contact-info {
        text-align: center;
        font-size: 0.8rem;
    }
    
    .navbar {
    padding: 10px 20px;
}
    .logo a img {
    /* Initial logo size */
    width: 220px;
    height: 90px;
    transition: height 0.3s ease;
}
    
    .shrink .navbar {
        padding: 10px 20px;
}
    .shrink .logo a img {
    width: 180px; /* Shrunk logo size */
    height: 70px;
}

}
/* Slideshow Section */

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(0 5 69 / 10%), rgba(1, 15, 83, 0.815)); /* Gradient effect */
    z-index: 1; /* Gradient давхарга зургийн дээр байх */
    pointer-events: none; /* Gradient нь хэрэглэгчийн үйлдэлд нөлөөлөхгүй */
}

.slide img {
    position: relative;
    z-index: 0; /* Зураг нь gradient-ийн доор харагдана */
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.slide {
    display: none;
    position: relative;
}

img.xfieldimage.image {
    height: 250px;
}

img {
    width: 100%;
    height: 500px; /* Adjust height */
    object-fit: cover;
    border-radius: 0px;
}


.caption {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    text-align: left;
    animation: slideIn 1s ease-out;
    z-index: 1;
    
}

.caption h1 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    animation: textEffect 1.5s ease-in-out;
}

.caption p {
    font-size: 1.5rem;
    margin-top: 10px;
    animation: fadeIn 2s ease-in-out;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(-60%);
        opacity: 0;
    }
    to {
        transform: translateY(-50%);
        opacity: 1;
    }
}

@keyframes textEffect {
    0% {
        letter-spacing: -5px;
        opacity: 0;
    }
    100% {
        letter-spacing: 2px;
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    .slideshow-container {
        img {
            height: 400px;
        }
    }
}
/* Navigation Buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background: rgba(0, 0, 0, 0.5);
    transition: 0.3s ease;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}


.news-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.news-item {
    background: linear-gradient(145deg, #fff, #e6e6e6); /* Дугуй өнгийн хөндлөн өнгөлгөө */
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 -4px 8px rgba(0, 0, 0, 0.1);
    width: 32%;
    text-align: center;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-10px); /* Хөвж байгаагаар харагдуулж байна */
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1), 0 -8px 16px rgba(0, 0, 0, 0.1);
}



.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}


.news-item:hover .news-img {
    transform: scale(1.05); /* Зургийг томруулж, дотор нь багтааж харагдуулах */
}

.news-time {
    text-align: right; 
    padding: 0px 20px; 
    font-size: 10px;
    color: #ffbd06;
}

.news-title {
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
    letter-spacing: 0px;
    padding: 3px;
}

.news-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
    padding: 15px;
    text-align: justify;
}

.read-more {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    border: 0;
    padding: 10px;
    background-color: #0074D9;
    line-height: 3.5;
    border-radius: 10px;
}

.read-more:hover {
    color: #000;
    text-decoration: underline;
    border: 0;
    padding: 10px;
    background-color: #ffbd06;
    line-height: 3.5;
    border-radius: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .news-container {
        flex-direction: column;
        align-items: center;
    }

    .news-item {
        width: 80%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .news-item {
        width: 100%;
    }
}



/* Main content хэсэг */
.main-content {
    background: linear-gradient(45deg, #2980b9, #8e44ad);
    padding: 30px 50px;
    border-radius: 0px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    color: white;
    text-align: center;
    margin-bottom: 50px;
    display: flex;
}

.main-content h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.main-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0px;
}

.main-content .mission,
.main-content .values,
.main-content .vision,
.main-content .slogan {
    font-size: 1.2rem;
    line-height: 1.6;
}

.main-content .slogan {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Timeline хэсэг */
.timeline-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 15px;
}

.timeline-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    position: relative;
    flex-wrap: wrap;
    flex-direction: row
    align-content: stretch;
    

}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #2980b9;
    transform: translateX(-50%);
}

.timeline-event {
    width: 45%;
    margin: 5px 10px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.timeline-event:hover {
    transform: translateX(10px);
}

.timeline-event-left {
    text-align: right;
    transform: translateX(-20px);
}

.timeline-event-right {
    text-align: left;
    transform: translateX(20px);
}

/* Timeline year */
.timeline-year {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2980b9;
}

/* Timeline content */
.timeline-content {
    font-size: 1.1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 20px;
    text-align: left;
}

.timeline-content li {
    margin-bottom: 10px;
}

/* Мобайл хувилбар */
@media (max-width: 768px) {
    .main-content {
        padding: 20px 15px;
        
    }

    .timeline-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .timeline-event {
        width: 100%;
        margin: 10px 0;
    }

    .timeline-line {
        left: 0px;
        transform: translateX(0);
    }

    .timeline-event-left,
    .timeline-event-right {
        text-align: left;
        width: 100%;
        margin-left: 10px;
    }
}

.goal-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0px 0px;
    margin: auto;
}

.goal-box {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Анимэйшн эхлэх үе */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover үед анимэйшн */
.goal-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.goal-box i {
    font-size: 40px;
    color: #2980b9;
    margin-bottom: 0px;
}

.goal-box h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 0px;
}

.goal-box p {
    font-size: 14px;
    color: #555;
}

/* Мобайл дээр багана */
@media (max-width: 768px) {
    .goal-container {
        grid-template-columns: 1fr;
    }
}

.list-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0px;
    text-align: center;
}

.clean-list {
    list-style-type: none;
    padding: 0;
}

.list-item {
    position: relative;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    padding-left: 25px;
    margin-bottom: 15px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8" width="8" height="8"%3E%3Ccircle cx="4" cy="4" r="2" fill="%23349fd1" /%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 10px;
    transition: all 0.3s ease;
}

.list-item:hover {
    color: #349fd1;
    background-color: #f4f9fe;
    transform: translateX(5px);
}

.list-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .list-container {
        padding: 20px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .list-item {
        font-size: 0.9rem;
    }
}
/* Reset basic styles */

.partners {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.psection-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.plogo-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.plogo-container {
    display: flex;
    gap: 30px;
    animation: scroll-left 20s linear infinite;
}

.plogo-item {
    height: 80px;  /* You can adjust the height of the logos */
    display: flex;
    justify-content: center;
    align-items: center;
}

.plogo-item img {
    max-height: 100%;
    width: auto;
    transition: transform 0.3s ease;
}

.plogo-item:hover img {
    transform: scale(1.1);  /* Slight zoom effect on hover */
}

/* Animation for continuous scrolling */
@keyframes scroll-left {
    0% {
        transform: translateX(1200px);
    }
    100% {
        transform: translateX(-1200px);
    }
}

@media (max-width: 768px) {
    .psection-title {
        font-size: 1.5rem;
    }

    .plogo-item {
        height: 60px;  /* Adjust logo height for mobile */
    }
}

/* Activity styles */

.activity-section {
    text-align: center;
    padding: 50px 20px;
    max-width: 1200px;
    margin:auto
  
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
  }
  
  /* Card container */
  .activity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
  
  }
  
  .card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  }
  
  .card i {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 15px;
  }
  
  .card p {
    font-size: 14px;
    color: #555;
  }
  
  /* Mobile responsiveness */
  @media (max-width: 768px) {
    .activity-cards {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
  }
  
  @media (max-width: 480px) {
    .activity-section {
      padding: 20px 10px;
    }
  
    h2 {
      font-size: 1.5rem;
    }
  }
  /* Footer Styling */
.footer {
    background-color: #0074D9;
    color: #ffffff;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  
  .footer-left, .footer-right {
    flex: 1;
    min-width: 280px;
  }
  
  .footer-logo {
    max-width: 220px;
    margin-bottom: 20px;
    height: 80px;
  }
  
  .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-contact li {
    margin-bottom: 10px;
    font-size: 14px;
  }
  
  .footer-contact a {
    color: #ffbd06;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-contact a:hover {
    color: #ffffff;
  }
  
  .footer-right h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffbd06;
  }
  
  .footer-right p {
    margin: 5px 0;
    font-size: 14px;
  }
  
  /* Copyright Section Styling */
  .copyright {
    background-color: #011b53;
    color: #ffffff;
    text-align: center;
    padding: 15px 20px;
    font-size: 12px;
    font-family: 'Arial', sans-serif;
    border-top: 2px solid #011b53;
  }
  
  .copyright p {
    margin: 0;
    opacity: 0.8;
  }
  
  .copyright p:hover {
    opacity: 1;
  }
  
  /* Responsive Styling */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
    }
  
    .footer-left, .footer-right {
      margin-bottom: 20px;
    }
  
    .footer-logo {
      margin: 0 auto;
    }
  }

  /* Styling for numbers */
.count {
    font-size: 24px;
    color: #000000;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  /* Container for the row */
  .info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Gap between cards */
    flex-wrap: wrap; /* For responsive design */
    margin: 20px auto;
    margin-bottom: 50px;
  }
  
  /* Individual info box */
  .info-box {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  }
  
  /* Icon styling */
  .info-icon {
    font-size: 40px;
    color: #0074D9;
    margin-bottom: 10px;
  }
  
  /* Title styling */
  .info-box h3 {
    font-size: 18px;
    color: #333333;
    margin: 10px 0;
  }
  
  /* Number styling */
  .info-box p {
    font-size: 24px;
    color: #ffbd06;
    font-weight: bold;
  }
  
  /* Responsive styling */
  @media (max-width: 768px) {
    .info-box {
      width: 100%;
      margin: 10px 0;
    }
  }

  /* Video section styles */
.video-section {
    text-align: center;
    padding: 0px 0px;
    background-color: #f4f4f4;
    position: relative;
    width: 100%;
    margin-bottom: 50px;
  }
  
  .video-container {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  
  .video-thumbnail {
    width: 100%;
    border-radius: 0px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    
  }
  
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    color: #333;
    cursor: pointer;
    padding: 20px;
    border-radius: 25%;
    transition: all 0.3s ease;
  }
  
  .play-button:hover {
    background-color: #0074D9;
    transform: translate(-50%, -50%) scale(1.1);
  }
  
  /* Popup video styles */
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
  }
  
  .popup-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
  }
  
  .popup-content iframe {
    width: 100%;
    height: 450px;
    border-radius: 8px;
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 36px;
    color: #000;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .close-button:hover {
    color: red;
  }
  
  /* Catalog Section */
.catalog-section {
    width: 100%;
    height: 500px;
    background: linear-gradient(48deg, #011b53bd, #349fd1a8), url(https://www.wendywutours.com/resource/upload/863/banner-ulaanbaatar.jpg) no-repeat center / cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin-bottom: 50px;
}

.catalog-container {
    width: 90%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Catalog Item */
.catalog-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-item img {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover;
}

.catalog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Overlay Effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay h3,
.overlay p {
    color: #fff;
    text-align: center;
    margin: 5px 0;
}

.catalog-item:hover .overlay {
    opacity: 1;
}
  
  


/* Media Query for Mobile */
@media (max-width: 768px) {
    .catalog-container {
        grid-template-columns: repeat(2, 1fr); /* Бага дэлгэцэнд 2 багана болгоно */
        gap: 8px; /* Зайг багасгана */
    }

    .catalog-item img {
        height: 120px; /* Зургийн өндөр багасгана */
    }

    .overlay h3,
    .overlay p {
        font-size: 12px; /* Фонтын хэмжээг багасгаж дэлгэцэнд нийцүүлнэ */
    }
}

@media (max-width: 480px) {
    .catalog-container {
        grid-template-columns: 1fr; /* Хамгийн жижиг дэлгэцэнд 1 багана болгоно */
        gap: 5px; /* Зайг багасгана */
    }

    .catalog-item img {
        height: 100px; /* Зургийн өндөр багасгана */
    }

    .overlay h3,
    .overlay p {
        font-size: 10px; /* Фонтын хэмжээг илүү багасгана */
    }
}

 .build {
    display: flex;
    gap: 20px;
    max-width: 1000px;
    align-items: flex-start;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 30px;
    flex-direction: row-reverse;
    justify-content: space-around;
 }
 
 
/* Media Query for Mobile */
@media (max-width: 768px) {
 
