:root {
    /* brand colours */
    --iu-blue: #2c3848; /* dark navy */
    --iu-yellow: #fbac1b; /* golden yellow */
    --iu-gray-1: #f8f9fa; /* light‑gray backdrop */
}

html,
body {
    font-family: "Open Sans", sans-serif;
}

/* introduction button style in home page */
.btn-yellow {
    background-color: #ffc107; /* Original yellow color */
    border: none;
    color: #000;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-yellow:hover {
    background-color: #e0a800; /* Slightly darker yellow on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.btn-yellow:active {
    transform: translateY(0);
}

/* =========================== Header style for all pages =====================================================================  */

/* ---------- 1. Heading section ---------- */
.iu-logo {
    max-width: 180px;
    height: auto;
    transition: all 0.3s ease;
}

.iu-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2937;
    margin-bottom: 0.5rem !important;
}

.iu-sub {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
}

.country-dropdown .btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    color: var(--primary-color);
    background-color: white;
    transition: all 0.2s ease;
}

.country-dropdown .btn:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

.country-dropdown .dropdown-menu {
    min-width: 160px;
    font-size: 0.85rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.country-dropdown .dropdown-item {
    padding: 0.4rem 1rem;
    color: var(--text-color);
}

.country-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.text-danger {
    color: var(--secondary-color) !important;
    transition: all 0.2s ease;
}

.text-danger:hover {
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .iu-title {
        font-size: 1.6rem;
    }

    .iu-sub {
        font-size: 1rem;
    }

    /* Right side container needs minimum height for absolute positioning */
    .col-md-2.position-relative {
        min-height: 200px;
        margin-bottom: -30px;
    }
}

.hidden-notice {
    display: none;
}

@media (min-width: 992px) {
    .iu-title {
        font-size: 2rem;
    }

    .iu-sub {
        font-size: 1.5rem;
    }

    .iu-logo {
        max-width: 200px;
    }
}

@media (max-width: 767.98px) {
    .iu-logo {
        max-width: 120px;
    }

    .country-dropdown {
        position: absolute;
        top: 10px;
        right: 15px;
    }

    .iu-sub br {
        display: none;
    }

    /* Show email on mobile but position it differently */
    .text-danger.small {
        position: static;
        display: block !important;
        text-align: right;
        margin-top: 5px;
    }
}

@media (max-width: 575.98px) {
    .iu-title {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .iu-sub {
        font-size: 0.8rem;
    }

    .container {
        padding-top: 1rem !important;
        padding-bottom: 0.5rem !important;
    }
}
/* ---------- Menu bar ---------- */
.navbar-iu {
    background-color: #f6f6f6 !important;
}

.navbar-iu .nav-link {
    font-weight: 600;
    color: #000 !important;
    padding: 8px 15px;
    border-radius: 4px;
    margin: 0 10px;
}

.navbar-iu .nav-link:hover {
    background-color: #fbac1b;
}

.navbar-iu .nav-link.active {
    color: #000 !important;
    background-color: #fbac1b;
}

.navbar-iu .dropdown-menu {
    background-color: var(--iu-yellow);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-iu .dropdown-item {
    font-weight: 600;
    color: #000;
}

.navbar-iu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Hover dropdown styles */
@media (min-width: 768px) {
    .dropdown-hover:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown-hover .dropdown-menu {
        display: none;
    }

    .dropdown-hover .dropdown-toggle:focus + .dropdown-menu {
        display: block;
    }
}

/* =========================== Footer style for all pages =====================================================================  */

/* ---------- Footer ---------- */
/* Core footer styles */
.iu-footer {
    background: var(--iu-blue);
    color: #fff;
    font-size: 0.85rem;
}

.iu-footer a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.iu-footer a:hover {
    text-decoration: underline;
    font-size: 14px;
}

/* Heading + icon alignment */
.footer-title {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    text-transform: none; /* keep your original case */
}

/* List bullets (use default discs) */
.iu-footer ul {
    list-style: disc;
}

/* Nice spacing between list items */
.iu-footer ul li {
    margin-bottom: 0.25rem;
}

/* Slightly larger headings on medium+ screens */
@media (min-width: 768px) {
    .footer-title {
        font-size: 1.3rem;
    }
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 0rem !important;
}

.policy-links {
    font-size: 1.4rem;
    background: #222; /* dark background */
    color: #fff;
    padding: 0.75rem 0;
}

.policy-links a {
    color: #fff;
    margin: 0 0.25rem;
    text-decoration: none;
}

.policy-links a:hover {
    text-decoration: underline;
}

.policy-links .divider {
    margin: 0 0.25rem;
    color: #ccc;
}

/* flags css */
.flag-section {
    background-color: #f5f5f5;
    padding: 20px 0;
    overflow: hidden;
    border-top: 2px solid #ccc;
}

.flag-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.flag-track {
    display: flex;
    width: max-content;
    animation: scrollFlags 25s linear infinite;
}

.flag {
    width: 150px;
    height: auto;
    margin: 0 40px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.flag:hover {
    transform: scale(1.1);
}

@keyframes scrollFlags {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .flag {
        width: 80px;
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    .flag {
        width: 50px;
        margin: 0 10px;
    }
}

/* ===========================================================home page styling================================================= */

/* ---------- 3. Latest‑news ticker ---------- */
.news-bar {
    background: #2c3848;
    color: #fff;
    font-weight: 600;
    overflow: hidden;
    font-family: "Segoe UI", sans-serif;
}

.news-label {
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-left: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-label:hover {
    transform: translateX(3px);
}

.highlighted-text {
    background: linear-gradient(129deg, #888f98 0%, #2c3848 100%);
    padding: 3px 12px;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.99em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
    margin-left: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.news-label:hover .highlighted-text {
    background: linear-gradient(90deg, #2c3848 0%, #888f98 100%);
    transform: scale(1.05);
}

.ticker-wrapper {
    overflow: hidden;
    flex: 1;
    position: relative;
    margin-right: 15px;
}

.news-ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 14s linear infinite;
    padding-right: 20px;
}

.ticker-link {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    animation: zoom 3s ease-in-out infinite;
    font-weight: 500;
}

/* .ticker-link:hover {
    color: #4facfe;
  text-decoration: underline;  
} */

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.4);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 6px rgba(79, 172, 254, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0);
    }
}

/* ---------- Cards ---------- */
.card-dark {
    background: var(--iu-blue);
    color: #fff;
}
.card-dark .card-title {
    font-weight: 700;
}
.btn-yellow {
    background: var(--iu-yellow);
    font-weight: 700;
    border: none;
    color: #000;
}
.btn-yellow:hover {
    filter: brightness(0.9);
}

/* ---------- 6. Registration process ---------- */
/* Container */
.registration-section {
    text-align: center;
    padding: 40px 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.registration-title {
    font-size: 42px;
    font-weight: 500;
    color: #333;
    margin-bottom: 30px;
}

/* Flex row */
.registration-steps {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
}

/* Wrapper with step number above */
.step-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    width: 186px;
    /* height: 127px; */
    box-shadow: 0 7px 16px rgb(13 59 102 / 55%);
}

/* Top number */
.step-number {
    border-radius: 8px;
    font-size: 45px;
    font-weight: bold;
    color: #2c3848;
    margin-bottom: -15px;
    z-index: 1;
}

/* Card */
.step-card {
    border-radius: 8px;
    box-shadow: -10px 11px 0px #2c3848;
    padding: 22px 15px;
    width: 102%;
    position: relative;
    height: 180px;
    /* padding-bottom: 10px; */
}

/* Icon */
.step-icon {
    font-size: 37px;
    color: #4d4d4d;
    margin-bottom: 8px;
}

/* Step label (blue text) */
.step-label {
    font-size: 19px;
    color: #2c3848;
    font-weight: 600;
    /* margin-bottom: 5px; */
    margin-top: 10px;
}

/* Description text */
.step-text {
    font-size: 21px;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .registration-steps {
        flex-direction: column;
        align-items: center;
    }
}

/* ===========================================================home page styling End================================================= */

/* public section css of home page */

:root {
    /* brand colours */
    --iusae-blue: #2c3848;
    --iusae-blue-light: #2c3848;
    --iusae-grey-100: #f5f5f5;
    --iusae-grey-200: #eeeeee;
    --iusae-grey-300: #e0e0e0;
}

/* ===== generic cards & wrappers ===== */
.wrapper {
    background: #2c3848;
    border: 4px solid var(--iusae-blue);
    border-radius: 18px;
    padding: 26px 20px;
    margin-block: 32px;
}

.card-white {
    margin-bottom: 10px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* normal shadow */
}

/* header inside white cards */
.card-header-bar {
    background: var(--iusae-grey-100);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header-bar h5 {
    font-weight: 600;
    margin: 0;
    font-size: 1.35rem;
}
.card-header-bar i {
    font-size: 1.55rem;
    color: #666;
    cursor: pointer;
}

/* list items in Public Notices & News */
.list‑item {
    background: #ffffff;
    border: 1px solid var(--iusae-grey-300);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.list‑item::before {
    content: "\2022"; /* bullet */
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.1rem;
    color: var(--iusae-blue);
}

/* view more button */
.btn‑iusae {
    background: var(--iusae-blue);
    color: #fff;
    font-weight: 600;
    padding: 9px 26px;
    border-radius: 12px;
    font-size: 0.95rem;
}
.btn‑iusae:hover {
    background: var(--iusae-blue-light);
    color: #fff;
}

/* ==== Right Column (blue background card) ==== */
.card-dark {
    background-color: #2c3848;
    color: #ffffff;
    border-radius: 12px;
    padding: 28px 22px;
}

.section‑title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 18px;
    text-align: center;
}

/* quick links */
.quick‑links‑row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 36px;
}
.ql‑card {
    background: #ffffff;
    color: var(--iusae-blue);
    border-radius: 6px;
    width: 230px;
    padding: 14px 10px 16px;
    text-align: center;
}
.ql‑card h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.ql‑action {
    background: var(--iusae-blue);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    width: 100%;
    padding: 5px 0;
    font-size: 0.8rem;
    font-weight: 500;
}
.ql‑action:hover {
    background: var(--iusae-blue-light);
}

/* important dates */
.important‑card {
    border: 2px solid var(--iusae-grey-200);
    border-radius: 14px;
    padding: 24px 26px;
}
.important‑card h4 {
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.important‑card hr {
    border-top: 1px solid var(--iusae-grey-200);
    margin: 0 0 18px;
}
.important‑item {
    margin-bottom: 22px;
    font-size: 1rem;
}
.important‑item strong {
    font-size: 1.1rem;
    display: block;
}
.important‑item span {
    font-size: 0.9rem;
}

/* collapsed news header */
.collapsed‑bar {
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 15px;
}
.collapsed‑bar h5 {
    font-weight: 600;
    margin: 0;
    font-size: 1.35rem;
}
.collapsed‑bar i {
    color: var(--iusae-blue);
    font-size: 1.4rem;
}

/* hide / show helper */
.hidden {
    display: none !important;
}

/* responsive tweaks */
@media (max-width: 991.98px) {
    .quick‑links‑row {
        flex-direction: column;
    }
    .ql‑card {
        width: 100%;
    }
}

/* introduction page css========================== */
.iusae-section {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    padding: 30px;
    color: #000;
    max-width: 1340px;
    margin: auto;
}

.iusae-section h2 {
    font-size: 25px;
    font-weight: 700;
    color: #2c3848;
    margin-bottom: 18px;
    margin-top: 20px;
}

.list-item::before {
    content: "•";
    color: #2c3848;
    font-size: 20px;
    line-height: 1;
    margin-right: 4px;
}

.iusae-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.iusae-section strong,
.iusae-section .highlight {
    font-weight: bold;
    color: #050505;
}

/* register page css */
.how-to-register-section {
    max-width: 1280px;
    margin: 40px auto;
    /* padding: 20px 30px; */
    background: #fff;
    border-radius: 8px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

.how-to-register-section .registration-header {
    background-color: #2c3848;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
}

.how-to-register-section .timeline {
    position: relative;
    margin-left: 25px;
    padding-left: 27px;
    border-left: 4px solid #2c3848;
}

.how-to-register-section .timeline-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.how-to-register-section .timeline-step .circle {
    width: 26px;
    height: 26px;
    background-color: #2c3848;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    text-align: center;
    line-height: 26px;
    position: absolute;
    left: -43px;
    top: 0;
}

.how-to-register-section .timeline-step .text {
    font-size: 16px;
    color: #333;
    padding-left: 15px;
    line-height: 1.6;
}

.how-to-register-section .inline-highlight {
    color: red;
    font-weight: 500;
    display: inline;
}

.iusae-privacy-section {
    padding: 40px 20px;
    font-family: "Segoe UI", sans-serif;
    background-color: #ffffff;
    color: #222;
    max-width: 85%;
    margin: auto;
    line-height: 1.7;
}

.iusae-privacy-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: #2c3848;
    text-align: center;
    margin-bottom: 30px;
}

.iusae-privacy-section h4 {
    font-size: 18px;
    color: #2c3848;
    margin-top: 25px;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}

.iusae-privacy-section p {
    font-size: 15px;
    margin: 10px 0;
}

.iusae-privacy-section ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.policy-box {
    background-color: #f7f9fc;
    border-left: 4px solid #2c3848;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 6px;
}

.iusae-privacy-section a {
    color: #0056b3;
    text-decoration: underline;
}

/* === payment-policy.css === */

/* Section layout */
.payment-policy-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    color: #333;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Headings */
.payment-policy-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2c3848;
    text-transform: uppercase;
    font-weight: bold;
}

.payment-policy-section h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #002244;
    font-weight: 600;
}

/* Paragraphs */
.payment-policy-section p,
.payment-policy-section li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Bullet points */
.payment-policy-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.payment-policy-section ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* Emphasis */
.payment-policy-section strong {
    color: #000;
}

.payment-policy-section a {
    color: #0066cc;
    text-decoration: underline;
}

.payment-policy-section a:hover {
    color: #2c3848;
}

.payment-policy-section h4 {
    font-size: 18px;
    color: #2c3848;
    margin-top: 25px;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}

/* Highlight important notes */
.payment-policy-section .note {
    background-color: #fff9e6;
    border-left: 4px solid #ffa500;
    padding: 10px 15px;
    margin: 20px 0;
    font-weight: 500;
}

/* Responsive spacing for smaller devices */
@media screen and (max-width: 768px) {
    .payment-policy-section {
        padding: 30px 15px;
    }

    .payment-policy-section h2 {
        font-size: 1.5rem;
    }

    .payment-policy-section h3 {
        font-size: 1.1rem;
    }

    .payment-policy-section p,
    .payment-policy-section li {
        font-size: 0.95rem;
    }
}
