@font-face {
  font-family: 'notosans-regular';
  src: url('fonts/NotoSansTamil-Regular.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'notosans-medium';
  src: url('fonts/NotoSansTamil-Medium.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'notosans-semibold';
  src: url('fonts/NotoSansTamil-SemiBold.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'notosans-light';
  src: url('fonts/NotoSansTamil-Light.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'notosans-bold';
  src: url('fonts/NotoSansTamil-Bold.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
}

body { scroll-behavior: smooth; }

/* Navbar */
.navbar {
    /* background-color: #7a3b1e; */
    background-color: #ffffff;
    transition: all 0.4s ease;
    padding: 1rem 0;
}
.navbar.scrolled {
    background-color: #ffffff !important;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-bottom: 1px solid #e5e7eb;
}

/* Logo container */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-img {
    height: 50px;
    transition: height 0.4s ease;
}
.navbar.scrolled .logo-img {
    height: 35px;

}

/* Logo text */
.logo-text {
    display: flex;
    color: #7a3b1e;
    flex-direction: column;
    line-height: 1;
}
.logo-main {
    font-size: 14px;
    font-family: 'notosans-bold',sans-serif;
    color: #7a3b1e;
    margin: 0;
    font-weight: 700;
    transition: font-size 0.4s ease;
}
.logo-sub {
    font-size: 12px;
    color: #374151f7;
    margin: 0;
    font-weight: 400;
    font-family: 'notosans-regular',sans-serif;
}
.navbar.scrolled .logo-main {
    font-size: 14px;
}
.navbar.scrolled .logo-sub {
    font-size: 0.7rem;
}

.fa-bars {
  font-size: 24px;
  color: #7a3b1e;
}

/* Navbar links and button */
.nav-link{
    font-size: 14px;
    color: #374151f7;
    font-family: 'notosans-regular',sans-serif;
    font-weight: 500;
} 
.nav-link:hover{
    color: #7a3b1e;
} 
.admin-btn {
    font-size: 14px;
    color: #fff !important;
    font-weight: 500;
    background-color: #7a3b1e;
    border-radius: 5px;
    padding: 5px 12px;
    text-decoration:none;
}

/* Banner Background */
.hero-banner {
  background-color: #7a2f12;
  color: #fff;
  padding: 80px 0;
  font-family: 'notosans-regular',sans-serif;
  border-bottom: 3px solid #d97706;
}

/* Text */
.hero-banner h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-banner p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Image */
.banner-img {
  max-width: 100%;
  height: auto;
}


.info-section {
  background-color: #fff;
  font-family: 'notosans-bold',sans-serif;
  border-bottom: 1px solid #e5e7eb;
}

/* Card */
.info-card {
  background: #fffbe8;
  border-radius: 14px;
  padding: 30px 20px;
  height: 100%;
  border: 1px solid #f1f1f1;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Icon box */
.info-card .icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background-color: #fff2c6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card .icon-box i {
  font-size: 26px;
  color: #e07b00;
}

/* Title */
.info-card h5 {
  font-size: 1.25rem;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #374151fc;
  font-family: 'notosans-bold',sans-serif;
}

/* Text */
.info-card p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  color: #1f2937;
  font-family: 'notosans-regular',sans-serif;
}




.history-section {
  background: #fffbe8;
  font-family: 'notosans-regular',sans-serif;
  border-bottom: 1px solid #e5e7eb;
}

.history-section .section-title{
    color: #7a3b1e;
    font-family: 'notosans-bold',sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}
/* Card box */
.history-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 22px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.history-box:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

/* Icon */
.history-box .icon-box {
  width: 48px;
  height: 48px;
  background: #fff2c6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.history-box .icon-box i {
  font-size: 20px;
  color: #e07b00;
}

/* Text */
.history-box h5 {
  font-weight: 700;
  margin-bottom: 6px;
  color: #8b2c00;
  font-family: 'notosans-bold',sans-serif;
  font-size: 16px;
}

.history-box p {
  margin: 0;
  line-height: 1.7;
  font-size: 14px;
  font-family: 'notosans-regular',sans-serif;
  color: #1f2937;
}
.history-box ul li {
  font-size: 14px;
  font-family: 'notosans-regular',sans-serif;
  color: #1f2937;
}

.temple-section {
  font-family: 'notosans-regular',sans-serif;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.section-title {
  font-family: 'notosans-bold',sans-serif;
  font-weight: 700;
  color: #8b2c00;
  font-size: 22px;
}

.section-sub {
  font-family: 'notosans-regular',sans-serif;
    font-size: 14px;
    color: #444;
}

.temple-card {
  background: #fff9e8;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
 transition: all 0.3s ease;
}

.temple-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.temple-body {
  padding: 20px 20px 0px 20px;
}

.temple-content-body {
    padding: 0px 20px 20px 20px;
}

.temple-title {
  font-family: 'notosans-bold',sans-serif;
  font-size: 14px;
  color: #7a2e00;
  font-weight: 700;
  margin-bottom: 10px;
}
.temple-sub-title{
    font-family: 'notosans-bold',sans-serif;
    font-size: 12px;
    color: #444;
    font-weight: 700;
    margin-bottom: 10px;
}

.location {
  font-family: 'notosans-bold',sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #444;
}
.location i{
    color: #7a2e00;
}

.temple-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#templeCarousel {
  background: #fff;
  padding: 0px;
  border-radius: 12px;
}

.carousel-inner {
  background: #fff;
}

.temple-body p{
  line-height: 1.8;
  font-family: 'notosans-regular',sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #444;
}

.temple-content-body p {
  line-height: 1.8;
  font-family: 'notosans-regular',sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #444;
}

.temple-content-body ul {
  padding-left: 18px;
}
.temple-content-body h6{
   font-family: 'notosans-regular',sans-serif;
  font-size: 14px;
  color: #7a2e00;
}

.temple-content-body li {
  margin-bottom: 6px;
  font-family: 'notosans-regular',sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #444;
}
.custom-arrow {
  width: 45px;
  height: 45px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.custom-arrow i {
  color: #fff;
  font-size: 24px;
}

.temple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-item.active{
  background-color: #ffffff !important;
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .temple-body {
    padding: 16px;
  }
  .temple-content-body {
    padding: 16px;
  }
}

.contact-section {
   background: #fffbe8;
   font-family: 'notosans-regular',sans-serif;
   border-bottom: 3px solid #7c2d12;
}

.section-heading {
  font-size: 20px;
  font-weight: 700;
  color: #8b2c00;
  font-family: 'notosans-bold',sans-serif;
}

/* Contact Card */
.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.contact-card .icon-box {
  width: 48px;
  height: 48px;
  background: #fff1c6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card .icon-box i {
  font-size: 20px;
  color: #e07b00;
}

.contact-content h5 {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'notosans-bold',sans-serif;
}

.contact-content p {
  margin: 0 0 6px;
  font-size: 14px;
  color: #555;
  font-family: 'notosans-regular',sans-serif;
}

.phone {
  font-weight: 700;
  font-size: 14px;
  color: #8b2c00;
  font-family: 'notosans-regular',sans-serif;
}

/* Link Cards */
.link-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.link-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}


.link-card i {
  font-size: 14px;
  color: #e07b00;
}

.link-card h6 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'notosans-bold',sans-serif;
}

.link-card a {
  font-size: 13px;
  color: #8b2c00;
  text-decoration: none;
  word-break: break-word;
  font-family: 'notosans-regular',sans-serif;
}

.link-card a:hover {
  text-decoration: underline;
}

.site-footer {
  background-color: #1f2b3a;
  color: #d7dce2;
  font-family: 'notosans-regular',sans-serif;
}

.footer-title {
  color: #ff8a00;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: 'notosans-bold',sans-serif;
}

.footer-text {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  font-family: 'notosans-regular',sans-serif;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #d7dce2;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'notosans-regular',sans-serif;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ff8a00;
}

.site-footer a {
  color: #d7dce2;
  text-decoration: none;
  font-family: 'notosans-regular',sans-serif;
  font-size: 14px;
}

.site-footer a:hover {
  color: #ff8a00;
}

.footer-divider {
  border-color: rgba(255,255,255,0.15);
  margin: 30px 0 20px;
}

.footer-bottom {
  font-family: 'notosans-regular',sans-serif;
  font-size: 14px;
  color: #b5bcc6;
}


/* Mobile */
@media (max-width: 768px) {
  .temple-card {
    flex-direction: column;
  }

  .temple-img,
  .temple-content {
    width: 100%;
  }

  .temple-img {
    height: 300px;
  }
}


/* Mobile adjustments */
@media (max-width: 576px) {
  .history-box {
    padding: 16px;
  }

  .history-box .icon-box {
    width: 42px;
    height: 42px;
  }

  .history-box h5 {
    font-size: 1.05rem;
  }

  .history-box p {
    font-size: 0.95rem;
  }
}



/* Desktop */
@media (min-width: 992px) {
  .hero-banner h1 {
    font-family: 'notosans-bold',sans-serif;
    letter-spacing: -.01em;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
  }

  .hero-banner p {
    font-size: 16px;
    font-family: 'notosans-regular',sans-serif;
  }
}

@media (max-width: 575.98px) {

  .info-card {
    padding: 22px 16px;          /* reduce padding */
    border-radius: 12px;
  }

  .info-card .icon-box {
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
  }

 .info-card .icon-box i {
    font-size: 20px;
  }

  .info-card h5 {
    font-size: 1.1rem;           /* smaller title */
    margin-bottom: 8px;
  }

  .info-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media (max-width: 991.98px) {

  .info-card {
    padding: 26px 18px;
  }

  .info-card .icon-box {
    width: 58px;
    height: 58px;
  }
}