:root {
            --brand-orange: #f39200;
            --news-dark: #111111;
            --news-gray: #333333;
            --news-light-gray: #f8f9fa;
        }

        body {
            font-family: 'Roboto', sans-serif;
            background-color: #fff;
            color: #333;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* Top Header */
        .top-bar {
            background-color: var(--news-dark);
            color: white;
            padding: 15px 0;
            border-bottom: 3px solid var(--brand-orange);
        }

        .top-bar .logo-text {
            font-weight: 900;
            font-size: 1.8rem;
            letter-spacing: -1px;
            text-transform: uppercase;
        }

        .top-bar .logo-text span { color: var(--brand-orange); }

        .auth-links a {
            color: #ccc;
            text-decoration: none;
            font-size: 0.85rem;
            margin-left: 20px;
            transition: 0.3s;
        }

        .auth-links a:hover { color: var(--brand-orange); }

        /* Breaking News Ticker */
        .news-ticker {
            background: #f8f8f8;
            border-bottom: 1px solid #ddd;
            padding: 10px 0;
            overflow: hidden;
            white-space: nowrap;
        }

        .ticker-label {
            background: var(--brand-orange);
            color: white;
            padding: 2px 15px;
            font-weight: bold;
            display: inline-block;
            margin-right: 15px;
        }

        .ticker-content {
            display: inline-block;
            animation: ticker 35s linear infinite;
            font-size: 0.9rem;
            font-weight: bold;
        }

        @keyframes ticker {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

   /* NAVBAR */
.main-nav{
  background:#fff;
  box-shadow:0 2px 5px rgba(0,0,0,0.05);
}

/* NAV LINKS */
.nav-link{
  font-weight:700;
  font-size:0.85rem;
  text-transform:uppercase;
  padding:15px 18px !important;
  border-right:1px solid #eee;
  color:#333 !important;
}

.nav-link:hover,
.nav-link.active{
  background:#fafafa;
}

/* DROPDOWNS */
.dropdown-menu{
  border:none;
  border-radius:6px;
}

.dropdown-item{
  font-weight:600;
  font-size:0.85rem;
  padding:10px 16px;
}

.dropdown-item:hover{
  background:#f5f5f5;
}

/* TENDER */
.tender-link{
  font-weight:800;
}

/* MORE BUTTON */
.more-btn{
  border-left:1px solid #eee;
}

/* MOBILE TOGGLE */
.menu-toggle{
  width:100%;
  font-weight:700;
  background:#fff;
  box-shadow:0 2px 5px rgba(0,0,0,0.05);
}

/* MOBILE MENU */
.mobile-menu{
  width:300px;
}

.mobile-nav{
  list-style:none;
  padding:0;
}

.mobile-nav li a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 10px;
  font-weight:700;
  font-size:0.9rem;
  color:#333;
  text-decoration:none;
  border-bottom:1px solid #eee;
}

.mobile-nav li a:hover{
  background:#fafafa;
}

.menu-title{
  font-size:0.75rem;
  font-weight:800;
  text-transform:uppercase;
  color:#777;
  margin:10px 0;
}
/* ===== RIGHT PANEL ===== */
.more-panel{
  position:fixed;
  top:0;
  right:-340px;
  width:340px;
  height:100vh;
  background:#fff;
  box-shadow:-4px 0 15px rgba(0,0,0,0.08);
  z-index:1055;
  transition:0.35s ease;
  display:flex;
  flex-direction:column;
}

.more-panel.active{
  right:0;
}

/* HEADER */
.more-header{
  padding:16px 20px;
  border-bottom:1px solid #eee;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* BODY */
.more-body{
  padding:12px 10px;
}

.more-body a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 12px;
  font-weight:700;
  font-size:0.9rem;
  color:#333;
  text-decoration:none;
  border-radius:6px;
}

.more-body a:hover{
  background:#fafafa;
}

/* OVERLAY */
.more-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.15);
  opacity:0;
  visibility:hidden;
  transition:.3s;
  z-index:1050;
}

.more-overlay.active{
  opacity:1;
  visibility:visible;
}

/* DESKTOP ONLY */
@media(max-width:991px){
  .more-panel,
  .more-overlay{
    display:none;
  }
}
/* NORMALIZE DROPDOWN TO MATCH NAV */
.dropdown-toggle::after{
  display:none;
}

.dropdown-toggle{
  font-weight:700 !important;
  font-size:0.85rem !important;
  text-transform:uppercase;
  letter-spacing:0.3px;
}
.more-btn{
  cursor:pointer;
  position:relative;
}

.more-btn:hover{
  background:#fafafa;
}

.more-btn:active{
  background:#f2f2f2;
}
.panel-group-title{
  font-size:0.7rem;
  font-weight:800;
  letter-spacing:1px;
  color:#777;
  text-transform:uppercase;
  margin:12px 12px 6px;
}


/* IMPORTANT: allow shadow */
.hero-img-box .carousel-inner {
    overflow: visible;
}

/* Image style */
.hero-img-box img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 15px 15px 0 var(--brand-orange);
}

