
/* Global */
body {
    background: #f6f7fb;
    font-family: "Poppins", sans-serif;
}

/* Header Top Bar */
.top-bar {
    background: #20418F;
    padding: 10px 0px;
    color: #fff;
    font-size: 14px;
    animation: fadeInDown 0.6s ease;
}
.top-bar a { color: #fff; text-decoration: none; }

/* Header Middle */
.middle-header {
    background: #ffffff;
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    animation: fadeIn 1s ease;
}

.logo-img { width: 190px; }

.logo-text {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}
.logo-text span { color: #f17922; }

/* Button */
.verify-btn {
    background: #20418F;
    padding: 7px 18px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: .3s;
}
.verify-btn:hover {
    background: #f17922;
    transform: scale(1.05);
}

/* Mobile Menu */
.hamburger { display: none; cursor: pointer; }
.hamburger .bar {
    width: 26px; height: 3px;
    background: #20418F;
    margin: 4px 0;
    transition: .3s;
}

/* Navigation */
.main-nav {
    background: linear-gradient(225deg, #20418F 15%, #F17922 15%);
}
.nav-links {
    padding: 8px;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 18px;
}
.nav-links li a {
    color: #fff;
    font-weight: 500;
    padding: 6px 12px;
    transition: .3s;
}
.nav-links li a:hover {
    border-radius: 1px;
    color: #20418F;
}

/* Certificate Box */
.certificate-box {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 3px 18px rgba(0,0,0,0.08);
    animation: fadeInUp 0.7s ease;
}
.ecert-title {
    font-size: 22px;
    font-weight: 700;
    color: #20418F;
}
th, .fw-bold{
    color: #20418f!important;
}
.iias-footer {
                background-color: #20418f; /* Navy blue */
                color: #ffffff;
            }
            .footer-container {
                max-width: 1200px;
                margin: 0 auto;
                padding: 40px 20px;
            }
            .footer-row {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
            }
            .footer-col {
                flex: 1 1 250px;
                margin: 10px;
            }
            .footer-col h3 {
                color: #ff7a00; /* Orange heading */
                font-size: 18px;
                margin-bottom: 12px;
                border-left: 4px solid #ff7a00;
                padding-left: 8px;
            }
            .footer-col p {
                color: #fff;
                line-height: 1.6;
                font-size: 16px;
            }
            p {
                margin-top: 0;
                margin-bottom: 0rem;
            }
            .footer-col ul {
                list-style: none;
                padding: 0;
            }
            .footer-col ul li {
                margin-bottom: 8px;
            }
            .footer-col ul li a {
                text-decoration: none;
                color: #ffffff;
                font-size: 14px;
                transition: 0.3s;
            }
            .footer-col ul li a:hover {
                color: #ff7a00;
                text-decoration: underline;
            }
            .footer-col a {
                color: #ffffff;
                text-decoration: none;
            }
            .footer-col a:hover {
                color: #ff7a00;
            }
/* Footer */
.iias-footer { background: #20418F; color: #fff; margin-top: 60px; }
.footer-bottom { background: #f17922; padding: 12px; }

/* Animations */
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
@keyframes fadeInUp { 
    from {opacity:0; transform: translateY(20px);}
    to {opacity:1; transform: translateY(0);}
}
@keyframes fadeInDown { 
    from {opacity:0; transform: translateY(-20px);}
    to {opacity:1; transform: translateY(0);}
}

/* Responsive */
@media(max-width:768px){
    .hamburger { display: block; }

    .main-nav { display:none; }
    .main-nav.mobile-active { display:block; animation: fadeIn .4s ease; }

    .nav-links { flex-direction: column; text-align:center; background:#20418F; padding:6px; }

    .logo-text { font-size: 20px; margin-top: 10px; }
}

.wp-anim-btn {
    display: inline-block;
    padding: 10px 10px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* 🌟 PULSE BACKGROUND EFFECT */
.btn-style-3 {
    background: #F17922;
    animation: pulseBg 2s infinite ease-in-out;
    font-size: 16px;
    font-weight: 500;
}
@keyframes pulseBg {
    0% { background-color: #F17922; }
    50% { background-color: #ff9a52; }
    100% { background-color: #F17922; }
}

/* ✨ Shine Hover */
.btn-style-3::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-25deg);
    transition: 0.6s;
}
.btn-style-3:hover::after {
    left: 100%;
}

/* 🎨 TEXT + ICON COLOR ANIMATION: White ↔ Blue */
.btn-style-3 span,
.btn-style-3 i {
    animation: blinkColor 1.5s infinite ease-in-out;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}
@keyframes blinkColor {
    0%, 100% { color: #ffffff; }
    50% { color: #0B46FF; }
}

/* 🌊 Ripple effect */
.wp-anim-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: white;
    transform: scale(0);
    opacity: 0.7;
    animation: ripple-effect 0.6s linear;
}
@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
.top-bar .social-links a {
                margin-left: 10px;
            }
            /* ------- TOP MARQUEE (Right → Left) ------- */
.top-marquee {
    background: #20418F;
    color: #fff;
    padding: 7px 0;
    font-weight: 600;
    overflow: hidden;
}
.top-marquee-content {
    white-space: nowrap;
    display: inline-block;
    animation: scrollLeft 18s linear infinite;
    font-size: 15px;
}
@keyframes scrollLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}
.scroll-box {
    width: 100%;
    height: 350px; /* Increased height */
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    position: relative;
  }

  .scroll-content {
    display: inline-block;
    animation: scrollUp 10s linear infinite; /* Slower animation */
    padding-top: 30px;
  }
  
@media (max-width: 600px) {
.scroll-box {
    height: auto;
}
}

  .scroll-box:hover .scroll-content {
    animation-play-state: paused;
  }

  @keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
  }

  ul { list-style: none; padding: 5px; margin: 0; font-size: 13px; }
  li { padding: 2px 0; }

  li.main {
    background: #20418f;
    color: #fff;
    padding: 4px 6px;
    border-radius: 3px;
    margin: 4px 4px;
    font-size: 13px;
    transition: background 0.3s;
    line-height: 30px;
  }

  li.main:hover {
    background: #f17922;
  }

  li.sub {
    color: #000;
    font-weight: normal;
    font-size: 13px;
    padding-left: 10px;
    position: relative;
    line-height: 30px;
  }

  li.sub::before {
    
    color: #20418f;
    font-size: 13px;
  }
   .scrolling-text {
      white-space: nowrap;
      overflow: hidden;
      position: relative;
      flex: 1;
    }

    .scrolling-text p {
      display: inline-block;
      padding-left: 100%;
      animation: scrollText 80s linear infinite;
      color: #20418f;
      font-size: 15px;
    }

    /* ====== ANIMATION ====== */
    @keyframes scrollText {
      from {
        transform: translateX(0%);
      }
      to {
        transform: translateX(-100%);
      }
    }

    /* Hover pause */
    .scrolling-text:hover p {
      animation-play-state: paused;
    }

    /* Optional responsive adjustments */
    @media (max-width: 600px) {
      .scrolling-text p {
        font-size: 13px;
      }
      .highlight-title {
        padding: 8px 14px;
      }
    }
    .highlights-bar {
      display: flex;
      align-items: center;
      background: #ffffff;
      border: 1px solid #cfcfcf;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      overflow: hidden;
      height: 45px;
      margin: 20px auto;
      width: 95%;
      border-radius: 4px;
    }
    .highlights-bar1 {
      display: flex;
      align-items: center;
      background: #ffffff;
      border: 1px solid #cfcfcf;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      overflow: hidden;
      height: 45px;
      width: 95%;
      border-radius: 4px;
    }

    /* Green HIGHLIGHTS label */
    .highlight-title {
      background: #f17922;
      color: #fff;
      font-weight: bold;
      padding: 10px 20px;
      border-right: 2px solid #fff;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .custom-exam-btn {
    display: inline-flex;
    align-items: center;
    background: #1E4BB8; /* Blue background */
    color: #fff;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
    margin-bottom: 15px;
}

.custom-exam-btn:hover {
    background: #163d96;
    transform: translateY(-2px);
}

/* Icon style */
.custom-exam-btn .icon {
    margin-right: 10px;
    font-size: 18px;
}

.button {
  font-size: 1em!important;
  --color-text: #ffffff;
  --color-background: #f17922;
  --color-background-hover: #20418f;
  --color-outline: #f17922;
  --color-shadow: #00000040;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: none;
  border-radius: calc(var(--main-size) * 100);
  padding: 0.33em 0 0.33em 0.66em;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: var(--main-size);
  color: var(--color-text);
  background: var(--color-background);
  box-shadow: 0 0 0.2em 0 var(--color-background);
  animation:
    ripple 1.5s linear infinite,
    colorize 2s infinite;
}

.button a {
  text-decoration: none;
  color: #fff;
  z-index: 1;
}

.button span {
  margin-right: 0.3em;
  text-shadow: 5px 5px 5px var(--color-shadow);
}

.button svg {
  height: 0.8em;
  fill: var(--color-text);
  margin-left: 0.2em;
}

/* Polygon animations */
.button svg polygon:nth-child(1) {
  animation: wave1 2s infinite ease-in-out, opacityWave 2s infinite ease-in-out;
}
.button svg polygon:nth-child(2) {
  animation: wave2 2s infinite ease-in-out, opacityWave 2s infinite ease-in-out 0.2s;
}
.button svg polygon:nth-child(3) {
  animation: wave3 2s infinite ease-in-out, opacityWave 2s infinite ease-in-out 0.4s;
}

@keyframes wave1 {
  0%, 100% { transform: translateY(0px); }
  25% { transform: translateY(-5px); }
  50% { transform: translateY(0px); }
  75% { transform: translateY(5px); }
}

@keyframes wave2 {
  0%, 100% { transform: translateY(0px); }
  25% { transform: translateY(-3px); }
  50% { transform: translateY(0px); }
  75% { transform: translateY(3px); }
}

@keyframes wave3 {
  0%, 100% { transform: translateY(0px); }
  25% { transform: translateY(-7px); }
  50% { transform: translateY(0px); }
  75% { transform: translateY(7px); }
}

@keyframes opacityWave {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Background ripple & colorize */
@keyframes colorize {
  0%, 100% { background: var(--color-background); }
  50% { background: var(--color-background-hover); }
}

@keyframes ripple {
  0% { outline: 0em solid transparent; outline-offset: -0.1em; }
  50% { outline: 0.2em solid var(--color-outline); outline-offset: 0.2em; }
  100% { outline: 0.4em solid transparent; outline-offset: 0.4em; }
}

/* Header Section */
.header-area {
    padding: 15px 20px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-left {
    display: flex;
    align-items: center;
}
.header-left img {
    height: 65px;
    margin-right: 15px;
}
.header-title {
    font-size: 28px;
    font-weight: 800;
    color: #0A2B6C;
}
.header-sub {
    font-size: 13px;
    margin-top: 3px;
    color: #444;
    line-height: 18px;
}

/* Student Verification Button */
.verify-btn {
    padding: 12px 20px;
    border: 3px solid #0A2B6C;
    color: #0A2B6C;
    font-weight: 700;
    font-size: 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}
.verify-btn:hover {
    background: #0A2B6C;
    color: #fff;
}

/* MAIN MENU BAR */
.main-menu {
    background: linear-gradient(225deg, #20418F 15%, #F17922 15%);
    padding: 3px 20px;
    display: inherit;
    align-items: center;
}
.main-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-menu ul li {
    margin-right: 5px;
}
.main-menu ul li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: block;
    padding: 8px;
    color: #fff;
    position: relative;
}

/* Active Menu Highlight */


.main-menu ul li a.active {
    color: #fff;
}
.main-menu ul li a:hover {
    color: #000;
    border: 3px solid #fff;
}