@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Poppins:wght@400;600&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;              /* width of vertical scrollbar */
  height: 10px;             /* height of horizontal scrollbar */
}

::-webkit-scrollbar-track {
  background: #f1f1f1;      /* light background track */
}

::-webkit-scrollbar-thumb {
  background-color: #01354d;   /* dark blue */
  border-radius: 10px;
  border: 2px solid #f1f1f1;   /* adds space around thumb */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #ffc107;   /* golden yellow on hover */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}



.top-bar {
  background-color: #01354d;
  color: #ffc107;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 50px;
  font-family: 'Poppins', sans-serif;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.right-section.top-contact-wrapper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;                 
}

/* Left side layout */
.left-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ca-logo {
  height: 55px;
  width: auto;
  border: 2px solid #ffc107;
  border-radius: 15px;
}

.company-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.company-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.subtitle {
  font-size: 12.5px;
  font-weight: 400;
  margin-top: 3px;
}

/* Right side layout */
.right-section {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13.5px;
}

/* Contact items */
.contact-item {
  white-space: nowrap;
}

/* container that holds both pills */
.top-contact-wrapper {
    display: flex;
    gap: 12px;
    position: absolute;
    right: 30px;
    top: 18px;
    z-index: 50;
}

/* pill (oval shape) */
.top-contact-pill {
    background: #ffc107;          /* yellow */
    color: #01354d;               /* dark blue */
    padding: 6px 18px;
    border-radius: 999px;         /* oval */
    font-size: 0.86rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    white-space: normal;
    max-width: 100%;  
    box-sizing: border-box;  
    text-align: center; 
    border: 2px solid #003B6622;  /* subtle border */
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* smaller screens adjust */
@media (max-width: 768px) {
    .top-contact-wrapper {
        position: static;
        justify-content: center;
        margin-top: 10px;
    }
}



.part:nth-child(1) { animation-delay: 0.3s; }
.part:nth-child(2) { animation-delay: 0.6s; }

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

.site-footer {
  background-color: #01354d;
  font-size: smaller;
  color: white;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 20px;
  text-align: left;
}

.footer-about,
.footer-medium,
.footer-right {
  flex: 1;
  min-width: 200px;
}

.footer-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.email-link {
  color: #ffc107;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

.footer-about{
  flex: 1;
}

.footer-logo {
  color: #ffc107;
  font-size: 1.4rem;
  position: relative;
  display: inline-block;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-logo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: #ffc107; /* golden yellow */
  transition: width 0.6s ease, left 0.6s ease;
}

.footer-logo:hover::after {
  width: 100%;
  left: 0;
}

/* Width + fade animation (slower: 4s total) */
@keyframes underline-pulse {
  0% { width: 0; opacity: 0; }
  50% { width: 100%; opacity: 1; }
  100% { width: 0; opacity: 0; }
} 

.footer {
  background: #01354d; /* Dark navy */
  color: #fff;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-right {
  text-align: right;
  flex: 1;
}

.footer-right h4 {
  margin-bottom: 5px;
  color: #ffc107;
}

.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-right ul li {
  margin-bottom: 8px;
}

.footer-right ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-right ul li a:hover {
  color: #ffc107;
}

.footer-medium {
  margin: 0;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.footer-medium h4 {
  margin-bottom: 5px;
  color: #ffc107;
}

.footer-medium ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-medium ul li {
  margin-bottom: 8px;
}

.footer-medium ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-medium ul li a:hover {
  color: #ffc107;
}

.footer-bottom{
  text-align: center;
  padding-top: 15px;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
}

.footer-bottom a{
  color: #FFF;
  text-decoration: none;
}

.footer-bottom a:hover{
  color: #ffc107;
}


.image-disclaimer {
  font-size: 0.9rem;
  color: #cccccc; /* or a slightly lighter shade than your footer text */
  margin-top: 10px;
  text-align: justify;
}


.scroll-buttons {
  position: fixed;
  right: 5px;
  bottom: 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1200;
  outline: none;
}

.scroll-btn {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  border: none;
  box-shadow: none;
}

.scroll-btn:hover {
  color: #ffc107;
  transform: scale(1.1);
}

.scroll-btn i {
  font-size: 18px;
  outline: none;
  box-shadow: none;
}

nav {
  background-color: #01354d;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  gap: 20px;
}

/* remove dots */
nav ul,
nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* navbar (desktop) */
.navbar {
  margin: 0;
  padding: 0;
  position: static;
  width: 100%;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffc107;
}

/* underline on hover */
.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #ffc107;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

/* hamburger hidden on desktop */
.mobile-menu-btn {
  margin-left: auto;
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.7rem;
  color: #ffc107;
}


/* ===== TABLET + MOBILE ===== */

@media (max-width: 700px) {

  nav {
    position: relative;
    padding: 0.4rem 1rem;
  }

  /* show hamburger */
  .mobile-menu-btn {
    display: block;
  }

  /* hide navbar when in mobile mode */
  .navbar {
    display: flex;
    pointer-events: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    opacity: 0;
    background: #01354d;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1000;
    text-align: right;
    transform: translateY(-30px);
    transition: opacity 0.4s ease, transform 0.4s ease; 
  }

  /* class added by JS when menu is open */
  .navbar.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .navbar li {
    width: 100%;
  }

  .navbar li .nav-link {
    width: 100%;
    padding: 0.7rem 1.2rem;
    font-size: 14px;
    text-align: left;
  }

  .navbar li .nav-link.active {
    color: #ffc107;
  }
}


/* Footer: mobile layout */
@media (max-width: 700px) {

  .footer-container {
    display: flex;
    flex-direction: column;      
    align-items: stretch;
    gap: 24px;
  }

  .footer-about,
  .footer-medium,
  .footer-right {
    width: 100%;
    min-width: auto;
  }

  .footer-medium {
    width: auto;     
    min-width: 0;           
    align-items: flex-end;  
    text-align: right;     
  }

  .footer-medium ul {
    text-align: right;
  }

  /* order: address (about) -> quick links -> services */
  .footer-about  { order: 1; }
  .footer-medium { order: 2; }   /* Quick Links */
  .footer-right  { order: 3; }

  .footer-medium,
  .footer-right {
    text-align: right;
  }
}