/* Smooth fade tuning */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}



        /* Middle Info Bar */
        .middle-info {
            background-color: var(--news-gray);
            color: white;
            padding: 50px 0;
        }

        .middle-card {
            border-left: 4px solid var(--brand-orange);
            padding-left: 20px;
            display: flex;
            align-items: flex-start;
            gap: 20px;
        }

        .middle-card i {
            font-size: 2.5rem;
            color: #888;
        }

        .middle-card h3 {
            font-size: 1.4rem;
            font-weight: 800;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        /* Grid Sections */
        .bottom-grid { padding: 80px 0; }
        .grid-col h4 {
            font-weight: 900;
            text-transform: uppercase;
            border-bottom: 2px solid #333;
            padding-bottom: 10px;
            margin-bottom: 20px;
            font-size: 1.1rem;
        }

        .grid-col h4 i { color: var(--brand-orange); margin-right: 10px; }
        .news-list { list-style: none; padding: 0; }
        .news-list li { padding: 12px 0; border-bottom: 1px dotted #ccc; font-size: 0.9rem; }
        .date-tag { color: var(--brand-orange); font-weight: bold; display: block; font-size: 0.75rem; }

        .btn-read {
            background: var(--news-dark);
            color: white;
            border: none;
            font-size: 0.75rem;
            padding: 8px 18px;
            font-weight: bold;
            text-transform: uppercase;
            margin-top: 15px;
            transition: 0.3s;
        }
        .btn-read:hover { background: var(--brand-orange); }

        /* Page Transitions */
        .page-content { display: none; }
        .page-content.active { display: block; animation: fadeIn 0.4s; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        /* Page Header */
        .inner-header {
            background: var(--news-dark);
            color: white;
            padding: 40px 0;
            border-bottom: 5px solid var(--brand-orange);
            margin-bottom: 40px;
        }

        footer {
            background: var(--news-dark);
            color: #888;
            padding: 40px 0;
            font-size: 0.8rem;
            border-top: 5px solid var(--news-gray);
            margin-top: auto;
        }

        .footer-links a { color: #888; text-decoration: none; margin-left: 20px; font-weight: bold; }
        .footer-links a:hover { color: white; }

        /* Forms */
        .form-control { border-radius: 0; border: 1px solid #ddd; padding: 12px; }
        .form-control:focus { border-color: var(--brand-orange); box-shadow: none; }

        @media (max-width: 991px) {
            .hero-title { font-size: 2rem; }
            .nav-link { border: none; border-bottom: 1px solid #eee; }
            .middle-card { margin-bottom: 30px; }
        }
		    .brand-logo{
      width:40px;height:40px;
      border-radius:50%;
      overflow:hidden;
    }
    .brand-logo img{
      width:100%;height:100%;
      object-fit:fill;
    }

    .brand-logo1{
      width:100px;height:46px;
      overflow:hidden;
    }
    .brand-logo1 img{
      width:100%;height:100%;
      object-fit:fill;
    }
	
	
	.brand-wrap {
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* DROPDOWN ITEMS */
.gov-dropdown-menu .dropdown-item {
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.gov-dropdown-menu .dropdown-item i {
    color: #f39200;
    min-width: 18px;
}

.gov-dropdown-menu .dropdown-item:hover {
    background: #f3f3f3;
    padding-left: 22px;
}

 

/* DESKTOP HOVER */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
}
/* Caption container */
.custom-caption {
    bottom: 20px;
    text-align: left;
    left: 20px;
    right: auto;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 6px;
    max-width: fit-content;
}

/* Caption text */
.custom-caption h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}

/* Mobile adjustment */
@media (max-width: 767px) {
    .custom-caption {
        bottom: 10px;
        left: 10px;
        padding: 8px 12px;
    }

    .custom-caption h4 {
        font-size: 14px;
    }
}
/* Position controls */
#servicesCarousel .custom-control {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

/* Left & Right positioning */
#servicesCarousel .carousel-control-prev {
    left: -20px;
}

#servicesCarousel .carousel-control-next {
    right: -20px;
}

/* Icon style */
#servicesCarousel .custom-control i {
    color: #ffffff;           /* WHITE ICON */
    font-size: 18px;
}

/* Hover effect */
#servicesCarousel .custom-control:hover {
    background: var(--brand-orange);
}

/* Mobile adjustment */
@media (max-width: 767px) {
    #servicesCarousel .carousel-control-prev {
        left: 5px;
    }

    #servicesCarousel .carousel-control-next {
        right: 5px;
    }
}

/* ===== GOV BUTTON STYLE ===== */
.gov-service-card .btn{
  font-weight:800;
  border-radius:999px;
  padding:7px 14px;
  font-size:13px;
}

.gov-service-card .btn-primary{
  background:#f39200;
  border-color:#f39200;
}

.gov-service-card .btn-primary:hover{
  background:#083b6c;
  border-color:#083b6c;
}
.gov-media-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.gov-badge{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  background:#fff3cd;
  color:#8a5b00;
  border:1px solid #ffe69c;
  letter-spacing:0.4px;
}

.gov-media-title{
  font-weight:900;
  color:#0b2032;
  margin-top:10px;
}

.gov-media-sub{
  max-width:720px;
  color:#555;
  font-size:14px;
  line-height:1.6;
}

/* Tabs */
.gov-media-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.gov-tab{
  border:1px solid rgba(10,74,134,0.18);
  background:#fff;
  color:#f39200;
  font-size:13px;
  font-weight:900;
  padding:9px 14px;
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:8px;
  transition:0.2s ease;
  box-shadow:0 8px 18px rgba(0,0,0,0.05);
  cursor:pointer;
}

.gov-tab i{
  font-size:14px;
}

.gov-tab:hover{
  background:#f39200;
  color:#fff;
  border-color:#f39200;
}

.gov-tab.active{
  background:#f39200;
  color:#fff;
  border-color:#f39200;
}

/* Panels */
.tab-panel{
  display:none;
}
.tab-panel.active{
  display:block;
}

/* Cards */
.gov-media-card{
  background:#fff;
  border:1px solid #e9ecef;
  border-radius:16px;
  padding:18px;
  box-shadow:0 12px 28px rgba(0,0,0,0.06);
  height:100%;
  transition:0.25s ease;
  position:relative;
  overflow:hidden;
}

.gov-media-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg, #f39200, #f1b800);
  opacity:0.9;
}

.gov-media-card:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 45px rgba(0,0,0,0.12);
  border-color:rgba(10,74,134,0.25);
}

.gov-media-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  color:#6c757d;
  font-size:12px;
  font-weight:800;
  margin-bottom:10px;
  padding-top:6px;
}

.gov-pill{
  display:inline-block;
  padding:4px 10px;
  font-size:11px;
  font-weight:900;
  border-radius:999px;
  background:#f2f6ff;
  color:#f39200;
  border:1px solid rgba(10,74,134,0.15);
}

.gov-media-card h5{
  font-weight:900;
  color:#0b2032;
  font-size:16px;
  margin-bottom:8px;
}

.gov-media-card p{
  color:#555;
  font-size:13px;
  line-height:1.55;
  margin-bottom:12px;
}

.gov-media-link{
  font-weight:900;
  font-size:13px;
  color:#f39200;
  text-decoration:none;
}

.gov-media-link:hover{
  text-decoration:underline;
}

.gov-more-btn{
  font-size:13px;
  font-weight:800;
  padding:7px 16px;
  border-radius:999px;
  border:1px solid rgba(10,74,134,0.35);
  background:#fff;
  color:#f39200;
  transition:0.2s ease;
  box-shadow:0 6px 18px rgba(0,0,0,0.05);
}

