@import url('https://fonts.googleapis.com/css2?family=Anek+Malayalam:wdth,wght@75.7,100..800&family=Open+Sans:ital,wght@0,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anek+Malayalam:wdth,wght@75.7,100..800&family=Noto+Sans+Malayalam:wght@100..900&family=Noto+Serif+Malayalam:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Saira:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Akaya+Kanadaka&display=swap');

.akaya-kanadaka-regular {
  font-family: "Akaya Kanadaka", system-ui;
  font-weight: 400;
  font-style: normal;
}

.saira {
  font-family: "Saira", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:"wdth" 100;
  letter-spacing: 3px;
}

.anek-malayalam {
  font-family: "Anek Malayalam", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:"wdth" 80.7;
  letter-spacing: 2px;
}

.noto-sans-malayalam {
  font-family: "Noto Sans Malayalam", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 28px;
}
/*-------------------*/

body {
    font-family: 'Segoe UI', sans-serif;
}
/*-----------------------*/
.mr_t-20{ margin-top:20px; }
.t_cntr{ text-align:center; }
.fsub_size{ font-size:20px; }
.bg-dark { background-color: #2B5B3F!important;}
.navbar-brand img { margin-right: 10px;}
.call_nav{ font-size: 15px; }

.carousel-caption {
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 10px;
}
.card img {
    height: 200px;
    object-fit: cover;
}
footer h5 {
    margin-bottom: 15px;
}
.carousel-item img {
    height: 500px;       /* Fixed height for banners */
    object-fit: cover;   /* Keeps the image from stretching */
}

.navbar-nav .nav-link {
    padding: 8px 15px;
    border-radius: 8px; /* Rounded corners */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: #faa924; /* Bootstrap primary color */
    color: #000; /* Text color on hover */
}



/* Match Top Contact Nav with Main Nav */
.top-contact-nav {
    background-color: #faa924; /* Same as main nav */
    color: #fff;
    padding: 5px 0;
    font-size: 14px;
}

.top-contact-nav .social-icons a {
    color: #fff;
    margin-left: 10px;
    font-size: 15px;
    text-decoration: none;
}

.top-contact-nav .social-icons a:hover {
    color: #ffd700; /* Gold hover effect */
}

/* Main Navigation */
.main-nav {
    background-color: #007bff; /* Matching color */
}

/*----table_midd-----*/
.schedule-box table {
    width: 100%;
    background-color: #fff;
}

.schedule-box th {
    background-color: #f8f9fa;
    font-weight: bold;
    /*text-align: left;*/
}

.schedule-box .highlight {
    background-color: #fff0d9; /* Light yellow */
}

.schedule-box td, .schedule-box th {
    padding: 6px;
    font-size: 17px;
}

@media (max-width: 768px) {
    .schedule-box table {
        font-size: 14px;
    }
}


/*for video landing page ------*/

.card iframe {
    border-radius: 8px 8px 0 0;
}

.card {
    /*border-radius: 10px;*/
    transition: transform 0.3s ease;
}

/*.card:hover {
    transform: scale(1.03);
}*/

.card { 
    --bs-card-border-color:none ; 
    --bs-card-border-radius:none ; 
    --bs-card-inner-border-radius:none ; 
    background-color: none; }



/*----------commnnn-------*/
.br10 {border-radius: 10px;}
.t_colr1 {color: #be0340;}
.b_margn {margin: 0 0 15px 0!important; }

/*---footer----*/
.footer {
  background: #222;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  font-family: Arial, sans-serif;
}

.footer-left {
  font-size: 14px;
}

.footer-right .social-icon {
  margin-left: 15px;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-right .social-icon:hover {
  color: #f00;
  transform: scale(1.2);
}

/* Blast text style */
.blast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-size: 36px;
  font-weight: bold;
  text-shadow: 2px 2px 10px #000;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/*----onpageload-----
 .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }
*/
    /* Popup window 
    .popup {
        background: #fff;
        border-radius: 15px;
        width: 90%;
        max-width: 700px;
        display: flex;
        flex-direction: row;
        overflow: hidden;
        position: relative;
    }*/

    /* Close button 
    .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        font-weight: bold;
        color: #333;
        cursor: pointer;
    }*/

    /* Split sections 
    .popup-left, .popup-right {
        flex: 1;
        padding: 20px;
    }

    .popup-left {
        background: #f7f7f7;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: bold;
    }

    .popup-right {
        background: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 16px;
    }

    @media (max-width: 600px) {
        .popup {
            flex-direction: column;
        }
    }*/
/*-----------------------------------------------------------------*/
    
/*=================== Pop up onloading ========================*/
body {
  font-family: "Poppins", sans-serif;
  background: #f6f8fb;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.page-content {
  padding: 50px;
  text-align: center;
}
.lead {
  color: #666;
  font-size: 1.1rem;
}
.backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal {
  background: #fff;
  border-radius: 16px;
  width: 80%;
  height: 375px;
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff4757;
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}
.close-btn:hover {
  background: #ff6b81;
}
.left, .right {
  flex: 1;
  min-width: 300px;
  padding: 21px;
  box-sizing: border-box;
}
.year-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}
.year-display {
  font-size: 80px;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(135deg, #ff7eb3, #ff758c, #ffa94d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}
.video-head h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}
.hint {
  font-size: 0.9rem;
  color: #777;
}
.video-wrap iframe {
  width: 100%;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .modal {
    flex-direction: column;
    width: 90%;
  }
  .year-display {
    font-size: 60px;
  }
}
/*=====================================================*/

/*============= subpage ===============================*/
    .detl { width:100%; }
    .detl p { text-align:justify; }

    .subpage-banner {
    width: 100%;
    height: 250px; /* Short height */
    background: url('about-us.jpg') no-repeat center center;
    background-size: cover;
}

/*for_upadevatha ----------*/
  .wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    background: #fff;
    padding: clamp(1rem, 2.5vw, 2rem);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
  }

  /* Image floated left with text wrap */
  .media {
    margin: 0 0 var(--gap);
  }

  .media img {
    float: left;
    width: min(226px, 40%);
    height: auto;
    margin: 0 var(--gap) var(--gap) 0;
    border-radius: 13px;
    display: block;
    margin: 0 8px 0 0;
  }

  .media h2 {
    margin: 0 0 .25rem;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  }

  .media p {
    margin: 0 0 1rem;
    text-align: justify;
  }

  /* Clear float after the wrapping paragraph(s) */
  .media::after {
    content: "";
    display: table;
    clear: both;
  }

  /* Small screens: stack image above text  */
  @media (max-width: 600px) {
    .media img {
      float: none;
      width: 100%;
      margin: 0 0 var(--gap) 0;
    }
    .media p {
      text-align: left;
    }
  }



  /*---- gallery -----*/
  /* Gallery images */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery-img:hover {
    transform: scale(1.05);
}

/* Lightbox */
/* Gallery images */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery-img:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}
.lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

