:root {
  --primary-blue: #0a2357;
  --cream-bg: #f9f7e8;
  --whatsapp-green: #25d366;
}

/* HEADER BASE */
.fixed-header {
  background: var(--cream-bg);
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* INNER FLEX */
.header-inner {
  height: 70px;
  position: relative;
}

/* LOGO */
.logo-img {
  height: 50px;
  object-fit: contain;
}

.logo-tagline {
  font-size: 12px;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logo-tagline {
  font-size: 11px;          /* slightly reduce for mobile */
  white-space: nowrap;      /*  prevents line break */
  overflow: hidden;
  text-overflow: ellipsis;  /* optional (if very small screen) */
}

.logo-tagline span {
  width: 20px;
  height: 1px;
  background: var(--primary-blue);
}

/* BUTTON */
.btn-primary-custom {
  background: var(--whatsapp-green);
  color: #fff;
  padding: 8px 18px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary-custom:hover{
  background:#1ebe5d;
}

/* NAV */
.main-nav {
  margin-top: 5px;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
}

.nav-list a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
}

/* MOBILE MENU PANEL */
.mobile-menu {
  position: fixed;
  right: -100%;
  top: 0;
  width: 280px;
  height: 100dvh;
  background: #ffffff;
  z-index: 9999;
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

/* HEADER (MENU + CLOSE BTN) */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  color: var(--primary-blue);
}

/* CLOSE BUTTON */
.menu-header button {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--primary-blue);
  cursor: pointer;
  transition: 0.3s;
}

.menu-header button:hover {
  color: #e91e63;
  transform: rotate(90deg);
}

/* NAV LINKS */
.mobile-menu ul {
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.mobile-menu li a {
  display: block;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
  border-bottom: 1px solid #f1f1f1;
  transition: 0.3s;
}

/* HOVER EFFECT */
.mobile-menu li a:hover {
  background: #f9f7e8;
  color: #e91e63;
  padding-left: 25px;
}

/* CTA BUTTON */
.mobile-cta {
  margin-top: auto;
  padding: 20px;
}

.mobile-cta a {
  display: block;
  text-align: center;
  background: var(--whatsapp-green);
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
  font-size: 12px;
}

.mobile-cta a:hover {
  background: #1ebe5d;
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 9998;
}

.overlay.active {
  display: block;
}


/* HAMBURGER ICON */
.hamburger {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary-blue);
  position: relative;
  transition: 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 2px;
  background: var(--primary-blue);
  left: 0;
  transition: 0.3s;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* BUTTON RESET */
.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}





/* MOBILE CTA */
.mobile-cta {
  padding: 20px;
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
}

.overlay.active {
  display: block;
}



@media (max-width: 992px) {

  .header-inner {
    position: relative;
    height: 70px; /* ensure fixed height */
  }

  .header-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* center both ways */
    text-align: center;
  }

  .menu-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); /* vertical align button */
  }

}

/* RESPONSIVE */
@media (max-width: 768px) {
  .fixed-header {
    height: 80px;
  }

  .logo-img {
    height: 40px;
  }

  .logo-tagline {
    font-size: 10px;
  }
}




.nav-list a {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 17px;     /* increased size initially */
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #e91e63;      /* red on hover */
}

#goTopBtn {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 999;
  background-color: #a10b35;
  color: #fff;
  border: none;
  padding: 12px 15px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
}

#goTopBtn:hover {
  background-color: #a50b36;
  transform: translateY(-3px);
}






/* ================= ICON BUTTON BASE ================= */
.btn-icon-animate {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    color: #fff !important;
    text-decoration: none;
    font-size: 1.3rem;

    border-radius: 50%;
    overflow: visible;

    cursor: pointer;

    animation: breathing 2.5s infinite ease-in-out;
}

/* ================= BACKGROUND ================= */
.btn-icon-animate::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 50px;
    height: 50px;

    background: #16c430;
    border-radius: 50px;

    transition: width 0.4s ease;
    z-index: -1;

    pointer-events: auto; /* keep active after expand */
}

/* ================= ICON ================= */
.btn-icon-animate i {
    z-index: 2;
}

/* ================= TEXT ================= */
.btn-label {
    position: absolute;
    left: 55px;
    white-space: nowrap;

    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s ease;

    font-size: 14px;
    font-weight: 600;

    z-index: 2;

    pointer-events: none; /*  KEY FIX */
}

/* ================= HOVER ================= */
.btn-icon-animate:hover {
    animation-play-state: paused;
}

/* show text + enable interaction AFTER expand */
.btn-icon-animate:hover .btn-label {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto; /*  enable after hover */
}

/* ================= WIDTH CONTROL ================= */
.btn-free:hover::before {
    width: 320px;
}

.btn-contact:hover::before {
    width: 220px;
}

/* ================= RIGHT SIDE ================= */
.header-right .btn-icon-animate::before {
    right: 0;
    left: auto;
}

.header-right .btn-label {
    right: 55px;
    left: auto;
}

/* ================= ANIMATION ================= */
@keyframes breathing {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .btn-label {
    display: none;
  }

  .btn-icon-animate::before {
    width: 50px !important;
  }
}