.gov-more-btn:hover{
  background:#f39200;
  color:#fff;
  border-color:#f39200;
}

.gov-more-btn i{
  font-size:12px;
}
    .notice-box, .events-box{
      border:1px solid #eee;
      border-radius:18px;
      background:#fff;
      box-shadow:0 12px 30px rgba(0,0,0,0.06);
      overflow:hidden;
      height:100%;
    }
    .box-head{
      background:#f7fbff;
      padding:14px 16px;
      display:flex;
      justify-content:space-between;
      align-items:center;
      border-bottom:1px solid #eee;
    }
    .box-head h3{
      font-size:16px;
      color:#0b2032;
      margin:0;
    }
    .box-head a{
      font-size:13px;
      font-weight:700;
      text-decoration:none;
      color:var(--primary);
    }
    .list{
      padding:14px 16px;
    }
    .list-item{
      padding:10px 0;
      border-bottom:1px dashed #e9e9e9;
    }
    .list-item:last-child{border-bottom:none;}
    .list-item small{
      display:block;
      color:#888;
      margin-bottom:6px;
    }
    .list-item strong{
      color:#0b2032;
      font-size:14px;
    }
	/* Section */
.gov-updates-section {
    background: #f8f9fa;
}

/* Card */
.gov-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Header */
.box-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.box-head h3 {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-all {
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: var(--brand-orange);
}

/* News list */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-item {
    padding-left: 14px;
    border-left: 3px solid var(--brand-orange);
}

.news-item small {
    color: #777;
    font-size: 13px;
}

.news-item p {
    margin: 4px 0 0;
    font-weight: 600;
    font-size: 15px;
    color: #222;
}

/* Collaboration logos */
.collab-logos {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
    margin-top: 10px;
}

.collab-logos img {
    max-height: 60px;
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s ease;
}

.collab-logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Mobile tweaks */
@media (max-width: 767px) {
    .box-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .collab-logos {
        justify-content: center;
        flex-wrap: wrap;
    }
}
.gov-media-title { font-size: 28px; font-weight: 800; }
.gov-media-sub { color: #6c757d; max-width: 720px; }

.gov-tab {
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}
.gov-tab.active {
  background: var(--brand-orange);
  color: #fff;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.gov-media-card, .gov-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.section-divider {
  text-align: start;
  margin: 25px 0;
}
.section-divider span {
  width: 80px;
  height: 4px;
  background: var(--brand-orange);
  display: inline-block;
}

.news-item {
  border-left: 3px solid var(--brand-orange);
  padding-left: 12px;
  margin-bottom: 14px;
}

.collab-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.collab-logos img {
  max-height: 60px;
  filter: grayscale(100%);
}
.collab-logos img:hover {
  filter: grayscale(0%);
}
.apnrts-footer {
    background: linear-gradient(135deg, #0b1d33, #071426);
    color: #ffffff;
    font-size: 14px;
}

.footer-brand img {
    max-width: 160px;
    background: #fff;
    padding: 6px;
    border-radius: 6px;
}

.footer-brand p {
    color: #cfd6df;
    line-height: 1.6;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.footer-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--brand-orange);
    margin-top: 6px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cfd6df;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--brand-orange);
    padding-left: 5px;
}

.footer-contact {
    color: #cfd6df;
    line-height: 1.6;
}

.footer-social {
    margin-top: 15px;
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--brand-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #06101d;
    padding: 15px 0;
    font-size: 13px;
    color: #cfd6df;
}
/* Collaboration grid */
.collab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 15px;
}

/* Each item */
.collab-item {
    text-align: center;
    padding: 12px 10px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    transition: 0.3s ease;
}

/* Logo image */
.collab-item img {
    max-height: 55px;
    max-width: 120px;
    object-fit: contain;
    filter: none;              /* IMPORTANT: no black & white */
}

/* Title */
.collab-item span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* Hover effect */
.collab-item:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* Mobile */
@media (max-width: 575px) {
    .collab-grid {
        grid-template-columns: 1fr;
    }
}
/* Scroller container */
.news-scroller {
    height: 260px;               /* visible height */
    overflow: hidden;
    position: relative;
}

/* Animated list */
.news-list-scroll {
    display: flex;
    flex-direction: column;
    animation: scrollUp 25s linear infinite;
}

/* Pause on hover */
.news-scroller:hover .news-list-scroll {
    animation-play-state: paused;
}

/* News item style */
.news-item {
    padding: 10px 0 10px 14px;
    border-left: 3px solid var(--brand-orange);
    margin-bottom: 12px;
}

.news-item small {
    color: #6c757d;
    font-size: 13px;
}

.news-item p {
    margin: 4px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

/* Smooth scroll animation */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}
.apnrts-stats {
  background: var(--news-gray);
}

.stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 35px 20px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform .3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
}

.stat-card i {
  font-size: 36px;
  color: var(--brand-orange);
  margin-bottom: 10px;
}

.stat-card h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 5px 0;
}

.stat-card h2::after {
  content: "+";
}

.stat-card p {
  margin: 0;
  font-size: 15px;
  color: #6c757d;
  font-weight: 600;
}

.services-main-title {
  font-size: 30px;
  font-weight: 800;
}

.services-main-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0 auto;
}

.service-slide-card {
  background: rgba(255,255,255,0.1);
  padding: 24px 20px;
  border-radius: 12px;
  height: 100%;
  text-align: center;
  color: #fff;
  transition: transform .3s ease;
}

.service-slide-card:hover {
  transform: translateY(-6px);
}

.service-slide-card i {
  font-size: 30px;
  color: #ffc107;
  margin-bottom: 10px;
}

.service-slide-card h6 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-slide-card p {
  font-size: 14px;
  margin: 0;
  color: rgba(255,255,255,0.85);
} 
/* CHATBOT TOGGLE BUTTON */
#chatbot-toggle{
  position:fixed;
  bottom:24px;
  right:24px;
  width:56px;
  height:56px;
  background:linear-gradient(135deg,#0b3c5d,#1d6fa5);
  color:#fff;
  border-radius:50%;
  cursor:pointer;
  font-size:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 25px rgba(11,60,93,0.5);
  transition:all 0.3s ease;
  z-index:9999;
}

