* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-black: #1a1a1a;
  --primary-gold: #d4af37;
  --accent-gold: #f4d03f;
  --pure-white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #e9ecef;
  --dark-gray: #495057;
  --gradient-gold: linear-gradient(135deg, #d4af37, #f4d03f);
  --gradient-dark: linear-gradient(135deg, #1a1a1a, #2c2c2c);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.2);
  --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.3);
  --primary-blue: #f4f8ff;
  --wa-color: #1af269;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

/* Top Bar */
.top-bar {
  background: linear-gradient(135deg, #1a365d, #2c5282);
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.top-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  padding: 0 20px;
}

.contact-info {
  display: flex;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ffd700;
}
.social-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.social-link:hover {
  color: #ffd700;
}

/* Main Header */
.main-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo img {
  width: 7.5rem;
}

.header-content {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.navigation {
  display: none;
  list-style: none;
  gap: 35px;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover {
  color: #2c5282;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: #2c5282;
  transition: all 0.3s;
}
.nav-link.active {
  color: #2c5282 !important;
  font-weight: 600;
}
.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-link {
  text-decoration: none;
  color: #555;
  display: block;
  transition: color 0.3s;
}

.dropdown-link:hover {
  color: #2c5282;
}

.cta-button {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  text-decoration: none;
  color: #1a365d;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  background: white;
  border: #ffd700;
}

/* Mobile Menu */
.mobile-nav {
  padding-left: 0;
}
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  list-style: none;
}

.mobile-nav-item {
  margin: 15px 0;
}

.mobile-nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

section {
  padding: 30px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-black);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--dark-gray);
  font-size: 1.2rem;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.wa-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--wa-color);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-blink 2s infinite ease-in-out;
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.wa-float i {
  font-size: 28px; /* adjust size instead of width/height */
  line-height: 1; /* prevent extra spacing */
  display: flex; /* optional, ensures consistent alignment */
  align-items: center;
  justify-content: center;
}

/* Blink every 2s (subtle opacity + pulse) */
@keyframes wa-blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  45% {
    opacity: 0.55;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

/* Optional: a soft outer ring pulse */
.wa-float::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(45, 245, 118, 0.826);
  animation: wa-ring 2s infinite ease-out;
  pointer-events: none;
}
@keyframes wa-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* Blink every 2s */
@keyframes wa-blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  45% {
    opacity: 0.65;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

.cta-button .fa-download {
  display: inline-block;
  animation: downloadMove 1s infinite;
}

@keyframes downloadMove {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-6px);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float {
    animation: none !important;
  }
}
/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wa-float,
  .wa-float::after {
    animation: none !important;
  }
}

#chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1;
}

#chatbox {
  width: 320px;
  height: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.541);
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: Arial, sans-serif;
  transform: scale(1);
  opacity: 1;
  transition: all 0.6s ease;
}

#chatbox.hidden {
  transform: scaleY(0.9);
  opacity: 0;
  pointer-events: none;
  height: 0;
}

#chat-header {
  background: #262560;
  color: #fff;
  padding: 10px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chat-header button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

#chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.bot-message,
.user-message {
  padding: 8px 12px;
  margin: 6px 0;
  max-width: 75%;
  border-radius: 20px;
  display: inline-block;
  animation: fadeIn 0.3s ease;
}

.bot-message {
  background: #eee;
  color: #333;
}

.user-message {
  background: #262560;
  color: #fff;
  align-self: flex-end;
}

.hidden {
  display: none;
}

#chat-bubble {
  width: fit-content;
  height: 50px;
  background: #262560;
  color: #fff;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-left: auto;
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
  padding: 0 10px;
  position: absolute;
  bottom: 0;
  right: 0;
}
#chat-bubble img {
  width: 30px;
}
#chat-bubble.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

button.option-btn:hover {
  background: #ddd;
}
/* When a bot message is immediately followed by another bot message */
.bot-message + .bot-message {
  border-top-left-radius: 4px; /* 2nd bot: top-left corner sharp */
}

/* When a bot message is followed by another bot message (1st bot) */
.bot-message:not(:last-child) {
  border-bottom-left-radius: 16px; /* reset bottom-left for all */
}

.bot-message:has(+ .bot-message) {
  border-bottom-left-radius: 4px; /* 1st bot: bottom-left corner sharp */
}

/* User message with options */
.user-message.options-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background-color: transparent;
  color: #fff;
  padding: 8px;
  border-radius: 16px;
  margin: 4px 0;
}

/* Option buttons */
.option-btn {
  background: #eee;
  color: #333;
  padding: 8px 12px;
  border-radius: 20px;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  margin: 4px 4px 0 auto;
  text-align: left;
}
.option-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}
.formBtn {
  background-color: #262560;
}
/* Normal bot and user messages already styled as before */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet landscape and small desktops */
@media (min-width: 768px) {
  .top-bar-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .contact-info {
    flex-direction: row;
    gap: 30px;
  }
  .navigation {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
}
@media (max-width: 768px) {
  .hero-text {
    display: none;
  }
  .hero-section {
    height: 120vh;
  }
  .hero-form {
    margin-right: auto;
  }
}
/* Large desktops */
@media (min-width: 1024px) {
  section {
    padding: 100px 0;
  }
}
@media (min-width: 300px) {
  .logo img {
    width: 6rem;
  }
  .cta-button {
    font-size: 10px;
    padding: 9px 18px;
  }
}
@media (min-width: 400px) {
  .logo img {
    width: 7.5rem;
  }
  .cta-button {
    font-size: 14px;
    padding: 10px 20px;
  }
}
.map-main iframe {
  height: 60vh;
  border-radius: 0.8rem;
}
.connectivity {
  border-top: 1px solid #d4af37;
  padding-top: 20px;
}
.abcd {
  justify-content: space-evenly;
}
@media (max-width: 575px) {
  .top-bar-content {
    flex-direction: row;
    justify-content: space-between;
  }
  .contact-info {
    gap: 1rem;
  }
}
.custom-header {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Overlay for better readability */

/* Title Styling */
.custom-header .modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 1;
  color: rgb(38, 37, 96);
}

/* Close Button Styling */
.modal-closer {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 2;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.modal-closer:hover {
  opacity: 1;
  transform: rotate(90deg);
}
.modal-imgs {
  background-image: url(../img/19.jpg);
  background-size: cover;
  background-position: center;
}

.modal-heading {
  line-height: 34px;
  font-size: 28px;
  font-weight: 500;
  color: rgb(38, 37, 96);
}
.modal-subheading {
  line-height: 34px;
  font-size: 16px;
  font-weight: 400;
  color: rgb(38, 37, 96);
}
.thankyou-card {
  background: white;
  color: black;
  border-radius: 16px;
  padding: 40px;
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-top: 6px solid #ffd700;
}
.thankyou-card h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: rgb(38, 37, 96);
}
.thankyou-card p {
  font-size: 1.2rem;
  margin-top: 15px;
  color: #444;
}
.highlight {
  color: #ffd700;
  font-weight: 600;
}
.back-btn {
  margin-top: 25px;
  background-color: rgb(38, 37, 96);
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}
.back-btn:hover {
  background-color: #ffd700;
  color: black;
}
