/* --- GENERAL --- */
html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth; /* optional, smooth scroll */
}

html {
  overflow-y: scroll;
  height: 100vh;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  margin-bottom: 0;
  padding: 0;
  background-color: #1e3f66;
  z-index: 9999;
  border: 0;
  font-size: 12px !important;
  line-height: 1.42857143 !important;
  letter-spacing: 4px;
  border-radius: 0;
  transition: background-color 0.3s;
}

/* Navbar with transparent functionality - for landing page */
.navbar.navbar-transparent {
  background-color: transparent !important;
}

/* Navbar style on scroll */
.navbar.scrolled {
    background-color: #1e3f66 !important;
}

/* Navbar logo image */
.navbar .navbar-brand img {
  max-height: 40px; 
  width: auto;
}

/* Navbar brand text */
.navbar .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  font-family: "Cinzel", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

/* Navbar brand and link colors */
.navbar .navbar-brand,
.navbar .nav-link {
  color: #fff !important;
}

/* Navbar link hover effect */
.navbar .nav-link:hover,
.navbar .nav-item.active .nav-link {
  color: #2c5f88 !important;
  background-color: #fff !important;
}

/* Navbar toggler button */
.navbar .navbar-toggler {
  border-color: transparent;
  color: #fff !important;
}

/* Navbar toggler icon */
.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- JUMBOTRON, LANDING PAGE --- */
.argo-jumbotron {
  height: 100vh;
  background: linear-gradient(rgba(30, 63, 102, 0.8), rgba(30, 63, 102, 0.8)),
      url("../storage/images/background_sea_fallback.jpg") center/cover no-repeat; /*@supports!*/
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

/* WebP, if browser supports WebP use it instead of jpg*/
@supports (background-image: url("image.webp")) {
  .argo-jumbotron {
    background: 
      linear-gradient(rgba(30, 63, 102, 0.8), rgba(30, 63, 102, 0.8)),
      url("../storage/images/background_sea.webp") center/cover no-repeat;
  }
}

/* Jumbotron text color */
.argo-jumbotron h1,
.argo-jumbotron p {
  color: #fff;
}

/* Jumbotron title text */
.argo-title {
  font-family: "Cinzel", serif;
  font-size: 4rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

/* Jumbotron subtitle text */
.argo-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #cfd9e3;
}

/* Jumbotron tagline text */
.argo-tagline {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.1rem;
  color: #9fb4cc;
}

/* Jumbotron motto's author text */
.argo-author-credit {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: #89a0bb !important;
}

/* Jumbotron button */
.argo-jumbotron .btn {
  font-family: "Inter", sans-serif;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}

/* Jumbotron button hover effect */
.argo-jumbotron .btn:hover {
  background-color: #fff;
  color: #1e3f66;
}

/* --- SOCIAL ICONS INSIDE JUMBOTRON --- */
.argo-jumbotron .social-icons {
  position: absolute;
  top: 60px; /* How much below navbar */
  right: 10px; /* Position the icons on the right side */
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.argo-jumbotron .social-icons a {
  color: #fff;
  margin-bottom: 5px; /* Margin between two icons */
  padding: 1; /* Remove padding to make the icons smaller */
  border: 0; /* Remove border from buttons to make them smaller */
  background-color: transparent;
  font-size: 10px;
  transition: color 0.3s ease;
}

/* Icon size */
.argo-jumbotron .social-icons a i {
  font-size: 10px;
}

.argo-jumbotron .social-icons a:hover {
  color: #2c5f88; /* Hover color */
}

/* --- SECTIONS --- */
/* Anchor for offsetting scroll position */
.section-anchor {
  position: relative;
  top: -80px; /* Same as navbar height */
  height: 0;
}

/* --- ABOUT SECTION --- */
#about {
  max-width: 85%; 
  margin: 0 auto;
  background-color: #ffff; 
}

#about .display-4 {
  color: #1e3f66;
}