#chatbot-toggle:hover{
  transform:scale(1.08);
  box-shadow:0 15px 35px rgba(11,60,93,0.7);
}

/* CHATBOT BOX */
#chatbot-box{
  position:fixed;
  bottom:90px;
  right:24px;
  width:350px;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);
  border-radius:18px;
  box-shadow:0 25px 60px rgba(0,0,0,0.25);
  display:none;
  flex-direction:column;
  overflow:hidden;
  animation:chatPop 0.35s ease;
  z-index:9999;
}

@keyframes chatPop{
  from{transform:translateY(20px) scale(0.95); opacity:0;}
  to{transform:none; opacity:1;}
}

/* HEADER */
.chatbot-header{
  background:linear-gradient(135deg,#0b3c5d,#1d6fa5);
  color:#fff;
  padding:14px 18px;
  font-weight:700;
  font-size:15px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  letter-spacing:0.3px;
}

.chatbot-header span{
  font-size:18px;
  cursor:pointer;
  opacity:0.8;
}

.chatbot-header span:hover{
  opacity:1;
}

/* BODY */
.chatbot-body{
  padding:18px;
  height:300px;
  overflow-y:auto;
  font-size:14px;
  background:linear-gradient(to bottom,#f7f9fc,#ffffff);
}

.chatbot-body::-webkit-scrollbar{
  width:5px;
}
.chatbot-body::-webkit-scrollbar-thumb{
  background:#d1d9e6;
  border-radius:10px;
}

/* BOT MESSAGE */
.bot-msg{
  background:#eef2f7;
  color:#333;
  padding:10px 14px;
  border-radius:14px 14px 14px 4px;
  margin-bottom:10px;
  max-width:80%;
  box-shadow:0 4px 10px rgba(0,0,0,0.06);
  animation:fadeIn 0.25s ease;
}

/* USER MESSAGE */
.user-msg{
  background:linear-gradient(135deg,#0b3c5d,#1d6fa5);
  color:#fff;
  padding:10px 14px;
  border-radius:14px 14px 4px 14px;
  margin-bottom:10px;
  margin-left:auto;
  max-width:80%;
  box-shadow:0 6px 14px rgba(11,60,93,0.4);
  animation:fadeIn 0.25s ease;
}

@keyframes fadeIn{
  from{opacity:0; transform:translateY(4px);}
  to{opacity:1; transform:none;}
}

/* FOOTER */
.chatbot-footer{
  display:flex;
  padding:10px;
  background:#fff;
  border-top:1px solid #e6ebf2;
}

.chatbot-footer input{
  flex:1;
  border:none;
  padding:10px 14px;
  border-radius:20px;
  background:#f1f4f9;
  outline:none;
  font-size:14px;
}

.chatbot-footer input::placeholder{
  color:#888;
}

/* SEND BUTTON */
.chatbot-footer button{
  margin-left:8px;
  border:none;
  background:linear-gradient(135deg,#efae1e,#f5c04f);
  color:#333;
  padding:0 18px;
  border-radius:20px;
  font-weight:700;
  cursor:pointer;
  transition:all 0.25s ease;
}

.chatbot-footer button:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(239,174,30,0.5);
}

/* MOBILE RESPONSIVE */
@media(max-width:480px){
  #chatbot-box{
    width:92%;
    right:4%;
  }
}
.auth-links a{
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    color:#fff;
    display:flex;
    align-items:center;
    gap:6px;
    transition:all .3s ease;
}

.auth-links a i{
    color:#f5a500;
}

.auth-links a:hover{
    color:#fff;
}

.contact-link{
    padding:6px 14px;
    border:1px solid #f5a500;
    border-radius:20px;
}

.contact-link:hover{
    background:#f5a500;
    color:#fff;
}

.contact-link:hover i{
    color:#fff;
}
  /* Hero Banner */
        .hero-banner {
            padding: 60px 0;
            background: radial-gradient(circle at right, #fff 0%, #f4f4f4 100%);
        }

        .hero-title {
            font-weight: 900;
            font-size: 2.8rem;
            margin-bottom: 20px;
            color: var(--news-dark);
            line-height: 1.1;
        }

        .hero-sub {
            color: var(--brand-orange);
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }

       .hero-img-box {
    padding-bottom: 20px;
}
/* SOCIAL */
.social-links{
  display:flex;
  justify-content:space-around;
  padding-top:10px;
}

.social-links a{
  font-size:1.2rem;
  color:#555;
}

.social-links a:hover{
  color:#000;
}
/* =====================================================
   LEFT USER DASHBOARD PANEL (MATCHES RIGHT MORE PANEL)
   ===================================================== */

/* ===== USER PANEL ===== */
.user-panel{
  position:fixed;
  top:0;
  left:-340px;
  width:340px;
  height:100vh;
  background:#fff;
  box-shadow:4px 0 15px rgba(0,0,0,0.08);
  z-index:1055;
  transition:0.35s ease;
  display:flex;
  flex-direction:column;
}

.user-panel.active{
  left:0;
}

/* ===== USER OVERLAY ===== */
.user-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.15);
  opacity:0;
  visibility:hidden;
  transition:.3s;
  z-index:1050;
}

.user-overlay.show{
  opacity:1;
  visibility:visible;
}

/* ===== USER HEADER ===== */
.user-header{
  padding:16px 20px;
  border-bottom:1px solid #eee;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* ===== USER PROFILE ===== */
.user-profile{
  display:flex;
  align-items:center;
  gap:12px;
}

.user-profile img{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid #eee;
}

.user-profile .fw-bold{
  font-size:0.95rem;
  line-height:1.2;
}

.user-profile small{
  font-size:0.75rem;
  color:#6c757d;
}

/* ===== USER BODY ===== */
.user-body{
  padding:12px 10px;
  overflow-y:auto;
  flex:1;
}

/* ===== USER LINKS ===== */
.user-body a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 12px;
  font-weight:700;
  font-size:0.9rem;
  color:#333;
  text-decoration:none;
  border-radius:6px;
  transition:background 0.2s ease;
}

.user-body a i{
  font-size:1rem;
  min-width:18px;
  text-align:center;
}

/* Hover */
.user-body a:hover{
  background:#fafafa;
}

/* ===== MAIN DASHBOARD LINK ===== */
.user-main{
  font-weight:700;
  background:#fafafa;
}

/* ===== DIVIDERS ===== */
.user-body hr{
  margin:10px 0;
  border-color:#a4a4a4;
}

/* ===== LOGOUT STYLE ===== */
.user-body a.text-danger{
  color:#dc3545;
}

.user-body a.text-danger:hover{
  background:#fff5f5;
}

/* ===== SCROLLBAR (OPTIONAL NICE LOOK) ===== */
.user-body::-webkit-scrollbar{
  width:6px;
}

.user-body::-webkit-scrollbar-thumb{
  background:#ddd;
  border-radius:4px;
}

.user-body::-webkit-scrollbar-thumb:hover{
  background:#ccc;
}

/* ===== DESKTOP ONLY (MATCH MORE PANEL) ===== */
@media(max-width:991px){
  .user-panel,
  .user-overlay{
    display:none;
  }
}
/* Mobile user dashboard button */
.user-toggle-mobile{
  background:#fff;
  border:1px solid #ddd;
  padding:6px 10px;
}

/* Hide desktop panel on mobile */
@media(max-width:991px){
  .user-panel,
  .user-overlay{
    display:none !important;
  }
}
/* ==============================
   MOBILE USER DASHBOARD OFFCANVAS
   ============================== */

.mobile-user-dashboard .offcanvas-header{
  border-bottom:1px solid #eee;
  padding:16px 20px;
}

.mobile-user-dashboard .offcanvas-body{
  padding:12px 15px;
}

/* Profile section */
.mobile-user-dashboard img{
  border:1px solid #eee;
}

/* Links */
.mobile-user-dashboard a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 10px;
  font-weight:700;
  font-size:0.9rem;
  color:#333;
  text-decoration:none;
  border-radius:6px;
}

