:root {
  --primary: #0d3b66;
  --secondary: #5988b7;
  --neutral-gray: #333;
  --white: #fff;
  --black: #000;
  --gray: #f7f7f7;
  --dark-navy: #0a2a66;
  --btn-gradient: linear-gradient(184deg, var(--primary) 40%, var(--secondary) 100%);
  /* --btn-gradient: linear-gradient(45deg, #094963, #4B8EA9 100% ); */
  --btn-gradient-hover: linear-gradient(184deg, var(--secondary) 40%, var(--primary) 100%);
}

.details-page {
  position: relative;
  width: 100%;
  height: 10vh; /* adjust height */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.details-page .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent; /* dark overlay */
}

.details-page .details-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.details-page h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.details-page p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.details-page .book-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #0073e6;
  color: var(--white);
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.details-page .book-btn:hover {
  background: #005bb5;
}

/* Section 2 */

.details-content-section {
  padding: 60px 20px;
  background: #fff;
}

.details-content-section .container {
  max-width: 1170px;
  margin: 0 auto;
}

.details-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark-navy);
  text-align: left;
}

.details-image {
  margin-bottom: 25px;
}

.details-image img {
  width: 100%;
  max-height: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* details text container  */

.details-text-container{
    display: flex;
    flex-direction: row;
}

/* details text section  */

.details-text {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 30px;
  width: fit-content;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  max-height: 400px; 
  overflow-y: auto;      /* enable vertical scrolling */
  /* padding-right: 5px; */
  text-align: justify;
}

/* Optional: custom thin scrollbar */
.description::-webkit-scrollbar {
  width: 6px;
}
.description::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}
.description::-webkit-scrollbar-thumb:hover {
  background: #888;
}

.details-text p {
  margin-bottom: 18px;
  text-align: justify;
}

.details-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.details-buttons .btn {
  padding: 12px 22px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: all 0.3s ease;
  color: var(--white);
  background: var(--btn-gradient);
}

.details-buttons .whatsapp {
  background: #25D366;
}

.details-buttons .call {
  background: #0073e6;
}

.details-buttons .book {
  background: #f39c12;
}

.details-buttons .btn:hover {
  opacity: 0.9;
}



/* details info section box */

.details-info-box {

  background: var(--white);
  border-radius: 12px;
  padding: 25px 22px;
  margin-left: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  width: 50%;
  height: 50%;
}
.details-info-box h2{
  color: var(--neutral-gray);
}

.details-info-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.details-info-box li {
  font-size: 0.9rem;
  margin: 12px 0;
  color: var(--neutral-gray);
}

.details-info-box strong {
  color: var(--primary);
}

.details-info-box a {
  color: inherit;
  text-decoration: none;
}

.details-info-box .btn.profile-btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--btn-gradient);
  color: var(--white);
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.details-info-box .btn.profile-btn:hover {
  background: var(--btn-gradient-hover);
}


/* details info container  */

.details-info-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    align-items: center;
}

.details-info-text {
  /* font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 30px;
  width: fit-content;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); */

  flex: 1;                /* Each box takes equal width */
  margin: 15px 10px;         /* Small gap between them */
  padding: 10px;
  background: #e8f6fc;
  text-align: center;
  border-radius: 8px;
}

.details-info-text p {
  margin-bottom: 18px;
}



.blink {
  animation: blink 1s linear infinite;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}


.highlight {
  padding: 0.3em 0.6em;
  border-radius: 6px;
  font-weight: 600;
  background-color: transparent;
  animation: bgPulse 2s ease-in-out infinite;
}

/* Background pulse animation */
@keyframes bgPulse {
  0%   { background-color: transparent; }
  50%  { background-color: rgba(255, 223, 0, 0.4); } /* soft gold glow */
  100% { background-color: transparent; }
}

/* Pause when hovered or focused (better UX) */
.highlight:hover,
.highlight:focus {
  animation-play-state: paused;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .highlight {
    animation: none !important;
    background-color: rgba(255, 223, 0, 0.2); /* static subtle highlight */
  }
}

/* Container */
.contact-icons {
  display: flex;
  flex-direction: column; /* stack them vertically */
  gap: 12px;             /* spacing between items */
}

/* Base style */
.contact-icon {
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px; /* space between icon and text */
  transition: color 0.3s ease;
}

/* Hover effect */
.contact-icon:hover {
  color: #1877f2; /* highlight on hover */
}

/* Icon sizing */
.contact-icon i {
  font-size: 1rem;
}

/* Specific colors (optional, more visual) */
.contact-icon.phone i {
  color: #28a745; /* green for phone */
}
.contact-icon.mobile i {
  color: #007bff; /* blue for mobile */
}
.contact-icon.email i {
  color: #ff5722; /* orange for email */
}


.wrapper{
  text-align: center;
}

.details-info-contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}
.details-info-social{
  text-align: center;
}

.details-info-social h3{
  margin: 10px;
  font-size: 1.1rem;
  
}

/* Base style for all social icons */
.social-icons {
  /* display: inline-block; */
  font-size: 2rem;      /* size of the icon */
  color: #444;           /* default color */
  transition: all 0.3s ease;
  text-decoration: none;
  margin: 0 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* Hover effect */
.social-icon:hover {
  transform: scale(1.2); /* zoom effect */
  color: #1877f2;        /* Facebook blue */
}

/* Optional specific Facebook styling */
.social-icon.facebook {
  color: #1877f2; /* default FB color */
}

.social-icon.facebook:hover {
  color: #0d65d9; /* darker shade on hover */
}

.social-icons a .fa-twitter {
  color: #1da1f2;
}
.social-icons a .fa-instagram {
  color: #e1306c;
}
.social-icons a .fa-google-plus-g {
  color: #db4437;
}
.social-icons a .fa-linkedin {
  color: #0a66c2;
}

/* Responsive video wrapper */
.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;   /* Limit max width */
  margin: 0 auto;     /* Center the video */
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;   /* Rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}


#showNumberBtn {
  cursor: pointer;
  transition: background 0.3s ease;
}

#phoneNumber {
  color: var(--white);
  background: var(--btn-gradient);
}

/* Popup styles */

/* Trigger button */
#openPopupBtn {
  cursor: pointer;
  transition: background 0.3s ease;
}


/* Popup overlay */
.popup {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* dark overlay */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup content */
.popup-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 650px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Close button */
.close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

/* Form styles */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

form input,
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  width: 95%;
}

form button {
  background: #28a745;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
form button:hover {
  background: #218838;
}


.popup-form {
  width: 100%;
  max-width: 600px; /* adjust as needed */
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 equal columns */
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.full-width {
  grid-column: span 2; /* makes textarea full width */
}

button {
  margin-top: 20px;
  padding: 10px 15px;
  width: 100%;
  cursor: pointer;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr; /* stack in one column on small screens */
  }
  .full-width {
    grid-column: span 1;
  }
}




/* Responsive */
@media (max-width: 768px) {
  .details-info-container{
      display: block;
  }
  .details-text-container{
      display: block;
  }
  .details-info-box {
    margin-left: 0px;
    width: 89%;
  }
  form input,form textarea {
    width: 85%;
  }
}







