/* ===============================
   GLOBAL RESPONSIVE DESIGN LAYER
   Works with Bootstrap
   =============================== */

/* ==== Base (large screens / desktops) ==== */
/* You can keep your existing big-screen styles here */
  /* Box sizing to include padding/border in width calculations */
    *, *::before, *::after {
      box-sizing: border-box;
    }
html {
  scroll-behavior: smooth;
    margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-size: 1rem;
  line-height: 1.6;
  font-family:var( --font-primary);
  color: var( --primary-color);
  background-color: #fafafa;
  margin: 0;
  padding: 0;
   overflow-x: hidden;
   
   
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; }
h3 { font-size: 2rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 500; }
h5 { font-size: 1.25rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }
p  { font-size: .95rem; }
/*p  { font-size: 1.1rem; }*/


/* Buttons - large screens */
.btn {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 0.5rem;
}

/* Images - prevent overflow */
img {
  max-width: 100%;
  height: auto;
}
.card {
  color:var(--primary-color);
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 10px 20px rgba(22, 58, 94, 0.15);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

/* Optional Hover Effect */
.card.hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 30px rgba(22, 58, 94, 0.25);
}

/* Card Heading */
.card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  }

/* Card Text */
.card p {
  color: var(--text-muted);
  line-height: 1.5;
}

 .page-title {
      margin-bottom: 1.5rem;
      text-align: center;
      position: relative;
      user-select: none;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-family: 'Inter', sans-serif;
      display: inline-block;
      padding-bottom: 0.4rem;
      animation: slideIn 1.5s ease forwards;
      opacity: 0;
    }

    .page-title::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: 0;
      width: 60%;
      height: 1px;
      background: var(--primary-color);
      border-radius: 1.5px;
      transform: translateX(-50%);
      animation: underlineExpand 2s ease forwards;
      opacity: 0.7;
    /*  filter: drop-shadow(0 0 1px var(--primary-color));*/
    }

    @keyframes underlineExpand {
      0% {
        width: 0;
        opacity: 0;
      }

      100% {
        width: 60%;
        opacity: 0.7;
      }
    }

    @keyframes slideIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }

      from {
        opacity: 0;
        transform: translateY(20px);
      }
    }


/* ===========================
   Responsive Design
   =========================== */

/* Tablets */
/*@media (max-width: 992px) {

  .card h4 {
    font-size: 1.3rem;
  }
  .card p {
    font-size: 0.95rem;
  }
}*/

/* ==== Medium screens (tablets, < 992px) ==== */
@media (max-width: 992px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.6rem; }
  h4 { font-size: 1.3rem; }
  h5 { font-size: 1.1rem; }
  h6 { font-size: 0.95rem; }
  p  { font-size: .90rem; }

  .btn {
    padding: 0.6rem 1.6rem;
    font-size: 0.95rem;
  }


    .card {
    padding: 1.25rem;
  }
}

/* ==== Small screens (mobiles, < 576px) ==== */
@media (max-width: 576px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.4rem; font-weight: 500; }
  h4 { font-size: 1.2rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.9rem; }
  p  { font-size: 0.88rem; }

  .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Tighten section spacing on very small screens */
  section {
    padding: 1.5rem 0rem;
  }

    .card {
    padding: 1rem;
    box-shadow: 0 6px 12px rgba(22, 58, 94, 0.12);
  }

}