.mobile-user-dashboard a:hover{
  background:#fafafa;
}

/* Divider spacing */
.mobile-user-dashboard hr{
  margin:12px 0;
}

/* Logout */
.mobile-user-dashboard a.text-danger{
  color:#dc3545;
}

.mobile-user-dashboard a.text-danger:hover{
  background:#fff5f5;
}
/* ICON PANEL IMAGE */
.icon-panel{
  position:relative;
  overflow:hidden;
}

.icon-content{
  max-width:60%;
}

.icon-image1 img{
  max-width:180px;
  height:auto;
  filter:drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* RESPONSIVE */
@media(max-width:768px){
  .icon-content{
    max-width:100%;
  }
  .icon-image1{
    display:none;
  }
}
/* TTD STYLE START*/


/* ===============================
   TEMPLE GLASS GRID
================================ */
.temple-glass-grid{
  margin-top: 10px;
}

/* ===============================
   GLASS CARD (DEFAULT / NORMAL)
================================ */
.temple-card{
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  position: relative;

  /* Glass effect */
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);

  transition: all 0.35s ease;
}

/* Hover */
.temple-card:hover{
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 45px rgba(255,204,0,0.35);
  border-color: #ffcc00;
}

/* ===============================
   IMAGE
================================ */
.temple-img{
  height: 140px;
  overflow: hidden;
}

.temple-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.temple-card:hover .temple-img img{
  transform: scale(1.1);
}

/* ===============================
   BODY CONTENT
================================ */
.temple-glass-body{
  padding: 12px 14px 14px;
  text-align: center;
}

