* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
	 margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.3;
  max-width: 100%;

}


body {
  -webkit-font-smoothing: antialiased; /* Chrome */
  -moz-osx-font-smoothing: grayscale;  /* Firefox */
  scroll-behavior:smooth !important;
}






body{ background:#EDF2F4;}
.small-cross  { font-size: 12px; }
/* Scrollbar’ın tamamı */
::-webkit-scrollbar {
  width: 4px;           /* Dikey scrollbar genişliği */
  height: 4px;          /* Yatay scrollbar yüksekliği */
}

.btn-primary2 { background: #0A2946; color: #fff; border: none; }

.btn-primary2:hover { background: #0A2946; color: #fff; box-shadow: 0 2px 8px rgba(10,41,70,0.3); }

/* Scrollbar arka planı (track) */
::-webkit-scrollbar-track {
  background: #f1f1f1;   /* Track rengi */
  border-radius: 6px;
}

/* Scrollbar’ın kaydırılan kısmı (thumb) */
::-webkit-scrollbar-thumb {
  background: #888;      /* Thumb rengi */
  border-radius: 6px;
}

/* Hover olunca thumb rengi */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

  :root {
    --iaf-dark: #1c2530;
    --iaf-accent: #ffc107;
    --iaf-light: #ffffff;
  }

  a { text-decoration: none;}
  /* ===== Hero layout ===== */

    .hero-heading {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
  }

     .hero-card {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    min-height: 300px;
    transition: transform .3s cubic-bezier(.22,1,.36,1);
    flex: 1 1 0;
    display: flex;
    align-items: stretch;
  }
  .hero-card:hover { transform: translateY(-8px);}
  .hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10,41,70,0.45);
    z-index: 1;
  }
  .hero-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    width: 100%;
    padding: 2.5rem;
  }
  .hero-card-content h3,
  .hero-card-content p,
  .hero-card-content .card-btn {
    margin-bottom: 0.25rem;
  }
  .hero-card-content h3 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 0.7rem;
  }
  .hero-card-content p {
    color: #f0f0f0;
    font-size: 1rem;
    margin-bottom: 1.1rem;
    font-style: italic;
    text-decoration: none;
  }
  .hero-card-content .card-btn {
    font-size: .8rem;
    text-transform: uppercase;
    font-weight: 700;
    font-style: italic;
    align-self: flex-start;
    margin-bottom: 0;
    background: #fff;
    color:#092947;
  }
    /* Themed colours */
    .nav-logo { height: 140px;}
    .navbar-collapse { padding-top: 70px; }
    .navbar-collapse-scroll { padding-top: 20px; }


