/* ================= GLOBAL RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fb;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ================= HEADER ================= */
header {
  width: 100%;
  position: absolute; /* floats on top of banner */
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.25); /* semi-transparent */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  padding: 0 25px;
  flex-wrap: wrap;
}

.logo img {
  height: 58px;
}

/* ================= NAVIGATION ================= */
nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

nav a {
  color: #255c64;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #144a9a, #8b0000);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* ================= BUTTON ================= */
.btn-header {
  background: linear-gradient(135deg, #8b0000, #c62828);
  color: white;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(139, 0, 0, 0.35);
  transition: 0.3s ease;
  text-decoration: none;
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 0, 0, 0.45);
}



/* ================= MOBILE & TABLET HEADER FIX ================= */

.menu-toggle{
  display:none;
}

/* Mobile + Tablet */
@media (max-width:1024px){

  header{
    position:relative;
    background:#fff;
  }

  .header-flex{
    display:flex !important;
    flex-direction:row !important;
    justify-content:space-between !important;
    align-items:center !important;
    height:65px !important;
    padding:0 8px !important;   /* left right gap reduce */
  }

  /* Logo left */
  .logo{
    margin:0;
  }

  .logo img{
    height:45px;
  }

  /* Hide desktop menu */
  nav{
    display:none;
    position:absolute;
    top:65px;
    left:0;
    width:100%;
    background:#ffffff;
    flex-direction:column;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.1);
  }

  nav a{
    padding:14px;
    border-bottom:1px solid #eee;
  }

  /* Show menu when toggle click */
  nav.show{
    display:flex;
  }

  /* Hide connect button */
  .btn-header{
    display:none;
  }

  /* Toggle right side */
  .menu-toggle{
    display:block;
    font-size:26px;
    color:#8b0000;
    cursor:pointer;
    margin:0;
  }

}
/* ================= BANNER SECTION ================= */
.banner-section {
    width: 100%;
    height: 800px;
    background: url('../images/Recognition bannerimg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* header overlays banner, so no margin-top */
}

.banner-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    z-index: 1;
}

.banner-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 25px;
}

.btn-banner {
    background: linear-gradient(135deg, #8b0000, #c62828);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(139, 0, 0, 0.35);
    transition: 0.3s ease;
}

.btn-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.45);
}

/* ================= MOBILE & TABLET BANNER ================= */

@media (max-width: 992px){

  .banner-section{
    height: auto; /* allow image ratio */
    min-height: 520px;
    background: url('../images/Recognition banner image.png') center/cover no-repeat;
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .banner-content h1{
    font-size: 32px;
  }

  .banner-content p{
    font-size: 16px;
  }

  .btn-banner{
    font-size:14px;
    padding:10px 22px;
  }

}

/* ===== MAIN CONTENT ===== */
.news-details {
  max-width: 800px;
  margin: 70px auto;
  padding: 0 20px;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* ===== TITLE ===== */
.news-title {
  font-size: 28px;
  color: #1e63d6;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ===== DATE ===== */
.news-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 25px;
}

/* ===== MODERATE IMAGE ===== */
.news-image {
  margin-bottom: 25px;
  text-align: center;
}

.news-image img {
  width: 100%;
  max-width: 600px;   /* 🔥 Moderate size */
  border-radius: 8px;
}

/* ===== PARAGRAPH ===== */


.news-details p {
  font-size: 15px;
  color: #292929;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ===== BACK BUTTON ===== */
.back-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #8c0001;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.back-btn:hover {
  background: #b30000;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .news-details {
    padding: 25px;
  }

  .news-title {
    font-size: 22px;
  }
}





/* ================= POPUP OVERLAY ================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  z-index: 9999;
  overflow: hidden; /* prevent page scroll when popup is open */
}

.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

