@import url('https://fonts.googleapis.com/css2?family=Libertinus+Sans:ital,wght@0,400;0,700;1,400&display=swap');

/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {  
  margin: 0;
  background-color: #f4f7fb;
  color: #333;
  line-height: 1.6;
}

.blog-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0; /* remove container effect */
  overflow: visible;
}

/* ========== Nav Bar ========== */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #131e3d;
  height: 80px;
  z-index: 1000;
}

.logo {
  width: 120px;
  height: 50px;
  animation: slideInLeft 1s ease;
}

.sub-head {
  font-size: 32px;
  color: #f8f9ff;
  text-align: center;
  flex: 1;
  animation: slideInLeft 1s ease;
}

.contact-btn {
  background-color: #87cdc3;
  color: #000;
  padding: 10px 20px;
  border-radius: 15px;
  font-weight: bold;
  text-decoration: none;
  animation: slideInLeft 1s ease;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #48699d;
}

/* Fixed Contact Button */
.fixed-contact-btn {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  background-color: #7ccabf;
  color: #000;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 12px 12px 0 0;
  font-weight: bold;
  font-size: 1.5rem;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.fixed-contact-btn:hover {
  background-color: #48699d;
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  width: 100%;
  height: 54rem;
  overflow: hidden;
  animation: slideInLeft 3s ease;
  margin: 0;
  padding: 0;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: slideInLeft 1s ease;
}

.hero-section h1 {
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.hero-section .absolute {
  position: absolute;
  inset: 0;
  background-color: rgba(160, 175, 184, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== Content Section ========== */
.content {
  max-width: 1200px;   /* Keeps text readable */
  margin: auto;
  padding: 2rem 1rem;
}

.content section {
  margin-bottom: 2rem;
}

h1 {
  color: #17578b;
  font-size: 2.5rem;
  text-align: center;
}

h2 {
  color: #17578b;
  font-size: 2rem;
}

p {
  font-size: 1.3rem;
}

ul {
  padding-left: 1.5rem;
  gap: 1rem;
}

.fade-in.delay ul {
  font-size: 1rem;
  line-height: 1.8;
  padding-left: 1.8rem;
  color: #000;
  gap: 1rem;
}

.fade-in.delay ul li {
  margin-bottom: 0.6rem;
  
}

.cta-heading {
  text-align: center;
}

/* Info Box & CTA */
.info-box, .cta-box {
  
  padding: 3.4375rem;
  margin-top: 3.125rem;
  border-radius: 0.75rem;
  background-color: #f0f9ff;
}

.cta-box {
  background-color: #e8fff2;
  
  text-align: center;
  color: #317e9f;
}

.cta-box h3 {
  font-size: 2rem;
}

.cta-button {
  display: inline-block;
  margin-top: 1.25rem;
  background-color: #317e9f;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #58c8a4;
}

/* ========== Animations ========== */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.delay {
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ========== Footer ========== */
.site-footer {
  background-color: #131e3d;
  color: #d7d9dd;
  padding: 2rem 1rem;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1050px;
  margin: 0 auto;
  gap: 1rem;
}

.footer-brand {
  flex: 1 1 auto;
  text-align: left;
}

.footer-brand p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #dcdcdc;
}

.footer-logo {
  max-height: 50px;
  width: auto;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff1a;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  background-color: #ffffff33;
  transform: scale(1.1);
}

.footer-social i {
  color: white;
  font-size: 16px;
}

.lastpage {
  text-align: center;
  font-size: 1rem;
  padding-top: 1rem;
  color: #fff;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .cta-btn {
    display: block;
    margin: 1rem auto 0;
  }
}

@media (max-width: 480px) {
 .logo {
    width: 70px;
    height: 20px;
  }
  .sub-head {
    font-size: 0.9rem;
    margin-top: 0px;
  }
  .nav-bar{
    gap: 0.6rem;
  }
  .contact-btn {
    padding: 8px 16px;
    font-size: 0.7rem;
  }
  .hero-section h1 {
    font-size: 2.8rem;
  }
}