.hidden-bar   { opacity: 0; visibility: hidden; transition: opacity .25s ease; }
.second-top-bar,
.iaf-bottom-nav { transition: opacity .25s ease; }


    .navbar-iaf{background:rgba(255,255,255,1);}
    .navbar-iaf .nav-link,.navbar-iaf .navbar-brand{color:#092947; font-size: 17px;}
    .navbar-iaf .nav-link:hover,.navbar-iaf .nav-link:focus{color:#ffc107;}
    .btn-portal{background:#ffc107;border:none;color:#1c2530;}

.second-top-bar.is-hidden {
  display: none !important;  /* !important, bootstrap kurallarını ezer */
}


    .btn-portal:hover{color:#1c2530;filter:brightness(1.1);}  
    /* ========== MEGA MENU BASE STYLES ========== */
    .dropdown-mega{position:static;}
    
    /* ========== ABOUT IAF DROPDOWN STYLES ========== */
    .about-mega-menu {
        width:100%;margin-top:0;background:#ffffff;border-bottom: 2px solid #e2e8f0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-radius: 0 !important;
    }
    .about-mega-col > h6 {
        font-weight:700;font-size:14px;color:#2988BC;text-transform:uppercase;margin-bottom:.8rem;
        letter-spacing: 0.5px;
    }
    .about-mega-col a {
        display:block;padding:.3rem 0;color:#0A2946; font-size: 14px;
        transition: color 0.2s ease;
    }
    .about-mega-col a:hover {
        text-decoration:none;color:#092947;
    }
    .about-mega-col > p {
        text-decoration:none;color:#718096;line-height: 1.5;
    }
    .about-mm-btn {
        background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px solid rgba(74,144,226,0.2);
        color:#0A2946;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    .about-mm-btn:hover {
          background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  border-color: rgba(74,144,226,0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74,144,226,0.15);
    }
    .about-mm-btn:hover i {
        color:#0A2946!important;
        transform: scale(1.05);
    }
    .about-mm-btn i {
        transition: all 0.3s ease;
    }
    .about-mega-menu .text-muted {
        color:#718096!important;
    }
    .about-mega-menu .small {
        color:#4a5568!important;
    }
    .about-learn-more-btn {
        background: #092947;
        border: 2px solid #092947;
        color: #fff !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        border-radius: 8px;
        box-shadow: 0 3px 12px rgba(173, 176, 179, 0.2);
    }
    .about-learn-more-btn:hover {
        background: #092947;
        color: #fff !important;
        border-color: #092947 ;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(9,41,71,0.3);
        opacity: 0.9;
    }
    
    /* ========== MEMBERSHIP DROPDOWN STYLES ========== */
    .member-mega-menu {
        width:100%;margin-top:0;background:#ffffff;border-bottom: 2px solid #e2e8f0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-radius: 0 !important;
    }
    .member-mega-col h6 {
        font-weight:700;font-size:14px;color:#2988BC;text-transform:uppercase;margin-bottom:.8rem;
        letter-spacing: 0.5px;
    }
    .member-mega-col a {
        display:block;padding:.3rem 0;color:#0A2946; font-size: 14px;
        transition: color 0.2s ease;
    }
    .member-mega-col a:hover {
        text-decoration:none;color:#68d391;
    }
    .member-mega-col > p {
        text-decoration:none;color:#718096;line-height: 1.5;
    }
    .member-mm-btn {
        background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px solid rgba(74,144,226,0.2);
        color:#0A2946;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    .member-mm-btn:hover {
         background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  border-color: rgba(74,144,226,0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74,144,226,0.15);
    }
    .member-mm-btn:hover i {
        color:#0A2946!important;
        transform: scale(1.05);
    }
    .member-mm-btn i {
        transition: all 0.3s ease;
    }
    .member-mega-menu .text-muted {
        color:#718096!important;
    }
    .member-h6 {
        font-weight:700;font-size:14px;color:#2988BC;text-transform:uppercase;margin-bottom:.8rem;
        letter-spacing: 0.5px;
    }
    .member-learn-more-btn {
           background: #092947;
        border: 2px solid #092947;
        color: #fff !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        border-radius: 8px;
        box-shadow: 0 3px 12px rgba(173, 176, 179, 0.2);
    }
    .member-learn-more-btn:hover {
           background: #092947;
        border: 2px solid #092947;
        color: #fff !important;
      opacity: 0.9;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(104,211,145,0.3);
    }
    .member-org2-card {
        position:relative;display:block;overflow:hidden;height:130px;box-shadow:0 4px 18px rgba(0,0,0,.02);
    }
    .member-org2-card img {
        position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
    }
    .member-org2-card span {
        position:absolute;inset:0;display:flex;align-items:flex-end;padding:.6rem;font-weight:700;font-size:.9rem;color:#fff;background:linear-gradient(0deg,rgba(0,0,0,.7) 10%,rgba(0,0,0,0) 90%);
    }
    .member-org2-card:hover img {
        filter:brightness(1);transform:scale(1.05);transition:.3s ease-out;
    }
    .member-indiv2-btn {
        display:block;
        width:100%; 
        border:1px solid rgba(74,144,226,0.4);padding:.50rem .75rem;font-weight:600;color:#0A2946;transition:.2s;text-align:center;
        background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    }
    .member-indiv2-btn:hover {
        background:#2989bd;color:#fff; border:1px solid #2989bd; box-shadow:0 6px 20px #2989bd22;
    }
    @media (max-width:991px){
        .member-org2-card{height:110px}
        .member-indiv2-btn{font-size:.9rem}
    }
    
    /* ========== STANDARDS DROPDOWN STYLES ========== */
    .standards-mega-menu {
        width:100%;margin-top:0;background:#ffffff;border-bottom: 2px solid #e2e8f0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-radius: 0 !important;
    }
    .standards-mega-menu h6 {
        font-weight:700;font-size:14px;color:#2988BC;text-transform:uppercase;margin-bottom:.8rem;
        letter-spacing: 0.5px;
    }
    .standards-mega-col a {
        display:block;padding:.3rem 0;color:#0A2946; font-size: 14px;
        transition: color 0.2s ease;
    }
    .standards-mega-col a:hover {
        text-decoration:none;color:#fed7aa;
    }
    .standards-mega-col > p {
        text-decoration:none;color:#718096;line-height: 1.5;
    }
    .standards-mm-btn {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px solid rgba(74,144,226,0.2);
        color:#0A2946;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    .standards-mm-btn:hover {
        background: linear-gradient(135deg, #fed7aa 0%, #ea580c 100%);
        color:#fff;
        box-shadow: 0 4px 15px rgba(254,215,170,0.2);
        transform: translateY(-1px);
        border-color: #fed7aa;
    }
    .standards-mm-btn:hover i {
        color:#fff!important;
        transform: scale(1.05);
    }
    .standards-mm-btn i {
        transition: all 0.3s ease;
    }
    .standards-mega-menu .text-muted {
        color:#718096!important;
    }
    .standards-learn-more-btn {
       background: #092947;
        border: 2px solid #092947;
        color: #fff !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        border-radius: 8px;
        box-shadow: 0 3px 12px rgba(254,215,170,0.2);
    }
    .standards-learn-more-btn:hover {
  background: #092947;
        border: 2px solid #092947;
        color: #fff !important;
        opacity: 0.9;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(254,215,170,0.3);
    }
    
    /* ========== ACCREDITATION DROPDOWN STYLES ========== */
    .accred-mega-menu {
        width:100%;margin-top:0;background:#ffffff;border-bottom: 2px solid #e2e8f0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-radius: 0 !important;
    }
    .accred-mega-col > h6 {
        font-weight:700;font-size:14px;color:#2988BC;text-transform:uppercase;margin-bottom:.8rem;
        letter-spacing: 0.5px;
    }
    .accred-mega-col a {
        display:block;padding:.3rem 0;color:#0A2946; font-size: 14px;
        transition: color 0.2s ease;
    }
    .accred-mega-col a:hover {
        text-decoration:none;color:#0A2946;
    }
    .accred-mega-col > p {
        text-decoration:none;color:#718096;line-height: 1.5;
    }
    .accred-mm-btn {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px solid rgba(74,144,226,0.2);
        color:#0A2946;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    .accred-mm-btn:hover {
        background: linear-gradient(315deg, #f1f5f9 0%, #e2e8f0 100%);
        color:#0A2946;
        box-shadow: 0 4px 15px rgba(196,181,253,0.2);
        transform: translateY(-1px);
        border-color: rgba(74,144,226,0.2);
    }
    .accred-mm-btn:hover i {
        color:#0A2946!important;
        transform: scale(1.05);
    }
    .accred-mm-btn i {
        transition: all 0.3s ease;
    }
    .accred-mega-menu .text-muted {
        color:#0A2946!important;
    }
    .accred-learn-more-btn {
      background: #092947;
        border: 2px solid #092947;
        color: #fff !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        border-radius: 8px;
        box-shadow: 0 3px 12px rgba(254,215,170,0.2);
    }
    .accred-learn-more-btn:hover {
  background: #092947;
        border: 2px solid #092947;
        color: #fff !important;
        opacity: 0.9;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(254,215,170,0.3);
    }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    z-index: 1052;
    background: transparent !important;
    pointer-events: auto;
  }
  .topbar-inner {
    height: 32px;
    width: 100%;
    display: flex;
    align-items: stretch;
    position: relative;
  }
  .topbar-transparent {
    flex: 0 0 450px; /* logo kadar alan bırak, gerekirse ayarla */
    background: transparent;
    z-index: 2;
  }
  .topbar-blue {
    flex: 1 1 auto;
    position: relative;
    background: none;
    z-index: 1;
  }
  .topbar-blue::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0; right: 0;
    background: #092947;
    clip-path: polygon(6px 0,100% 0,100% 100%,0 100%); /* eğik sol kenar */
    /* Yukarıdaki 28px'i border'ın eğimini/başlangıcını ayarlamak için değiştir */
    z-index: -1;
  }
  .topbar-links {
    height: 32px;
    display: flex;
    align-items: center;
    padding-left: 2rem; /* mavi kısmın sola yaklaşma boşluğu */
    gap: 1rem;
  }
  .topbar .nav-link,
  .topbar .dropdown-toggle {
    color: #fff !important;
    font-size: 0.97rem;
    padding: 0 .15rem;
    font-weight: 400;
  }
  .topbar .nav-link:hover {
    color: #ffd700 !important;
  }


        .topbar .nav-link { color:#fff; font-size: 13px; margin-left: 10px;}
    .topbar .nav-link:hover,.navbar-iaf .nav-link:focus{color:#ffc107;}
    /* Allow wrapping on xl screens if many items */
    @media (min-width: 992px){.navbar-nav{flex-wrap:wrap;gap:.3rem;} }
    @media (max-width: 992px){ .hero-card {min-height: 200px;} }

.iaf-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 50px;
  background: #092947;
  box-shadow: 0 -2px 16px rgba(9,41,71,.09);
  z-index: 1031;
  display: flex;
  width: 100%;
}

.iaf-bottom-nav .nav-link {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  color: #fff;
  font-weight: 600;
  font-size: 15px; /* px ile sabit */
  text-transform: uppercase;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,.09);
  background: transparent;
  transition: background .2s, color .2s;
  padding: 0;
  margin: 0;
  letter-spacing: 0.04em;
  box-sizing: border-box; /* Padding ve border dahil */
}

.iaf-bottom-nav .nav-link:last-child { border-right: none; }

.iaf-bottom-nav .nav-icon-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* px ile sabit */
  width: 100%;
}

.iaf-bottom-nav .nav-icon-text i {
  font-size: 22px; /* px ile sabit */
  color: #fff;
  margin-right: 2px;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .iaf-bottom-nav .nav-link { font-size: 13px; }
  .iaf-bottom-nav .nav-icon-text i { font-size: 16px; }
  .iaf-bottom-nav .nav-icon-text { gap: 4px; }
  .iaf-bottom-nav { display: none; }
}

.iaf-bottom-nav .nav-link:hover,
.iaf-bottom-nav .nav-link:focus {
  background: #0c3e66;
  color: #fff;
}
.iaf-hero-imgwrap {
  width: 98%;
  max-width: 500px;
  min-height: 430px;
  aspect-ratio: 4/3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* contain absolute shapes to avoid horizontal scroll */
}

.iaf-bg-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  transition: filter 0.3s;
  opacity: .92;
}
.iaf-bg-shape-1 {
  left: -50px;
  top: 25px;
  width: 190px;
  height: 220px;
  background: radial-gradient(circle at 60% 40%, #2989BD 65%, #0A2946 100%);
  border-radius: 42% 58% 60% 40% / 40% 45% 55% 60%;
  box-shadow: 0 12px 64px #2989bd66;
  transform: rotate(-8deg);
}
.iaf-bg-shape-2 {
  right: -50px;
  bottom: 10px;
  width: 170px;
  height: 150px;
  background: linear-gradient(120deg,#0A2946 80%, #2989BD 100%);
  border-radius: 64% 36% 48% 52%/40% 64% 36% 60%;
  box-shadow: 0 8px 48px #0a294688;
  transform: rotate(6deg);
}

.iaf-hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 350px;
  aspect-ratio: 4/3;
  border-radius: 2.5rem 1.5rem 3.5rem 1.5rem;
  overflow: hidden;
  background: linear-gradient(135deg,#1c2530 5%,#f7fafc 80%);
  transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.2s;
}
.iaf-hero-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: brightness(0.92) contrast(1.04) saturate(1.08);
  transition: transform 0.6s cubic-bezier(.4,2,.2,1), filter 0.2s;
}
.iaf-hero-image-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 2.5rem 1.5rem 3.5rem 1.5rem;
  opacity: 0.67;
  z-index: 3;
  transition: opacity 0.3s;
}
.iaf-hero-image:hover img {
  transform: scale(1.037) rotateZ(-1.3deg);
  filter: brightness(1.09) contrast(1.10) saturate(1.16);
}
.iaf-hero-image:hover .iaf-hero-image-glow {
  opacity: 1;
}
@media (max-width: 900px) {
  .iaf-hero-imgwrap { min-height: 230px; }
  .iaf-hero-image { min-height: 200px; border-radius: 2rem 1rem 2rem 1rem;}
  .iaf-bg-shape-1, .iaf-bg-shape-2 { width:120px;height:100px;}
}


/* Organizational Members Overlay Cards */


/* Standards Cards - New Version with Badges */
.standards-card-v2 {
  position: relative;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid rgba(74,144,226,0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.standards-card-v2:hover {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  border-color: rgba(74,144,226,0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74,144,226,0.15);
}

.standards-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(245,158,11,0.3);
  z-index: 2;
}

.standards-card-content {
  padding: 1.3rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.standards-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.standards-header i {
  font-size: 2.2rem;
  color: #4a90e2;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.standards-card-v2:hover .standards-header i {
  color: #2c5aa0;
  transform: scale(1.05);
}

.standards-header div {
  flex: 1;
}

.standards-header h6 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.standards-header p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .standards-card-content {
    padding: 1rem;
  }
  .standards-header {
    gap: 0.8rem;
  }
  .standards-header i {
    font-size: 1.8rem;
  }
  .standards-header h6 {
    font-size: 0.9rem;
  }
  .standards-header p {
    font-size: 0.8rem;
  }
  .standards-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
  }
}

/* Standards Overview Text Styling */
.standards-overview-text .lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e3a5f;
  line-height: 1.4;
}

.standards-overview-text p.small {
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Standards Cards - Minimal Design (keep old version for compatibility) */
.standards-card {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.standards-card-inner {
  padding: 1.5rem;
  border: 1px solid rgba(74,144,226,0.15);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(74,144,226,0.03) 0%, rgba(255,255,255,0.8) 100%);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.standards-card:hover .standards-card-inner {
  border-color: rgba(74,144,226,0.4);
  background: linear-gradient(135deg, rgba(74,144,226,0.08) 0%, rgba(255,255,255,0.95) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(74,144,226,0.15);
}

.standards-card-inner i {
  font-size: 2.5rem;
  color: #4a90e2;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.standards-card:hover .standards-card-inner i {
  color: #2c5aa0;
  transform: scale(1.1);
}

.standards-card-inner h6 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.standards-card-inner p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .standards-card-inner {
    padding: 1.2rem;
  }
  .standards-card-inner i {
    font-size: 2rem;
  }
  .standards-card-inner h6 {
    font-size: 1rem;
  }
  .standards-card-inner p {
    font-size: 0.85rem;
  }
}

.mega-overlay {
  position: fixed;
  inset: 0;               /* avoids 100vw/100vh overflow issues */
  background: rgba(0,0,0,.7);
  z-index: 1001;          /* below anything we click */
}


/* sidebar */

 :root {
    --af-navy: #354D81;
  }
  /* Overlay */
  .af-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    z-index: 1055;
  }
  .nav-link { cursor: pointer;}
  /* Sidebar */
  .af-sidenav {
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    width: 320px;                /* desktop */
    max-width: 85vw;
    transform: translateX(-100%);
    transition: transform .4s ease;
    z-index: 1090 !important;
    background: #0A2945;
    overflow-y: auto;
  }
  /* Mobile width */
  @media (max-width: 991.98px){
    .af-sidenav { width: 85vw; }
    .nav-logo { height: 80px;}
  }

  /* Open state */
  .af-sidenav.af-open   { transform: translateX(0); }
  .af-overlay.af-open   { opacity: 1; visibility: visible; }

  /* Internal nav */
  .af-nav   a { display:block; padding:.35rem 0; color:#fff; text-decoration:none; }
  .af-nav   a:hover,
  .af-nav   a:focus { text-decoration:underline; }
  .af-heading  { margin-top:1.25rem; font-size:.875rem; text-transform:uppercase; opacity:.65; }
  .af-nav ul   { padding-left:1rem; margin-bottom:0; list-style:none; }

  /* Close button */
/* ↑ Replace previous .af-close rule with this */
.af-close{
  position:fixed;
  z-index: 1100; /* Above sidebar */
  top:20px; right:20px;

  /* Bigger, perfectly round click-target */
  width:48px; height:48px;
  padding:0;
  border:none; border-radius:10%;

  /* Eye-catching gradient pill-red */
  background:linear-gradient(135deg,#e54444 0%,#b70000 100%);
  color:#fff;                 /* white “×” */
  font-size:3rem;             /* larger glyph */
  line-height:1;
  text-decoration: none;
  
  /* Subtle depth */
  box-shadow:0 2px 6px rgba(0,0,0,.35);
  opacity:.9;
 align-items:center; justify-content:center;

  /* Micro-interaction */
  transition:transform .2s ease, opacity .2s ease;
}
.af-close:hover,
.af-close:focus{
  transform:scale(1.1);
  opacity:1;
}
.af-close:active{ transform:scale(.95); }


  /* Optional scrollbar styling (WebKit) */
  .af-body::-webkit-scrollbar { width:8px; }
  .af-body::-webkit-scrollbar-thumb { background:#54679f; border-radius:4px; }

/* ===== IAF CUSTOM BUTTON STYLES ===== */
.btn-iaf {
  background: linear-gradient(135deg, #0A2946 0%, #2989BD 100%);
  color: white;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(10, 41, 70, 0.2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-iaf:hover {
  background: linear-gradient(135deg, #2989BD 0%, #0A2946 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(10, 41, 70, 0.3);
  text-decoration: none;
}

.btn-iaf:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(10, 41, 70, 0.4);
}

.btn-iaf:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(41, 137, 189, 0.3);
}

/* Large size */
.btn-iaf.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Small size */
.btn-iaf.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

/* Outline variant */
.btn-iaf-outline {
  background: transparent;
  color: #0A2946;
  border: 2px solid #0A2946;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-iaf-outline:hover {
  background: linear-gradient(135deg, #0A2946 0%, #2989BD 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 41, 70, 0.3);
  text-decoration: none;
}

/* Light variant */
.btn-iaf-light {
  background: rgba(255, 255, 255, 0.95);
  color: #0A2946;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-iaf-light:hover {
  background: white;
  color: #0A2946;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