#about .lead {
  color: #2c5f88;
}

#about .btn-primary {
  background-color: #1e3f66;
  border-color: #1e3f66;
}

#about .btn-primary:hover {
  background-color: #2c5f88;
  border-color: #2c5f88;
}

/* --- PARTNER SECTION --- */
#partners {
  max-width: 90%; 
  margin: 0 auto;
  background-color: #ffffff; 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Soft shadow for subtle depth */
}

#partners .display-4 {
  font-family: 'Cinzel', serif; 
  color: #333333; 
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#partners .lead {
  color: #666666; 
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: 'Cinzel', serif; 
}

#partners .btn-primary {
  background-color: #1e3f66; 
  border-color: #1e3f66;
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

#partners .btn-primary:hover {
  background-color: #2c5f88; 
  border-color: #2c5f88;
  transform: translateY(-3px); 
}

#partners .logos {
  display: flex;
  justify-content: center;
  gap: 30px;
}

#partners .partner-logo {
  max-width: auto;
  height: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#partners .partner-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}


/* --- BLOG/EVENTS SECTION --- */

/* Adjust carousel width */
#eventsCarousel, #eventsCarouselDesktop, #eventsCarouselMobile {
  max-width: 95%; /* Or any other percentage, e.g., 75%, 90% */
  margin: 0 auto; /* Centers the carousel */
}

/* Move carousel indicators down */
#eventsCarouselDesktop .carousel-indicators,
#eventsCarouselMobile .carousel-indicators {
  bottom: -20px; /* Adjust this value as needed */
}

/* blog section styling */
#blog {
  min-height: 300px !important;
  margin-top: 80px; /* to push below navbar */
}

/* Card base style */
#blog .card {
  border: none;
  height: 550px; /* Fixed card height */
  display: flex;
  flex-direction: column; /* Allow content to flow vertically */
  transition: transform 0.3s;
  overflow: hidden; /* Ensure content stays within card boundaries */
}

/* Card content (title, text) */
#blog .card-body {
  display: flex;
  flex-grow: 1; /* Allow content to grow */
  flex-direction: column; /* Stack content vertically */
  justify-content: space-between; /* Space out content */
}

/* Ensure the button is always at the bottom and aligned left */
#blog .card-body .btn-outline-secondary {
  margin-top: auto; /* Push button to the bottom */
  align-self: flex-start; /* Align button to the left */
  width: auto; /* Prevent button from stretching */
}

/* Card hover effect */
#blog .card:hover {
  transform: translateY(-10px);
}

/* Card title color */
#blog .card-title {
  color: #1e3f66;
  margin-bottom: 1rem; /* Space between title and text */
}

/* Card button style */
#blog .btn-outline-secondary {
  color: #1e3f66;
  border-color: #1e3f66;
}

/* Card button hover effect */
#blog .btn-outline-secondary:hover {
  background-color: #1e3f66;
  color: #fff;
}

#blog .card-img-top {
  height: 350px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* Show more button, index */
.btn.btn-outline-secondary.argo-blog-more-btn {
  font-family: "Inter", sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  padding: 0.8rem 2.2rem !important;
  border-radius: 8px !important;
  letter-spacing: 0.5px !important;
  background-color: transparent !important;
  color: #1e3f66 !important;
  border: 2px solid #1e3f66 !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn.btn-outline-secondary.argo-blog-more-btn:hover {
  background-color: #1e3f66 !important;
  color: #fff !important;
  border-color: #1e3f66 !important;
}

.show_more_button,
.show_more_group_button {
  font-weight: bold;
  cursor: pointer;
}

.show_more_container,
.show_more_group_container {
  display: none;
}

/* --- FOOTER --- */
/* Footer base style: light bg, subtle border, main font */
footer {
  background-color: #f8f9fa; /* light background similar to bg-light */
  border-top: 1px solid #e3e6ea; /* subtle top border for separation */
  font-family: "Inter", sans-serif;
  color: #1e3f66; /* main dark blue color */
  padding: 1.5rem 0;
}

