/* Reusable Components: Buttons, Badges, Cards, Header, Footer */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.btn-accent {
  background-color: var(--accent);
  color: #FFFFFF;
  border: 1px solid var(--accent);
}

.btn-accent:hover {
  background-color: #C2954C;
  border-color: #C2954C;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-light {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* Header */
/* ==========================================
   Rounded Floating Navbar Style (Reference Image Match)
   ========================================== */
.site-header {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1250px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px; /* Fully rounded pill shape */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 1.5rem;
}

/* Nav list alignment */
.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav-link {
  color: var(--text-secondary, #475569);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--primary, #176B87);
  font-weight: 600;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.logo-icon {
  color: var(--primary);
}

.logo-text span {
  color: var(--primary);
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}
/* =========================================================
   FOOTER
   Premium Light Teal Footer
   ========================================================= */

.site-footer {
    background-color: #dde8ec;
    color: #0f4c5c;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* =========================================================
   Footer Brand
   ========================================================= */

.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-center {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 1.25rem;
}

.footer-logo-center img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
}

.footer-brand-col .logo {
    color: #0f4c5c;
    margin-bottom: 1rem;
}

.footer-brand-col p {
    color: #0f4c5c;
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: 420px;
}

/* =========================================================
   Social Links
   ========================================================= */

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
    background: transparent !important;
}

.social-links a:hover {
    opacity: 0.75;
    transform: translateY(-3px);
}

/* =========================================================
   Footer Headings
   ========================================================= */

.footer-col h4 {
    color: #0f4c5c;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* =========================================================
   Footer Links
   ========================================================= */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: #0f4c5c;
    opacity: 0.78;
    font-size: 0.95rem;
    text-decoration: none;
    transition:
        opacity var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
    transform: translateX(3px);
}

/* =========================================================
   Footer Contact
   ========================================================= */

.footer-col p {
    color: #0f4c5c;
    opacity: 0.82;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-col p strong {
    color: #0f4c5c;
    font-weight: 700;
}

.footer-col p a {
    color: #0f4c5c;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition:
        color var(--transition-fast),
        opacity var(--transition-fast);
}

.footer-col p a:hover {
    color: var(--primary);
    opacity: 1;
}

/* =========================================================
   Footer Bottom
   ========================================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 76, 92, 0.15);
    font-size: 0.9rem;
    color: #0f4c5c;
}

.footer-bottom p {
    margin: 0;
    color: #0f4c5c;
    opacity: 0.75;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-legal a {
    color: #0f4c5c;
    opacity: 0.75;
    text-decoration: none;
    transition:
        color var(--transition-fast),
        opacity var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary);
    opacity: 1;
}

/* =========================================================
   Footer Responsive
   ========================================================= */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-brand-col p {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding-top: 4rem;
        padding-bottom: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
        margin-bottom: 3rem;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-logo-center {
        justify-content: flex-start;
    }

    .footer-logo-center img {
        width: 80px;
        height: 80px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-legal {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand-col {
        grid-column: auto;
    }

    .footer-logo-center {
        justify-content: flex-start;
    }

    .footer-brand-col p {
        max-width: 100%;
    }

    .footer-col h4 {
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }

    .footer-links {
        gap: 0.65rem;
    }

    .footer-links a,
    .footer-col p {
        font-size: 0.9rem;
    }

    .footer-bottom {
        text-align: left;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}
.footer-col:last-child p:last-child {
    white-space: nowrap;
    font-size: 0.9rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 76, 92, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 900px;
  width: 90%;
  text-align: center;
}

.lightbox-content img {
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-bottom: 1rem;
}

.lightbox-content p {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 500;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: none;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}