/* Font family   */
@font-face {
  font-family: 'Roboto';
  src: url('../font/Roboto/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('../font/Roboto/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* Define Roboto Medium */
@font-face {
  font-family: 'Roboto';
  src: url('../font/Roboto/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* Define Roboto Bold */
@font-face {
  font-family: 'Roboto';
  src: url('../font/Roboto/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* Taviraj */
@font-face {
  font-family: 'Taviraj';
  src: url('../font/Taviraj/Taviraj-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Taviraj';
  src: url('../font/Taviraj/Taviraj-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* Poppins */
@font-face {
  font-family: 'Poppins';
  src: url('../font/Poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../font/Poppins/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* Poppins */
@font-face {
  font-family: 'Poppins';
  src: url('../font/Poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* Custom CSS */
.d-flex{display: flex;}
.flex-direction{flex-direction: column;}
.mt-3{margin-top: 30px;}
.mb-3{margin-bottom: 30px;}
.position-relative{position: relative;}
.position-absolute{position: absolute;}
.d-block{display: block;}
.d-none{display: none;}
.width100{width: 100%;display: block;}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {-webkit-appearance: none;margin: 0;}

/* Firefox */
input[type=number] {-moz-appearance: textfield;}

/* CSS Reset */
*{margin: 0;padding: 0;box-sizing: border-box;}
body {font-family: 'Roboto', sans-serif;}
html {scroll-behavior: smooth;}
h1, h2, a {font-family: 'Roboto', sans-serif;}
a{text-decoration: none;}
ul li{list-style: none;padding: 0;margin: 0;}
div{box-sizing: border-box;}

/* Custom container */
.container-fluid{width: 100%;}
.container {width: 100%;max-width: 1120px;margin: 0 auto;padding: 0 15px;}
.mt-2{margin-top: 20px;}
.DhanterasTbl.pb-5{padding-bottom: 5px;}

/* Header styling */
header {background-color: #ffffff;position: sticky;top: 0;z-index: 3;box-shadow: 0 2px 5px rgba(0,0,0,0.1);}
.header-top{display: flex;align-items: center;justify-content: space-between;padding: 12px 0;}


/* Carousel */
.carousel {position: relative;width: 100%;overflow: hidden;}
.slides {display: flex;transition: transform 1s ease-in-out;}
.slide {min-width: 100%;}
.slide img {width: 100%;object-fit: cover;object-position: center;display: block;}
/* Arrows */
.arrow {position: absolute;top: 50%;transform: translateY(-50%);font-size: 16px;color: #fff;background: rgba(0, 0, 0, 0.4);border-radius: 30%;padding: 5px 12px;cursor: pointer;user-select: none;transition: background 0.3s, transform 0.3s;z-index: 1;}
.arrow:hover {background: rgba(202, 143, 43, 0.8);transform: translateY(-50%) scale(1.1);}
.prev {left: 15px;}
.next {right: 15px;}
.slide img.mobile-only{
  display: none;
}
/* Glowing Diwali Border */
.carousel::before {content: "";position: absolute;top: -4px;left: -4px;right: -4px;bottom: -4px;z-index: -1;filter: blur(15px);animation: glow 3s infinite linear;}
@keyframes glow {
  0% {opacity: 0.5;}
  50% {opacity: 1;}
  100% {opacity: 0.5;}
}

/* main body */
main{background-image: url('../images/body-bg.svg');background-repeat: repeat;background-size: contain;background-position: top;}

/* Celebrations */
.celebrations .container .invest{justify-content: space-between;padding-bottom: 60px;}
.celebrations .invest .details{padding-top: 60px;text-align: center;}
.celebrations .invest .details h5{font-size: 45px;font-weight: 400;color: #333333;font-family: 'Taviraj', serif;line-height: 1.2;margin-bottom: 10px;}
.celebrations .invest .details p{font-family: 'Poppins', sans-serif;font-size: 20px;font-weight: 500;}
.celebrations .invest img{width: 135px;animation: swing 3s ease-in-out infinite alternate;transform-origin: top center;}
@keyframes swing {
  0% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}

/* diwaliFestivalSec */
.diwaliFestivalSec{padding-bottom: 80px;}
.diwaliFestivalSec .festivalinfo{display: flex;align-items: center;gap: 30px;}
.diwaliFestivalSec .festivalinfo .img, .diwaliFestivalSec .festivalinfo .infodetails{width: 50%;}
.diwaliFestivalSec .festivalinfo img{width: 100%;animation: float 3s ease-in-out infinite;}
@keyframes float  {
   0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}
.diwaliFestivalSec .festivalinfo h5{font-size: 60px;font-weight: 400;font-family: 'Taviraj', serif;line-height: 1.2;vertical-align: middle;color: #333333;padding-bottom: 30px;}
.diwaliFestivalSec .festivalinfo span{font-size: 27px;font-weight: 600;}
.diwaliFestivalSec .festivalinfo .infodetails .d-block{font-size: 26px;font-weight: 600;}
.diwaliFestivalSec .festivalinfo .infodetails .time{padding-top: 5px;}
.marketOpen{padding-top: 15px;}
.diwaliFestivalSec .festivalinfo p{font-size: 26px;font-weight: 500;font-family: 'Poppins', sans-serif;color: #333333;}

/* Top Picks */
.topPicks{padding-bottom: 80px;}
.topPicks h3{font-family: 'Taviraj', serif;font-size: 29px;font-weight: 600;padding-bottom: 5px;color: #333333;}
.DhanterasTbl{overflow: auto;width: 100%;white-space: nowrap;}
.DhanterasTbl table{width: 100%;border-collapse: collapse;box-sizing: border-box;font-family: 'Poppins', sans-serif;margin-bottom: 15px;}
.DhanterasTbl table th, .DhanterasTbl table td{vertical-align: middle;color: #FFFFFF;font-size: 18px;font-weight: 500;padding: 10px;text-align: center;border-right: 1px solid #FFFFFF;}
.DhanterasTbl table td{color: #333333;}
.DhanterasTbl table tr:first-child th{background: #2C2B6A;}
.DhanterasTbl table tr:nth-child(2) th{background: #4B4A88;}
.DhanterasTbl table tr th:first-child, .DhanterasTbl table tr td:first-child{text-align: left;}
.DhanterasTbl table tr:nth-child(odd) {background: #F9E3C0;}
.DhanterasTbl table tr:nth-child(even) {background: #FFF0D9;}
.DhanterasTbl table td a{color: #FFFFFF;font-size: 16px;font-weight: 700;padding: 8px 24px;background: #1F921B;border-radius: 6px;}
.DhanterasTbl .source{font-size: 12px;font-weight: 500;color: #333333;}
/* Main menu End */

/* Footer */
.footerSec .downloadReport{background: #FFF0D9;padding: 30px 15px;}
.footerSec .copyright{background: #2C2B6A;padding: 15px;}
.footerSec .container.d-flex{align-items: center;justify-content: center;gap: 30px;font-family: 'Roboto', sans-serif;flex-wrap: wrap;}
.footerSec p{color: #333333;font-size: 16px;font-weight: 400;}
.footerSec .downloadReport a{padding: 10px 30px;background: #2C2B6A;color: #FFFFFF;border-radius: 8px;}
.footerSec .copyright p{color: #ffffff;}
.footerSec .copyright a{color: #FFFFFF;font-size: 16px;}



@media (max-width: 991px) {
  .diwaliFestivalSec .festivalinfo{flex-wrap: wrap;justify-content: center;}
  .diwaliFestivalSec .festivalinfo .img, .diwaliFestivalSec .festivalinfo .infodetails{width: 100%;text-align: center;}
  .diwaliFestivalSec .festivalinfo img {max-width: 400px;}
  .footerSec p{text-align: center;}
  .slide img.desktop-only{display: none;}
  .slide img.mobile-only{display: block;}
}

@media (max-width: 768px) {
  /* comman css */
  .logo img {width: 180px;vertical-align: middle;}
  .header-top {align-items: center;}
  .header-top img{width: 180px;}
  .celebrations .invest .details h5{font-size: 25px;}
  .celebrations .invest .details p{font-size: 14px;}
  .celebrations .invest img{width: 90px;}

  .arrow {font-size: 14px;}
  .prev {left: 10px;}
  .next {right: 10px;}
}

@media (max-width: 576px){
  /* celebrations */
  .celebrations .invest .details h5{font-size: 20px;}
  .celebrations .invest .details p{font-size: 14px;}
  .celebrations .invest img{width: 60px;}
  .celebrations .container .invest, .diwaliFestivalSec, .topPicks{padding-bottom: 30px;}

  /* diwaliFestivalSec */
  .diwaliFestivalSec .festivalinfo img{max-width: 250px;}

  /* DhanterasTbl */
  .DhanterasTbl table th, .DhanterasTbl table td{font-size: 14px;}
  .DhanterasTbl table td a{font-size: 14px;}

  /* diwaliFestivalSec */
  .diwaliFestivalSec .festivalinfo h5{font-size: 24px;padding-bottom: 0;}
  .diwaliFestivalSec .festivalinfo span{font-size: 16px;}
  .diwaliFestivalSec .festivalinfo .infodetails .d-block{font-size: 14px;}
  .diwaliFestivalSec .festivalinfo p{font-size: 14px;padding-top: 15px;}

  .DhanterasTbl .source{font-size: 14px;}

  .footerSec p{font-size: 14px;}
  .footerSec .copyright a{font-size: 14px;}
}

@media (max-width: 400px){
  /* celebrations */
  .celebrations .invest .details h5{font-size: 17px;}
  .celebrations .invest .details p{font-size: 10px;}
  .celebrations .invest img{width: 60px;}
  .celebrations .invest .details{padding-top: 30px;}
  
  /* topPicks */
  .topPicks h3{font-size: 18px;}
}