
@font-face {
  font-family: 'Mallanna';
  src: url('../fonts/mallanna.woff2') format('woff2'),
       url('../fonts/mallanna.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


.custom-font-content {
    font-size: 22px !important;
}

body {
  font-family: 'Mallanna', sans-serif !important;
    color: #333;
  line-height: 1.6;
  overflow-x:hidden;
  font-size: 1rem;
}


a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #0056b3;
}

/* Custom Classes */
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #007bff;
}

.view-all {
  color: #007bff;
  font-size: 0.875rem;
  font-weight: 500;
}

.news-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0,0,0,0.1);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.clamp-6-lines {
    display: -webkit-box;
    -webkit-line-clamp: 6;     /* Number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clamp-1-line {
    display: -webkit-box;
    -webkit-line-clamp: 1;     
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.equal-post {
    min-height: 130px; /* Or any height you want */
}

.clamp-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;    
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

a:hover {
 color: #000; 
}
.clamp-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;    
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.icon-square {
  display: inline-flex;
  width: 36px;
  height: 36px;
  background-color: #e9ecef; /* light gray or any color */
  color: #000;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 4px; /* remove for sharp square edges */
  transition: background 0.3s;
}

.icon-square:hover {
  background-color: #d1d1d1;
}

.news-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.carousel-inner p {
    font-size: 24px;
    font-weight:400;
    line-height: 1.2;
    
}
.news-summary {
  font-size: 0.875rem;
  color: #666;
}

.full-image {
  height: 400px; /* or any fixed height */
  object-fit: cover;
  object-position: center;
}


.news-meta {
  font-size: 18px;
  color: #777;
}

.small-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.category-badge {
  background-color: #f8f9fa;
  color: #333;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
  display: inline-block;
}

 .side-news-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.news-image {
    height: 250px; /* set your preferred height */
    overflow: hidden;
    position: relative;
}

.news-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

/* Hero Section */
.hero-section {
  position: relative;
  text-align:justify;
}

#newsCarousel .carousel-control-prev,
#newsCarousel .carousel-control-next {
  height: 330px;
  align-items: center;
  display: flex;
}



.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2; /* ensure it sits above the image */
  /* background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); */
  padding: 2rem 1.5rem;
  color: #fff; /* ensure text is visible */
}
.hero-image {
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.contact-form {
      background: #fff;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    .form-control:focus {
      box-shadow: none;
      border-color: #007bff;
    }
    .info-box {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    }
    .info-box i {
      font-size: 2rem;
      color: #007bff;
      margin-bottom: 10px;
    }
    .info-text {
      font-size: 1rem;
      color: #333;
    }


/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-image {
    height: 300px;
  }
  
  .hero-overlay {
    padding: 1.5rem 1rem;
  }
  
  .section-title {
    font-size: 1.1rem;
  }
  
  .news-title {
    font-size: 0.95rem;
  }
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0;
}

/*img {
    max-width: 100%;
}*/

/* Header & Logo */
.logo {
    max-height: 100px;
}

.social-icons-top a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 50%;
    margin-right: 10px;
    color: #555;
    border:1px solid #ddd;
    transition: all 0.3s;
}

.social-icons-top a:hover {
    background-color: #007bff;
    color: white;
}


/* Navigation */
.navbar {
    padding: 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    font-weight: 500;
}

#today-date {
    font-size: 1.2rem; 
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Breadcrumb */
.breadcrumb {
    background: none;
    padding: 0;
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: #007bff;
}

/* Featured News */
.featured-news {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.featured-news img {
    object-fit: cover;
    height: 100%;
    min-height: 180px;
    transition: transform 0.3s ease;
}

.featured-news:hover img {
    transform: scale(1.05);
}

.featured-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    border-radius: 3px;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
}

.main-featured .featured-content {
    padding: 20px;
}

.featured-content h4, .featured-content h6 {
    margin-bottom: 5px;
    font-weight: 600;
}

.featured-meta {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Section Header */
.section-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
}

.section-title {
    display: inline-block;
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

/* News Items */
.news-item {
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.news-content {
    padding: 15px;
}

.news-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.news-meta {
    font-size: 18px;
    color: #777;
    margin-bottom: 8px;
}

.carousel-item img {
  height: 300px; 
  object-fit: cover;
}

.carousel-item span{
    padding: 5px;
}
.main img {
  height: 300px; 
  object-fit: cover;
}

.about p {
     font-size: 24px;
}

.news-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #555;
}

/* Pagination */
.pagination .page-link {
    border: none;
    color: #333;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

/* Sidebar */
.sidebar-section {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.sidebar-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

.sidebar-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #007bff;
}

.recent-article {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-article h6 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.4;
}

.article-meta {
    font-size: 0.75rem;
    color: #777;
}

.dont-miss-article h5 {
    font-size: 1rem;
    margin: 10px 0;
    font-weight: 600;
}

.dont-miss-article p {
    font-size: 0.85rem;
    color: #555;
}

.small-article h6 {
    font-size: 0.8rem;
    margin-bottom: 2px;
    line-height: 1.3;
}

.small-meta {
    font-size: 0.7rem;
    color: #777;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
}

.footer-logo {
    max-height: 80px;
    filter: brightness(1.2);
}

.social-icons {
    margin-bottom: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 5px;
    color: white;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #007bff;
    color: white;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    position: relative;
    padding: 0 15px;
}

.footer-links li:not(:last-child):after {
    content: '|';
    position: absolute;
    right: 0;
    top: 0;
    color: #555;
}

.footer-links a {
    color: #aaa;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
}

.copyright .fa-heart {
    color: #ff5252;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-dark .navbar-nav .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .featured-news img {
        min-height: 160px;
    }
    
    .footer-links li {
        padding: 0 10px;
        margin-bottom: 10px;
    }
    
    .footer-links li:after {
        display: none;
    }
    
    .social-icons-top a {
	display:none;
		
	}
        
      .date #today-date {
       margin-right:50px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.1rem;
        padding: 6px 12px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-content h4 {
        font-size: 1rem;
    }
    
    .featured-content h4 {
        font-size: 1.1rem;
    }
    
    .featured-content h6 {
        font-size: 0.9rem;
    }
    
}

.navbar-toggler:focus {
	outline:none;
	box-shadow:none;
	border:none;
}

.navbar-toggler{
	border:none;
}