@import url("https://fonts.googleapis.com/css2?family=Inria+Serif:wght@400;700&display=swap");
* {
  padding: 0;
  margin: 0;
}

  

 .navbar {
  --bs-navbar-padding-x: 0;
  --bs-navbar-padding-y: 0rem !important;
} 




        .top-bar {
            font-family: 'Cormorant Infant', serif;
            font-size: 1rem;
        }
        .navbar-nav .nav-link {
            font-family: 'Cormorant Infant', serif;
            font-size: 1.4rem;
        }
        .navbar-nav .nav-link.active, .navbar-nav .nav-link:hover {
            color: #1a237e !important;
            text-decoration: underline;
        }
        @media (max-width: 991.98px) {
            .navbar-nav {
                gap: 0.5rem !important;
            }
            .navbar-brand img {
                width: 70px;
            }
        }
        @media (max-width: 767.98px) {
            .top-bar {
                font-size: 0.9rem;
            }
            .navbar-nav .nav-link {
                font-size: 1.1rem;
            }
        }



.news-container {
    position: relative;
    overflow: hidden;
    max-height: 180px;
}

.news-scroll {
    position: relative;
    width: 100%;
}

.news-item {
    width: 100%;
}

@media (max-width: 767px) {
    .news-item {
        padding: 10px !important;
    }

    .news-item strong {
        font-size: 1rem !important;
    }

    .news-item p {
        font-size: 0.9rem !important;
    }
}


/* Additional styles for course section */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background-color: #7a2323;
    color: white;
}

.table tbody tr td {
    vertical-align: middle;
    font-family: 'Cormorant Infant', serif;
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    .table tbody tr td {
        font-size: 0.9rem;
    }

    .table thead th {
        font-size: 0.9rem;
    }
}



/* Responsive for अध्यक्ष का संदेश */
@media (max-width: 991.98px) {
    .rounded-3.p-4.p-md-5 {
        padding: 1.5rem !important;
    }

    .col-md-3.text-center.mt-4.mt-md-0 {
        margin-top: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .rounded-3.p-4.p-md-5 {
        padding: 1rem !important;
    }

    .col-md-3.text-center.mt-4.mt-md-0 img {
        max-width: 60%;
        margin: 0 auto;
    }
}




.testimonial-img-box {
    border-radius: 24px;
    border: 2px solid #bdb7f3;
    box-shadow: 4px 4px 0 #f9d94b;
    background: #fff;
    overflow: hidden;
}
@media (max-width: 991.98px) {
    .testimonial-content {
        font-size: 1.1rem !important;
    }
}
@media (max-width: 767.98px) {
    .testimonial-img-box {
        max-width: 220px;
    }
    .testimonial-content {
        font-size: 1rem !important;
    }
}





/* header css */

/* Mobile Navigation Styles */
.mobile-nav {
  background-color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #201B45;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: all 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 20px;
  text-align: right;
  /* border-bottom: 1px solid #E6BA20; */
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #201B45;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background-color: #E6BA20;
}

.mobile-menu-body {
  padding: 20px;
}

.mobile-menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-items li {
  margin-bottom: 0;
  border-bottom: 1px solid #E6BA20;
}

.mobile-menu-items a {
  display: block;
  padding: 15px 0;
  color: #201B45;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.mobile-menu-items a:hover {
  color: #9c1d21;
  padding-left: 10px;
}

.mobile-menu-contact {
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid #9c1d21;
}

.contact-info {
  display: flex;
  align-items: center;
  color: #E6BA20;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-info i {
  margin-right: 10px;
  color: #E6BA20;
}

.mobile-book-btn {
  width: 100%;
  padding: 12px 20px;
  background-color: #9c1d21;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mobile-book-btn:hover {
  background-color: #9c1d21;
  transform: translateY(-2px);
}

.mobile-menu-footer {
  /* margin-top: 30px; */
  padding: 20px 0;
  /* border-top: 1px solid #E6BA20; */
  text-align: center;
}

.mobile-logo-footer {
  margin-bottom: 5px;
}

.mobile-copyright {
  color: #666;
  font-size: 0.8rem;
  line-height: 1.4;
}

.mobile-copyright p {
  margin: 2px 0;
}

.thyo-link {
  color: #9c1d21;
  font-weight: 600;
}



.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0rem !important;
}


/* Responsive table scroll for mobile */
@media (max-width: 767px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .table {
        min-width: 600px; /* or higher if needed */
    }

    .phone-size2{
     font-size: 0.85rem !important;
    }
}





.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
    color: #9C1D21 !important;
    font-weight: 600;
    background: none !important;
    border-radius: 8px;
    transition: color 0.2s;
}



    .logoMarqueeSection {
        margin-top: 30px;
        margin-bottom: 20px;
overflow: hidden;
}

#logoMarqueeSection {
  max-width: 100%;
  /* margin: 0 auto; */
}

.default-content-container {

    margin-top: 0;
    margin-bottom: 0;

    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    width: 100%;
    min-height: 50vh;
}

div.marquee>a>img {
  height: 50px;
}

.logoMarqueeSection>div>div {
    padding-top: 0;
    padding-bottom: 0;
    min-height: 0;
}

.marquee-wrapper {
  display:  inline-block;
  white-space: nowrap;
}

.marquee {
    display:  inline-block;
    white-space: nowrap;
    position: relative;
    transform: translate3d(0%, 0, 0);
    animation-name: marquee;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.marquee a {
    display:  inline-block;
    white-space: nowrap;
    padding-right: 5.4rem;
}

.marquee-wrapper:hover .marquee {
    animation-play-state: paused !important;
}

@keyframes marquee {
    0% {
        transform: translate3d(0%, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}




.table tbody tr:hover {
    background-color: #ffe7e7 !important;
    transition: background 0.2s;
}
.table tbody tr:hover td {
    color: #9C1D21 !important;
    font-weight: 600;
}



.table tbody tr:hover {
    background-color: #ffe7e7 !important;
    transition: background 0.2s;
}
.table tbody tr:hover td {
    color: #9C1D21 !important;
    font-weight: 600;
}


.user-type-radio {
    transition: box-shadow 0.3s, background 0.3s, color 0.3s;
    border-radius: 16px;
    padding: 6px 18px;
    cursor: pointer;
    display: inline-block;
}
.form-check-input:checked + .user-type-radio,
.user-type-radio:hover {
    background: #e6eafc;
    color: #9C1D21 !important;
    box-shadow: 0 4px 16px rgba(156,29,33,0.12);
    font-weight: 600;
}



.resource-card {
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
    cursor: pointer;
}
.resource-card:hover {
    box-shadow: 0 8px 32px #9c1d2133;
    transform: translateY(-6px) scale(1.03);
    background: #fffbe6;
}





.gallery-section {
    background: #f8f9fa;
}
.gallery-title {
    font-family: 'Cormorant Infant', serif;
    color: #241f47;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.gallery-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px #241f4720;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 320px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}
.gallery-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px #9c1d2133;
}
.gallery-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-card:hover .gallery-img {
    transform: scale(1.07);
}
.gallery-info {
    padding: 18px 20px 14px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.gallery-title-sm {
    font-family: 'Cormorant Infant', serif;
    font-size: 1.2rem;
    color: #9C1D21;
    font-weight: 600;
    margin-bottom: 6px;
}
.gallery-meta {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 8px;
}
@media (max-width: 767px) {
    .gallery-grid {
        gap: 16px;
    }
    .gallery-card {
        width: 100%;
    }
}