.temple-glass-title{
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.temple-glass-location{
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.temple-glass-location i{
  color: #ffcc00;
  margin-right: 4px;
}

/* ===============================
   VISITED STATE
================================ */
.temple-card[data-visited="1"]{
  border-color: rgba(255,255,255,0.25);
}

/* Dark overlay */
.temple-card[data-visited="1"]::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

/* Text readability */
.temple-card[data-visited="1"] .temple-glass-title,
.temple-card[data-visited="1"] .temple-glass-location{
  color: rgba(255,255,255,0.75);
}

/* Visited badge */
.temple-card[data-visited="1"]::after{
  content: "Visited";
  position: absolute;
  top: 12px;
  right: -38px;
  background: linear-gradient(135deg, #c05621, #dd6b20);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 42px;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 3;
}

/* Ensure content above overlay */
.temple-card *{
  position: relative;
  z-index: 2;
}

/* ===============================
   SELECTED STATE
================================ */
.temple-card.active{
  border: 2px solid #ffcc00;
  box-shadow: 0 0 0 3px rgba(255,204,0,0.35),
              0 18px 40px rgba(0,0,0,0.25);
}

/* Tick icon */
.temple-card.active::before{
  content: "✓";
  position: absolute;
  top: 10px;
  left: 12px;
  background: #ffcc00;
  color: #1f1f1f;
  font-weight: 900;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

/* =====================================================
   SMALL TEMPLE CARD (COMPACT VERSION)
   Use class: temple-card temple-card--sm
===================================================== */
.temple-card--sm{
  border-radius: 14px;
}

/* Smaller image */
.temple-card--sm .temple-img{
  height: 90px;
}

/* Compact padding */
.temple-card--sm .temple-glass-body{
  padding: 8px 10px 10px;
}

/* Smaller title */
.temple-card--sm .temple-glass-title{
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 3px;
}

/* Smaller description */
.temple-card--sm .temple-glass-location{
  font-size: 10.5px;
}

/* Softer hover */
.temple-card--sm:hover{
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 25px rgba(255,204,0,0.25);
}

/* Small visited badge */
.temple-card--sm[data-visited="1"]::after{
  font-size: 9px;
  padding: 3px 34px;
  right: -42px;
}

/* Small tick */
.temple-card--sm.active::before{
  width: 20px;
  height: 20px;
  font-size: 12px;
  top: 8px;
  left: 8px;
}

/* ===============================
   MOBILE TUNING
================================ */
@media(max-width: 576px){
  .temple-img{
    height: 120px;
  }

  .temple-card--sm .temple-img{
    height: 80px;
  }
}


/* =========================================
   DARSHAN DETAILS – SELECTED TEMPLE CONTAINER
========================================= */

/* Reset bg-light only for this container */
.container.bg-light.p-1.py-2{
  background: transparent !important;
  padding: 0 !important;
  margin-top: 14px;
}

/* Main card */
.container.bg-light.p-1.py-2 > .row{
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  border: 1px solid #ececec;
  align-items: stretch;
}

/* Left title strip */
.container.bg-light.p-1.py-2 .col-md-3{
  background: linear-gradient(135deg,#0b3c5d,#1d6fa5);
  border-radius: 12px;
  color: #ffcc00;
  font-weight: 800;
  display: flex;
  align-items: center;
  padding: 12px 14px;
}

/* Title text */
.container.bg-light.p-1.py-2 h5{
  font-weight: 800;
  letter-spacing: 0.4px;
  margin: 0;
}

/* Right value area */
.temple-name-container{
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #198754;
  letter-spacing: .3px;
}

/* Placeholder state */
.temple-name-container{
  transition: color .3s ease;
}



/* =========================================
   DARSHAN TYPE CONTAINER (VIP / SPECIAL)
========================================= */

/* Reset bg-light */
.container.showdarshan_type{
  background: transparent !important;
  padding: 0 !important;
}

/* Main card */
.container.showdarshan_type > .row{
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  border: 1px solid #ececec;
}

/* Heading */
.container.showdarshan_type .form-label{
  font-weight: 800;
  font-size: 18px;
  color: #0b3c5d;
  margin-bottom: 14px;
}

/* Premium buttons wrapper */
.premium-darshan{
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
}

/* Premium button base */
.premium-btn{
  flex: 1;
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #e0e0e0;
  padding: 14px 18px 14px 60px;
  cursor: pointer;
  font-weight: 600;
  color: #2b2b2b;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: all .35s ease;
  position: relative;
  text-align: center;
}

/* Hover */
.premium-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.15);
}

/* Selected */
.btn-check:checked + .premium-btn{
  background: linear-gradient(135deg,#f5b301,#ffcc33);
  border-color: #f5b301;
  color: #1f1f1f;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Subtitle */
.premium-btn small{
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: .8;
  margin-top: 4px;
}

/* Ticket strip */
.ticket-strip{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 46px;
  background: #f1f3f5;
  border-right: 2px dashed #d1d5db;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.ticket-strip.vip{
  background: #fff8e1;
  color: #b8860b;
  border-right-color: #f5b301;
}

.ticket-strip.special{
  background: #e7f1ff;
  color: #0d6efd;
  border-right-color: #0d6efd;
}

/* Ribbon price */
.ribbon-price{
  position: absolute;
  top: 16px;
  right: -34px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 44px;
  transform: rotate(45deg);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}



/* =========================================
   MOBILE ADJUSTMENTS
========================================= */
@media(max-width: 576px){

  .premium-darshan{
    flex-direction: column;
  }

  .container.bg-light.p-1.py-2 .col-md-3{
    justify-content: center;
    margin-bottom: 10px;
  }

  .container.bg-light.p-1.py-2 > .row{
    text-align: center;
  }

}
 /* =========================================================
   NRI MEMBER CARD – APNRTS FROSTED GLASS STYLE
========================================================= */

/* CARD BASE */
.member-card{
  position: relative;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;

  /* MILKY FROSTED GLASS */
 
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px)!important;

  border: 1px solid rgba(255,255,255,0.6);

  box-shadow:
    0 8px 20px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.7);

  transition: transform .25s ease, box-shadow .25s ease;
}

/* GLASS SHEEN (WHITE HAZE LAYER) */
.member-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:14px;
  pointer-events:none;

  background: linear-gradient(
  180deg,
  rgba(255,255,255,0.14),
  rgba(255,255,255,0.18) 50%,
  rgba(255,255,255,0.15)
);

}

/* LEFT ACCENT STRIP (APNRTS YELLOW) */
.member-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:4px;
  height:100%;
  background: linear-gradient(
    0deg,
    #ffcc00,
    #ffb703
  );
  border-radius:14px 0 0 14px;
}

/* HOVER – SUBTLE DEPTH */
@media (min-width: 992px){
  .member-card:hover{
    transform: translateY(-2px);
    box-shadow:
      0 12px 28px rgba(0,0,0,0.2),
      inset 0 1px 0 rgba(255,255,255,0.75);
  }
}

/* =========================================================
   SECTION TITLE (GLASS CHIP)
========================================================= */
.member-title{
  display:inline-block;
  font-size:13px;
  font-weight:700;
  color:#ffc107;

  padding:6px 12px;
  border-radius:10px;

   
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);

  border: 1px solid rgba(255,255,255,0.65);
  margin-bottom:10px;
}

/* =========================================================
   LABELS
========================================================= */
.member-card label{
  font-size:12px;
  font-weight:600;
  color:#ffffff;
  margin-bottom:3px;
}

/* =========================================================
   INPUTS & SELECTS (SOLID – NOT GLASS)
========================================================= */
.member-card .form-control,
.member-card .form-select{
  font-size:13px;
  padding:7px 9px;
  border-radius:8px;

  background:#ffffff;
  border:1px solid #dfe6ee;
}

.member-card .form-control:hover,
.member-card .form-select:hover{
  border-color:#cfd8e3;
}

.member-card .form-control:focus,
.member-card .form-select:focus{
  border:2px solid #ffc107;
  background:#ffffff;
  box-shadow:none;
}

/* SMALL CONTROLS */
.member-card .form-control-sm,
.member-card .form-select-sm{
  font-size:12.5px;
  padding:6px 8px;
}

/* =========================================================
   READONLY FIELDS
========================================================= */
.member-card input[readonly]{
  background:#f4f6f9;
  color:#333;
}

/* =========================================================
   RADIO GROUP – SOFT GLASS PANEL
========================================================= */
.member-card .border.rounded{
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border:1px solid rgba(0,0,0,0.1) !important;
}

.member-card .form-check-label{
  font-size:12px;
  font-weight:600;
}

.member-card .form-check-input{
  cursor:pointer;
}

/* =========================================================
   FILE INPUTS
========================================================= */
.member-card input[type="file"]{
  font-size:12px;
  padding:6px;
  border-radius:8px;
  background:#ffffff;
  border:1px solid #dfe6ee;
}

/* VIEW UPLOADED BUTTON */
.member-card .btn-outline-warning{
  font-size:11px;
  padding:3px 8px;
  border-radius:6px;

  background: rgba(255,193,7,0.18);
  border-color:#ffc107;
}