/* Footer container: flex layout, spaced and aligned nicely */
footer .container {
  display: flex;
  flex-wrap: wrap; /* wrap on small screens */
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

/* Left section: logo + Bootstrap 5 text */
footer .logo-text {
  font-family: "Cinzel", serif; /* heading font for logo text */
  font-weight: 700;
  font-size: 2rem;
  color: #1e3f66;
  display: flex;
  align-items: flex-start;;
  gap: 0.5rem; /* space between logo and text */
}

/* Center section: main text + company name, centered */
footer .center-text {
  text-align: center;
  flex-grow: 1; /* take available space */
}

/* Main text in center with Cinzel font, bigger and bold */
footer .center-text .main-text {
  font-family: 'Lora', serif; /* or Cormorant Garamond */
  font-size: 1.5rem;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

/* Sub-text with Inter, lighter blue */
footer .center-text .sub-text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #2c5f88;
}

/* Right section: contact info and social icons */
footer .contact {
  text-align: right;
  font-size: 0.9rem;
  color: #1e3f66;
  min-width: 180px; /* keep some width for layout consistency */
  max-width: 190px;
}

/* Contact email link style */
footer .contact a {
  color: #1e3f66;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Contact email hover effect */
footer .contact a:hover {
  color: #2c5f88;
}

/* Social icons container spacing */
footer .social-icons {
  margin-top: 0.5rem;
}

/* Social icons base style: color, size and spacing */
footer .social-icons a {
  color: #1e3f66;
  margin-left: 1rem;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

/* Social icons hover color change */
footer .social-icons a:hover {
  color: #2c5f88;
}

/* Creator credit text below footer, muted and italic */
footer .creator-credit {
  text-align: center;
  color: #6c757d; /* muted gray */
  font-size: 0.8rem;
  font-style: italic;
}


/* --- RESPONSIVE --- */
@media (max-width: 767px) {
  /* Stack footer content vertically and center align on small screens */
  footer .container {
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    text-align: center;
    gap: 1.5rem; /* Add space between stacked items */
  }

  /* Center logo text content */
  footer .logo-text {
    justify-content: center;
  }

  /* Adjust contact section for centered layout */
  footer .contact {
    text-align: center;
    min-width: auto;
    max-width: 100%; /* Allow it to take full width */
    margin-top: 0; /* Remove margin, use gap instead */
  }

  /* Reduce side margin on social icons */
  footer .social-icons a {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  /* Reduce letter spacing in navbar */
  .navbar {
    letter-spacing: 2px;
  }

  /* Responsive font sizes for smaller screens */
  .argo-title {
    font-size: 2.5rem;
  }

  .argo-subtitle {
    font-size: 1.1rem;
  }

  .argo-tagline {
    font-size: 1rem;
  }

  #about .display-4,
  #partners .display-4 {
    font-size: 2.2rem;
  }

  /* Adjust partner logos for mobile */
  #partners .partner-logo {
    height: 150px;
  }

  /* Make blog cards responsive */
  #blog .card {
    height: auto; /* Let content define height */
    margin-bottom: 1.5rem;
  }

  #blog .card-img-top {
    height: 250px; /* Adjust image height for mobile */
  }

  #blog .card-title {
    font-size: 1.2rem;
  }

  #blog .card-text {
    font-size: 0.9rem;
  }

  /* Center cards in mobile carousel */
  #eventsCarouselMobile .carousel-item .card {
    width: 80%;
    margin: 0 auto;
  }
}
/* ------ */



/* --- CURRENTLY UNUSED --- */
.logo {
  font-size: 200px;
}

.bg-grey {
  background-color: #f6f6f6;
}

/* --- PAGE TEMPLATE --- */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrap {
  flex: 1;
  padding-top: 80px; /* Push content below the fixed navbar */
  background-color: #f6f6f6; /* Light gray background */
}