/* Navigation buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 40px;
    padding: 10px;
    cursor: pointer;
    border-radius: 14%;
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/*------ members -------*/
.members-tbl { margin:0 auto; margin-top: 23px; }
.members-tbl tbody tr td { text-align: center; 
    background: #d2d2d254; border: 1px solid #00000029;
    padding: 3px 5px 3px 5px;
} 


/* contact  */

.contact-section {
  position: relative;
  background: url('images/map.jpg') no-repeat center center;
  background-size: cover;
  padding: 60px 20px;
  color: #333;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.map-container {
  flex: 1 1 300px;
  max-width: 400px;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1/1; /* Circle shape */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.details {
  flex: 1 1 300px;
  text-align: left;
}

.details h4 {
  color: #0066cc;
  margin-bottom: 10px;
}

.details p {
  margin: 5px 0;
}

.details a {
  color: #333;
  text-decoration: none;
}

.details a:hover {
  color: #d40000;
}

.social-icons_b {
  margin-top: 10px;
}

.social-icons_b a {
  display: inline-block;
  margin: 0 8px;
  font-size: 20px;
  color: #0066cc;
  border: 2px solid #0066cc;
  padding: 7px 12px;
  width: 50px;
  height: 50px;
  border-radius: 25%;
  transition: all 0.3s;
}

.social-icons_b a:hover {
  background: #0066cc;
  color: #fff;
}


.vishesha_divasangal{}
.vishesha_divasangal img{ width:100%; }
.popuph_d{ letter-spacing: 4px; }

.table-striped tbody th { visibility:none; }

.video_bg{ background:#f1f1f1; }
.sub_hed{ 
    font-family: "Akaya Kanadaka", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    color: #034fd6;
    text-shadow: 2px 0px 0px #797d841f;
}