﻿@font-face {
    font-family: 'Montreal';
   
    src: url('Montreal-Regular.ttf') format('truetype');
     
}
@font-face {
    font-family: 'Bright beauty';
   
    src: url('brightbeauty.otf') format('opentype');
     
}
@font-face {
    font-family: 'Desyrel';
   
    src: url('desyrel.ttf') format('truetype');
     
}
@font-face {
    font-family: 'Noto Sans Tamil';
   
    src: url('notosanstamil.ttf') format('truetype');
     
}

html {
  font-family: 'Noto Sans Tamil';
  
}


    body {font-family: 'Noto Sans Tamil';
      background-color: #fff;
      
      padding-top: 120px;
    }

    .navbar {
      background-color: #fcd900;
    }

    .navbar.fixed-top {
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand img {
      height: 40px;
    }

    .top-banner {
      position: fixed;
      top: 56px;
      width: 100%;
      background-color: #ff4141;
      color: white;
      text-align: center;
      padding: 5px 10px;
      z-index: 1040;
    }

    .top-banner span {
      font-weight: bold;
    }

    .station-card {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background-color: #fff;
      border: 2px solid #f00;
      border-radius: 15px;
      padding: 0;
      overflow: hidden;
      margin-bottom: 20px;
      text-align: center;
      transition: transform 0.3s;
    }

    .station-card:hover {
      transform: scale(1.02);
    }

    .station-card img {
      width: 100%;
      max-width: 150px;
      height: auto;
      margin: 0 auto;
    }
    .station-card-meta {
      width: 100%;
      max-width: 100%;
      height: auto;
      margin: 0 auto;
    }
    .custom-player {
  background: #000;
  padding: 10px;
  border-radius: 0 0 15px 15px;
}

.mejs__container {
  width: 100% !important;
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
}

    footer {
      background-color: #fcd900;
      text-align: center;
      padding: 20px 0;
      margin-top: 40px;
    }

    #about, #contact {
      padding: 40px 0;
    }



.station-card {
  min-height: 100%;
}

.substation-col {
    width: 20%;
    padding: 0 10px;
  }

  @media (max-width: 991px) {
    .substation-col {
      width: 50%; /* 2 per row on tablets */
      margin-bottom: 20px;
    }
  }

  @media (max-width: 575px) {
    .substation-col {
      width: 100%; /* 1 per row on mobiles */
    }
  }

/*scrill text*/
.scrolling-banner {
  overflow: hidden;
  white-space: nowrap;
  background: #000; /* optional background */
  padding: 20px 0;
}

.scroll-text {
  display: inline-block;
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 6rem); /* responsive font size */
  background: linear-gradient(to right, #005A9C, #FF0000, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* Shared styles */
.scrolling-banner {
  width: 100%;
  overflow: hidden;
  background: #fff;
border: 0px solid #9f9f9f; /* width, style, and color */
  padding: 0;
}

.scroll-track {
  display: flex;
  width: fit-content;
}

.scroll-track span {
  font-size: clamp(1rem, 3vw, 5rem);
  font-weight: 300;
  padding-right: 3rem;
  white-space: nowrap;
  background: linear-gradient(to right, #005A9C, #FF0000, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Right to Left */
.scroll-left .scroll-track {
  animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Left to Right */
.scroll-right .scroll-track {
  animation: scroll-right 15s linear infinite;
}

@keyframes scroll-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}


/* PSA Ads */
.psa-title {
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #005A9C;
  border-bottom: 3px solid #fcd900;
  display: inline-block;
  padding-bottom: 8px;
}

.carousel .carousel-item img {
  transition: opacity 1s ease-in-out;
  object-fit: cover;
}