/* ================= POPUP BOX ================= */
.popup-box {
  background: #fff;
  width: 400px;
  max-width: 95%;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  position: fixed; /* make popup fixed */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* ================= POPUP TITLE ================= */
.popup-box h2 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* ================= CLOSE BUTTON ================= */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

/* ================= MONTH NAVIGATION ================= */
.month-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.month-navigation h3 {
  font-size: 16px;
}

.month-navigation button {
  background: #d4af37;
  border: none;
  color: #fff;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

/* ================= CALENDAR ================= */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-grid div {
  padding: 10px 0;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  transition: 0.2s;
}

.calendar-grid div:hover {
  background: #f0f0f0;
}

.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.selected {
  background: #d4af37;
  color: #fff;
}

.selected-info {
  margin-top: 12px;
  font-size: 14px;
  text-align: left;
}

/* ================= FORM FIELDS ================= */
.input-field {
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

/* ================= SUBMIT BUTTON ================= */
.book-btn {
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  background: #d4af37;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
}

.book-btn:hover {
  background: #b8922e;
}

/* ================= FORM MESSAGE ================= */
#formMessage {
  margin-top: 10px;
  font-size: 14px;
  min-height: 18px;
  text-align: center;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 576px) {

  .popup-box {
    width: 90%;
    padding: 12px;
    max-height: 90vh;       /* fits mobile screen */
    position: fixed;        /* remain fixed */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;       /* no scroll inside popup */
  }

  .popup-box h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .month-navigation h3 {
    font-size: 14px;
  }

  .month-navigation button {
    padding: 4px 8px;
    font-size: 14px;
  }

  .calendar-grid {
    gap: 3px;               /* smaller gaps for compact view */
    grid-template-columns: repeat(7, 1fr);
  }

  .calendar-grid div {
    padding: 4px 0;         /* smaller calendar cells */
    font-size: 11px;
  }

  .input-field {
    padding: 6px;
    font-size: 13px;
    margin-top: 8px;
  }

  .book-btn {
    padding: 8px;
    font-size: 14px;
    margin-top: 10px;
  }

  .selected-info {
    font-size: 12px;
    margin-top: 8px;
  }
}

/* ================= FOOTER ================= */

.footer {
  background: #292929;
  color: #ffffff;
  padding-top: 55px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 20px 45px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #fff7c5;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

/* 🔹 FIX ADDED HERE */
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.85);
  transition: 0.3s;
  text-decoration: none;   /* Removes underline */
}

.footer-col ul li a:hover {
  color: #fff7c5;
  padding-left: 4px;
}

/* Logo */
.footer-logo {
  width: 140px;
  margin-bottom: 15px;
}

/* About text */
.footer-about {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
  font-family: justify-content;
}

/* Business info */
.footer-info li {
  opacity: 0.9;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  padding: 18px 10px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.15);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }
}


/* ================= VELAVAN FLOATING BUTTONS + CHATBOT ================= */

/* Dialogflow host */
#vpDfMessenger {
  --df-messenger-button-titlebar-color: #8c0000;
  --df-messenger-chat-background-color: #ffffff;
  --df-messenger-font-color: #222;
  --df-messenger-send-icon: #8c0000;
  --df-messenger-chat-icon: none;

  position: fixed !important;
  right: 20px !important;
  bottom: 95px !important;
  z-index: 99999 !important;
}

/* COMPLETELY hide Dialogflow default launcher */
#vpDfMessenger::part(chat-button) {
  display: none !important;
}

df-messenger-chat-bubble {
  display: none !important;
}

df-messenger::part(chat-button) {
  display: none !important;
}

/* Desktop buttons */
.vp-desktop-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 100000;
}

.vp-action-btn {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  transition: transform 0.25s ease;
}

.vp-action-btn:hover {
  transform: scale(1.08);
}

.vp-whatsapp { 
  background: #25D366; 
}

.vp-call { 
  background: #0d6efd; 
}

.vp-chat { 
  background: #b30000; 
}

.vp-chat i,
.vp-mobile-bar-item i {
  pointer-events: none;
}

/* Mobile bottom bar hidden in desktop */
.vp-mobile-bottom-bar {
  display: none;
}

#vpChatToggleBtn,
#vpMobileChatToggleBtn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ================= MOBILE + TABLET ================= */

@media (max-width: 1024px) {

  /* Hide desktop floating buttons */
  .vp-desktop-actions {
    display: none !important;
  }

  /* Mobile bottom bar */
  .vp-mobile-bottom-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8px;
    width: calc(100% - 24px);
    max-width: 360px;
    background: #c61f26;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
    z-index: 100002;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 4px 8px calc(4px + env(safe-area-inset-bottom));
    border-radius: 16px;
  }

  .vp-mobile-bar-item {
    width: 52px;
    height: 52px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
  }

  .vp-mobile-chat {
    background: #c61f26;
    
  }

  /* Dialogflow chat position in mobile */
  #vpDfMessenger {
    right: 10px !important;
    bottom: 125px !important;
    z-index: 99999 !important;
  }
}

/* Hide Dialogflow default launcher completely */
df-messenger::part(chat-button) {
  display: none !important;
}

df-messenger-chat-bubble {
  display: none !important;
}

df-messenger-button {
  display: none !important;
}

/* Prevent any default bubble appearing */
df-messenger {
  --df-messenger-chat-icon: none !important;
}