/* =========================================================
   SERIAL NUMBER BOX
========================================================= */
.member-card .form-control.bg-light{
  font-weight:700;
  background:#f5f7fa !important;
  border:1px solid #dfe6ee;
}

/* =========================================================
   ERROR / HINT TEXT
========================================================= */
.member-card .text-danger{
  font-size:11px;
}

.member-card small{
  font-size:11px;
}

/* =========================================================
   ROW SPACING
========================================================= */
.member-card .row.g-2 > [class*="col"]{
  margin-bottom:6px;
}

/* =========================================================
   MOBILE OPTIMIZATION
========================================================= */
@media(max-width:768px){
  .member-card{
    backdrop-filter: blur(14px);
  }

  .member-title{
    font-size:12.5px;
  }

  .member-card label{
    font-size:11.5px;
  }
}

/* =========================================================
   NON-NRI SECTION – REAL GLASS UI (MATCH NRI)
========================================================= */

/* MAIN WRAP */
.non-nri-wrap{
  position: relative;
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 18px;

  /* TRUE GLASS */
   

  backdrop-filter: blur(2px) saturate(100%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);

  border: 1px solid rgba(255,255,255,0.25);

  box-shadow:
    0 16px 40px rgba(0,0,0,0.30),
    inset 0 1px 1px rgba(255,255,255,0.45);

  overflow: hidden;
}

/* GLASS SHINE LAYER */
.non-nri-wrap::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  pointer-events:none;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.22),
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.06)
  );
}

/* LEFT ACCENT STRIP (MATCH NRI) */
.non-nri-wrap::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:4px;
  height:100%;
  background: linear-gradient(
    180deg,
    rgba(255,204,0,0.95),
    rgba(255,165,0,0.85)
  );
  border-radius:18px 0 0 18px;
}

/* =========================================================
   TITLE BAR
========================================================= */
.non-nri-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.non-nri-title h6{
  margin:0;
  font-weight:800;
  font-size:14px;
  color:#ffffff;

  padding:6px 12px;
  border-radius:10px;

  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border:1px solid rgba(255,255,255,0.25);
}

/* ADD FAMILY BUTTON – GLASS CHIP */
.btn-add-family{
  border-radius:14px !important;
  font-weight:800 !important;
  padding:8px 14px !important;

  background: rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border:1px solid rgba(255,255,255,0.30) !important;
  color:#ffffff !important;

  box-shadow:0 10px 22px rgba(0,0,0,0.18);
  transition:.25s ease;
}

.btn-add-family:hover{
  transform: translateY(-1px);
  box-shadow:0 16px 34px rgba(0,0,0,0.28);
}

/* =========================================================
   HEADER ROW (DESKTOP)
========================================================= */
.non-nri-head{ 
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);

  border:1px solid rgba(255,255,255,0.25);
  border-radius:16px;

  padding:10px;
  font-weight:800;
  font-size:13px;
  color:#ffffff;

  margin-bottom:10px;
}

/* =========================================================
   FAMILY ROW CARD – GLASS
========================================================= */
.family-row-card{
  position: relative;
  border-radius:16px;
  padding:10px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.30),
    rgba(255,255,255,0.14)
  );

  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);

  border:1px solid rgba(255,255,255,0.30);

  box-shadow:
    0 12px 28px rgba(0,0,0,0.22),
    inset 0 1px 1px rgba(255,255,255,0.35);

  transition:.25s ease;
}

.family-row-card:hover{
  transform: translateY(-2px);
  box-shadow:
    0 20px 44px rgba(0,0,0,0.35),
    inset 0 1px 1px rgba(255,255,255,0.45);
}

/* =========================================================
   LABELS
========================================================= */
.family-row-card .form-label{
  font-size:12px;
  font-weight:700;
  color:#ffffff;
  margin-bottom:4px;
}

/* =========================================================
   INPUTS
========================================================= */
.family-row-card .form-control{
  border-radius:12px !important;
  font-size:13px;
  padding:8px 10px;

  background: rgba(255,255,255,0.90);
  border:1px solid rgba(0,0,0,0.12);
}

.family-row-card .form-control[readonly]{
  background: rgba(245,247,250,0.90);
  border-style:dashed;
}

/* =========================================================
   SERIAL NUMBER
========================================================= */
.family-sno{
  font-weight:800;
  color:#ffffff;

  width:38px;
  height:38px;
  border-radius:12px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(255,255,255,0.20);
  backdrop-filter: blur(8px);
  border:1px solid rgba(255,255,255,0.30);
}

/* =========================================================
   CHECKBOX
========================================================= */

/* CONTAINER */
.member-item{
  width:32px;
  height:32px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  border-radius:10px;

  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border:2px solid rgba(255,255,255,0.45);
  box-shadow:0 6px 14px rgba(0,0,0,0.18);

  transition: all .22s ease;
}

/* HOVER */
.member-item:hover{
  transform: translateY(-1px);
  box-shadow:0 10px 22px rgba(0,0,0,0.28);
}

/* CHECKBOX */
.member-select{
  width:18px;
  height:18px;
  z-index:2;
  cursor:pointer;
}

/* LABEL OVERLAY — KEY PART */
.member-label{
  position:absolute;
  inset:0;
  cursor:pointer;
  z-index:3;
}

/* SELECTED STATE */
.member-item:has(.member-select:checked){
  border-color:#ffc107;
  box-shadow:
    0 0 0 5px rgba(255,193,7,0.20),
    0 12px 26px rgba(0,0,0,0.35);
}

/* Checkbox color */
.member-select:checked{
  accent-color:#ffc107;
}


/* =========================================================
   MOBILE TUNING
========================================================= */
@media(max-width:768px){
  .non-nri-wrap{
    backdrop-filter: blur(16px) saturate(140%);
  }

  .non-nri-title h6{
    font-size:13px;
  }
}
/* =====================================
   HORIZONTAL ROW CARD
   30% Image | 70% Content
===================================== */
.temple-card--row{
  display: flex;
  align-items: stretch;
  height: 90px;               /* control card height */
  border-radius: 14px;
}

/* IMAGE – 30% */
.temple-card--row .temple-img{
  width: 30%;
  height: 100%;
  flex-shrink: 0;
}

