@font-face {
  font-family: "Typhone";
  src: url("../fonts/typhone.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Load Source Sans 3 for body text */
@font-face {
  font-family: "SourceSans3";
  src: url("../fonts/sourcesans3_light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.py-5 {
  padding-top: 10rem !important;
  padding-bottom: 10rem !important;
}

html {
  scroll-behavior: smooth;
}

/* Apply Typhone only to headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Typhone", serif;
}

/* Apply Source Sans 3 everywhere else */
body,
p,
span,
a,
li,
div,
input,
button,
textarea,
table {
  font-family: "SourceSans3", sans-serif;
  line-height: 1.2;
}

:root {
  --primary-gold: #c8a882;
  --dark-brown: #5c4033;
  --light-beige: #f5f1ed;
  --cream: #faf8f5;
  --text-dark: #545454;
}

body {
  /* font-family: 'Inter', sans-serif; */
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.serif-font {
  font-family: "Playfair Display", serif;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding-top: 50px;
}

.hero-logo {
  max-width: 120px;
  width: 7%;
  height: auto;
  margin-bottom: 3rem;
  filter: brightness(0) invert(1);
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-text-content {
  margin-top: 120px;
}

.hero-title {
  font-size: 3.5rem;
  margin-top: -8rem;
  /* font-weight: 600; */
  /* margin-bottom: 8rem;  */
  /* text-shadow: 2px 2px 4px rgba(0,0,0,0.5); */
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  /* margin-bottom: 0rem;  */
  font-weight: 100;
}

/* Button */
.book-appointment-btn {
  background: #e85a3f;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.book-appointment-btn:hover {
  background: #d14832;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 90, 63, 0.3);
}

/* Circle button styling */
.circle-button {
  background: transparent;
  color: inherit;
  border: none;
  width: 7rem;
  height: 7rem;
  border-radius: 100%;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.2;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.circle-button .arrow {
  font-size: 1rem;
  margin-top: 5px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.circle-button:hover {
  background: #e85a3f;
  color: white;
  transform: translateY(-3px);
}

.circle-button:hover .arrow {
  transform: translateX(4px);
}

/* Footer */
.footer-section {
  background: #e4cfc5;
  /* Light beige background like in image */
  color: var(--text-dark);
  padding: 60px 0 30px;
  font-family: "Typhone", serif !important;
  z-index: 1;
  position: relative;
}

.footer-section {
  padding-top: 350px !important;
}

.footer-logo {
  max-height: 180px;
  margin-bottom: 20px;
}

.footer-text:hover,
.menu-columns p:hover,
.menu-links a:hover,
.menu-top a:hover {
  color: #de4e2c;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 8px;
  color: #613020;
  cursor: pointer;
}

.footer-heading {
  cursor: pointer;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-size: 1rem;
  margin-bottom: 2px;
  color: #613020;
  font-family: "Typhone" !important;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-section .footer-text-link {
  text-decoration: none;
}



.social-icons {
  margin-bottom: 20px;
}

.social-icons a {
  color: #613020;
  font-size: 2rem;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-gold);
}

.app-store-badge {
  max-height: 55px;
  margin: 5px 5px 5px 0;
}

.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.partner-logo-footer {
  height: 35px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.partner-logo-footer:hover {
  opacity: 1;
}

.footer-divider {
  border: none;
  height: 2px;
  background: rgba(92, 64, 51, 1);
  margin: 10px 0 20px;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: var(--dark-brown);
  font-weight: 700;
  opacity: 0.8;
}

/* ------------------------------
   GLOBAL FOOTPRINT
   ------------------------------ */
.global-footprint {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  background: #faf1eb;
  width: 100%;
  position: relative;
  padding-left: 3rem;
  padding-right: 3rem;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  margin-bottom: -300px;
  z-index: 10;
}

.global-footprint .section-title {
  font-size: 1.8rem;
  color: #985333;
  margin-bottom: 0.5rem;
}

.global-footprint .cities {
  color: #210d07;
  font-size: 1rem;
  letter-spacing: 1px;
  margin: 0;
}

.global-footprint .newsletter-label {
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
  margin-right: 6rem;
}

.global-footprint .newsletter-form {
  border: 1px solid #545454;
  border-radius: 50px;
  overflow: hidden;
}

.global-footprint .newsletter-input {
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  outline: none;
  flex: 1;
  /* take all remaining space */
  min-width: 0;
  /* prevents overflow in flex */
  background-color: transparent;
  border-color: #545454;
  border-width: 1px;
}

.global-footprint .newsletter-btn {
  background: transparent;
  border: none;
  padding: 0.75rem 1.25rem;
  /* font-weight: 600; */
  color: #545454;
  cursor: pointer;
}

.global-footprint .divider {
  width: 100% !important;
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.global-footprint .logos img.logo {
  max-height: 70px;
  object-fit: contain;
  transition: filter 0.3s;
}

.global-footprint .logos img.logo:hover {
  filter: grayscale(0%);
}

/* Header start */
/* Custom Header */
.custom-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: transparent;
  color: white !important;
  font-family: "Inter", sans-serif;
}

.custom-header .header-left i {
  font-size: 20px;
  cursor: pointer;
  font-weight: 600 !important;
  transform: scaleX(1.5);
  transform-origin: left center;
}

.custom-header .header-center img {
  max-height: 75px;
  justify-self: center;
  filter: brightness(0) invert(1);
  /* Makes logo white */
}

.custom-header .header-right {
  justify-self: end;
}

.custom-header .header-right a {
  margin-left: 20px;
  color: white !important;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.custom-header .header-right a:hover {
  text-decoration: underline;
}

/* Header end */

/* Menu start */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #ebd2c7;
  z-index: 999;
  padding: 40px 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.menu-overlay.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay .close-btn {
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 20px;
  left: 20px;
  /* instead of left */
  color: #5c4033;
  padding: 0;
  /* remove extra padding */
  z-index: 1001;
  /* ensure it stays above other items */
}

.menu-top a {
  font-size: 0.95rem;
  color: #5c4033;
  text-decoration: none;
}

.menu-columns h3 {
  /* font-family: 'Playfair Display', serif; */
  font-size: 2rem;
  color: #5c4033;
  margin-bottom: 5px;
  cursor: pointer;
}

.menu-columns p {
  font-size: 1.1rem;
  color: #7a5b4c;
  margin-bottom: 20px;
}

.menu-links a {
  font-size: 1.1rem;
  color: #5c4033;
  text-decoration: none;
  white-space: nowrap;
}

.menu-footer {
  padding: 15px 0;
}

.menu-footer .social a {
  font-size: 1.2rem;
  color: #5c4033;
}

.social a {
  font-size: 1.2rem;
  color: #5c4033;
}

.social span,
.apps span {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #5c4033;
}

.social i {
  font-size: 2rem !important;
}

.menu-overlay {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* pushes footer to bottom */
  overflow-y: auto;
  /* allow scroll if content overflows */
  -webkit-overflow-scrolling: touch;
  /* smooth iOS scroll */
  padding-bottom: 80px;
  /* so footer doesn’t stick at edge */
}

.menu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.calendar td .date-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: auto;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

/* hover */
.calendar td .date-num:hover {
  background: #d9a38c;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

/* active */
.calendar td.active .date-num {
  background: #a0522d;
  color: white;
  font-weight: bold;
}


/* Initial hidden state */
.animate-out {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Visible state with slower entrance */
.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease, transform 1.2s ease;
  /* slower in */
}

/* Responsive */
@media (max-width: 768px) {
  .w-md-100 {
    width: 100% !important;
  }

  .hero-title {
    font-size: 1.5rem !important;
    text-align: inherit;
  }

  .hero-subtitle {
    font-size: 0.7rem !important;
    text-align: inherit;
  }

  .menu-overlay {
    padding: 20px;
  }

  .menu-overlay .close-btn {
    top: 15px;
    left: 15px;
  }

  .menu-footer {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .menu-footer .links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .menu-columns {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-columns>div {
    width: 100%;
  }
}

/* =========================
   RESPONSIVE STYLES
   ========================= */

/* Tablets and smaller laptops */
@media (max-width: 1024px) {
  .custom-header {
    padding: 10px 30px;
    grid-template-columns: 40px auto auto;
  }

  .custom-header .header-right a {
    margin-left: 15px;
    font-size: 0.9rem;
  }

  .custom-header .header-center img {
    max-height: 65px;
  }

  .menu-columns h3 {
    font-size: 1.6rem;
  }

  .menu-columns p {
    font-size: 1rem;
  }
}

/* Mobile landscape & portrait */
@media (max-width: 768px) {
  .header-right a:first-child {
    display: none !important;
  }

  .custom-header {
    padding: 10px 20px;
    grid-template-columns: 40px auto 40px;
  }

  /* Hide "ENQUIRY" on small devices */
  .custom-header .onlyPc {
    display: none;
  }

  .custom-header .header-right a {
    margin-left: 10px;
    font-size: 0.85rem;
  }

  .custom-header .header-center img {
    max-height: 55px;
  }

  /* Menu overlay adjustments */
  .menu-overlay {
    padding: 20px 15px;
  }

  .menu-columns .col-md-4 {
    margin-bottom: 25px;
  }

  .menu-columns h3 {
    font-size: 1.4rem;
  }

  .menu-columns p {
    font-size: 0.95rem;
  }

  .menu-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .menu-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .menu-footer .social,
  .menu-footer .apps {
    flex-direction: column;
    gap: 10px;
  }

  .social i {
    font-size: 1.5rem !important;
  }

  .apps img {
    height: 30px;
  }
}

/* Extra small devices (phones <480px) */
@media (max-width: 480px) {
  .custom-header {
    padding: 8px 15px;
  }

  .custom-header .header-center img {
    max-height: 45px;
  }

  .custom-header .header-left i {
    font-size: 18px;
    transform: scaleX(1.3);
  }

  .custom-header .header-right a {
    font-size: 0.8rem;
    margin-left: 8px;
  }

  .menu-columns h3 {
    font-size: 1.2rem;
  }

  .menu-columns p {
    font-size: 0.9rem;
  }

  .social span,
  .apps span {
    font-size: 0.9rem !important;
  }

  .apps img {
    height: 25px;
  }
}

@media (max-width: 500px) {
  .menu-top {
    margin-top: 2rem;
    margin-bottom: 5rem;
  }

  .menu-top a {
    font-size: 0.8rem;
    margin-left: 8px;
  }

  .menu-columns h3 {
    font-size: 1.2rem;
  }

  .menu-columns p {
    font-size: 0.85rem;
  }

  .menu-footer {
    flex-direction: column;
    align-items: center !important;
    gap: 15px;
    text-align: center;
  }

  .apps img {
    height: 28px;
  }

  .py-5.mobile-py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
  .ourstory.mobile-py-5 {
    padding-top: 5rem !important;
    padding-bottom: 10rem !important;
  }
}

@media (max-width: 768px) {

  /* Make menu-links two per row */
  .menu-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    /* two columns */
    gap: 10px 20px;
    /* row gap & column gap */
    text-align: left;
    /* left align text */
  }

  .menu-links a:last-child {
    grid-column: 1 / span 2;
    /* make Site Map full width */
    text-align: left;
  }

  /* Social media inline */
  .menu-footer .social {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px;
  }

  .menu-footer .social span {
    white-space: nowrap;
    /* prevent breaking */
  }

  .menu-footer .apps{
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999; 
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #333; /* dark background */
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  display: none; /* Hidden by default */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#backToTopBtn:hover {
  background-color: #555;
  transform: scale(1.1);
}