.temple-card--row .temple-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT – 70% */
.temple-card--row .temple-glass-body{
  width: 70%;
  padding: 10px 12px;
  text-align: left;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* FULL TITLE – NO TRUNCATION */
.temple-card--row .temple-glass-title{
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;

  white-space: normal;     /* allow wrapping */
  overflow: visible;       /* show full text */
  text-overflow: unset;
  word-break: break-word;  /* break long words safely */
  line-height: 1.25;
}


/* Location */
.temple-card--row .temple-glass-location{
  font-size: 11.5px;
  line-height: 1.3;
  color: rgba(255,255,255,0.85);

  display: -webkit-box;
  -webkit-line-clamp: 2;      /* max 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hover tuning */
.temple-card--row:hover{
  transform: translateY(-3px);
}

/* =====================================
   VISITED STATE (ROW)
===================================== */
.temple-card--row[data-visited="1"]::after{
  font-size: 9px;
  padding: 3px 28px;
  right: -48px;
  top: 8px;
}

/* =====================================
   ACTIVE TICK (ROW)
===================================== */
.temple-card--row.active::before{
  width: 18px;
  height: 18px;
  font-size: 11px;
  top: 8px;
  left: 8px;
}

/* =====================================
   MOBILE OPTIMIZATION
===================================== */
@media(max-width: 576px){
  .temple-card--row{
    height: 80px;
  }

  .temple-card--row .temple-glass-title{
    font-size: 12px;
  }

  .temple-card--row .temple-glass-location{
    font-size: 10.5px;
  }
}

 

/* =========================================================
   MESSAGE SECTION – REAL GLASS
========================================================= */
.row.bg-light{
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.16),
    rgba(255,255,255,0.05)
  ) !important;

  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.22);

  box-shadow:
    0 18px 48px rgba(0,0,0,0.35),
    inset 0 1px 1px rgba(255,255,255,0.45);
}

/* Message textarea */
.row.bg-light textarea{
  background: rgba(255,255,255,0.88);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.14);
  font-size: 14px;

  box-shadow:
    inset 0 2px 6px rgba(0,0,0,0.08);
}

.row.bg-light textarea:focus{
  background: rgba(255,255,255,0.95);
  border: 2px solid #ffc107;
  box-shadow: none;
}

/* =========================================================
   AGREEMENT SECTION – GLASS PANEL
========================================================= */
.container.my-3.bg-light{
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.06)
  ) !important;

  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);

  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);

  box-shadow:
    0 20px 55px rgba(0,0,0,0.4),
    inset 0 1px 1px rgba(255,255,255,0.45);
}

/* Inner glass */
.container.my-3 .p-3{
  background: transparent;
}

/* =========================================================
   CHECKBOXES – GLASS + CLICK FEEL
========================================================= */
.form-check{
  margin-bottom: 12px;
}

/* Checkbox */
.form-check-input{
  width: 22px;
  height: 22px;
  cursor: pointer;

  background: rgba(255,255,255,0.55);
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 6px;

  box-shadow:
    0 6px 14px rgba(0,0,0,0.28),
    inset 0 1px 1px rgba(255,255,255,0.5);
}

/* Checked */
.form-check-input:checked{
  accent-color: #ffc107;

  box-shadow:
    0 0 0 6px rgba(255,193,7,0.22),
    0 8px 18px rgba(0,0,0,0.35);
}

/* Checkbox label */
.form-check-label{
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
}

/* Link buttons inside labels */
.form-check-label .btn-link{
  color: #ffc107;
  font-weight: 700;
  text-decoration: none;
}

/* =========================================================
   SUBMIT BUTTON – PREMIUM
========================================================= */
#submitBtn{
  border-radius: 16px;
  font-weight: 900;
  letter-spacing: .4px;

  background: #ffc107;

  box-shadow:
    0 18px 36px rgba(25,135,84,0.45);
}

#submitBtn:disabled{
  opacity: .55;
  box-shadow: none;
}

/* =========================================================
   MODALS – TRUE GLASS (Sacred + Terms)
========================================================= */
.modal-content{
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.06)
  );

  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.25);

  box-shadow:
    0 35px 80px rgba(0,0,0,0.55),
    inset 0 1px 1px rgba(255,255,255,0.45);
}

/* Modal headers */
.modal-header{
  backdrop-filter: blur(10px);
}

/* Modal list items */
.modal-body .list-group-item{
  background: rgba(255,255,255,0.92);
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
}

/* Modal footer */
.modal-footer{
  background: rgba(255,255,255,0.65);
}

/* =========================================================
   MOBILE TUNING
========================================================= */
@media(max-width:768px){
  .row.bg-light,
  .container.my-3.bg-light,
  .modal-content{
    backdrop-filter: blur(16px) saturate(160%);
  }
}

/* =========================================================
   GLASS MESSAGE CONTAINER
========================================================= */
.glass-message-box{
  position: relative;

  /* Transparent glass background */
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.06)
  );

  backdrop-filter: blur(2px) saturate(100%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.28);

  box-shadow:
    0 16px 40px rgba(0,0,0,0.45),
    inset 0 1px 1px rgba(255,255,255,0.45);

  overflow: hidden;
}

/* Glass shine layer */
.glass-message-box::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;

  background: linear-gradient(
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.12) 8%,
    rgba(255,255,255,0.04)
  );
}

/* =========================================================
   MESSAGE TITLE
========================================================= */
.glass-message-box h5{
  font-weight: 800;
  letter-spacing: .3px;
  margin-bottom: 8px;
}

/* =========================================================
   GLASS TEXTAREA (FIXED)
========================================================= */
.glass-message-input{
  height: auto !important;     /* 🔥 THIS FIXES rows */
  min-height: 140px;           /* ≈ 5 rows */

  background: rgba(255,255,255,0.88);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.14);

  font-size: 14px;
  padding: 10px 12px;
  line-height: 1.6;

  box-shadow:
    inset 0 2px 6px rgba(0,0,0,0.08);

  resize: none;
}

/* Focus state */
.glass-message-input:focus{
  background: rgba(255,255,255,0.95);
  border: 2px solid #ffc107;
  box-shadow: none;
}


/* =========================================================
   MOBILE TUNING
========================================================= */
@media(max-width:768px){
  .glass-message-box{
    backdrop-filter: blur(1px) saturate(100%);
  }
}
/*TTD STYLE END*/