/* =====================================
   IMMIGRATION TOP BAR (PIXEL PERFECT)
===================================== */

.immi-topbar {
    background-image: url("../images/topbar-bg.svg");
    background-repeat: repeat;
    background-size: auto;
    height: 110px;
    display: flex;
    align-items: center;
    border-top: 5px solid #101b3b;
}

/* Logo */
.immi-logo {
    height: 80px;
    width: 80px;
    object-fit: contain;
}
.immi-title{
    padding: 0px 0px 0px 20px;
  border-style: solid;
  border-width: 0px 0px 0px 1px;
}
/* Title */
.immi-title h1{
    font-size: 26px;
  font-weight: 700;
    color: #101B3B;
    font-family: "Metropolis", Sans-serif;
    line-height: 1;
  margin: 0;
  padding: 0;
}



/* Search */
.immi-search {
    position: relative;
    width: 280px;
}

.immi-search input {
    width: 100%;
    height: 42px;
    padding: 0 42px 0 14px;
    border: 2px solid #101B3B;
    border-width: 1px 1px 1px 1px;
    border-radius: 3px;
    font-size: 14px;
    outline: none;
    color: ;
}

.immi-search input::placeholder {
    font-family: "Metropolis", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4174ff;
}

.immi-search button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #4174ff;
    font-size: 18px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .immi-search {
        width: 200px;
    }
}
/* =====================================
   MAIN NAVBAR
===================================== */

.immi-navbar {
    background: #101b3b;
    position: relative; /* KEY */
    z-index: 1000;
}

.immi-nav {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: static; /* IMPORTANT */
}

.immi-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 17px;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.5;
    font-weight: 500;
    font-family: "Metropolis", Sans-serif;
}

.nav-link.active,
.nav-item:hover > .nav-link {
    background: #4174ff;
     color: #fff;
}

.nav-link svg {
    font-size: 12px;
    transition: transform .2s ease;
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* IMMI HUB */
.immi-hub {
    background: #3b6cff;
    color: #fff;
 padding: 20px 20px 16px 20px;
    text-decoration: none;
   font-family: "Montserrat", Sans-serif;
  font-size: 14px;
  font-weight: 500;
    border: 2px solid #4174ff;
}
.immi-hub:hover{
    background: transparent;
    color: #4174ff;
}

/* =====================================
   MEGA MENU (CORRECT FIX)
===================================== */

.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    z-index: 999;
}

.nav-item.has-mega:hover > .mega-menu {
    display: block;
}
.immi-nav{
    position: relative;
}
/* White panel */
.mega-inner {
    background: #fff;
    margin: 0 auto;
    padding: 30px 40px 40px;
    max-width: 100%;
    border-radius: 0 0 50px 0;
    border-top: 2px solid #4174ff;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

/* Title */
.mega-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* =====================================
   MEGA MENU GRID – LINKED ITEMS
===================================== */

/* =====================================
   MEGA MENU GRID – FINAL (NO CONFLICT)
===================================== */

/* Default: 3 columns (Travel) */
.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* col-lg-4 */
    column-gap: 40px;
}

/* 2 columns (Media, Careers) */
.mega-grid.two-col {
    grid-template-columns: repeat(2, 1fr); /* col-lg-6 */
}

/* Clickable block */
.mega-item {
    display: block;
    padding: 16px 18px;
    text-decoration: none;
    border-bottom: 1px solid #d9d9d9;
    transition: background-color .15s ease;
}

/* Title */
.mega-item h5 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #000;
    font-family: "Metropolis", Sans-serif;
}

/* Description */
.mega-item p {
    font-size: 14px;
    margin: 0;
    color: #000;
    font-family: "Metropolis", Sans-serif;
}

/* Hover (matches image) */
.mega-item:hover {
    background: #e6f6ff;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 991px) {
    .mega-grid,
    .mega-grid.two-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .mega-grid,
    .mega-grid.two-col {
        grid-template-columns: 1fr;
    }
}
/* =====================================
   HERO SECTION
===================================== */

.immi-hero {
    position: relative;
    height: 900px;
    overflow: hidden;
}

/* Swiper Background */
.hero-swiper,
.hero-swiper .swiper-slide {
    height: 100%;
}

.hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 2;
    display: flex;
    align-items: center;
}

/* Title */
.hero-title {
    color: #fff;
    font-family: "Metropolis", Sans-serif;
  font-weight: 700;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: "Metropolis", Sans-serif;
}
.hero-card h3{
    font-family: "Metropolis", Sans-serif;
  font-weight: 700;
  color: #fff;
}

/* Grid */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

/* Cards */
.hero-card {
    display: block;
    padding: 30px;
    min-height: 140px;
    border: 1px solid rgba(255,255,255,.25);
    text-decoration: none;
    background: rgba(0,0,0,.35);
    transition: background .2s ease;
}

.hero-card h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1.75rem;
}

.hero-card p {
    color: #fff;
    margin: 0;
    font-family: "Metropolis", Sans-serif;
  font-weight: 400;
}

/* Hover */
.hero-card:hover {
    background: #4174ff;
}

/* 3 card row */
.hero-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}
.hero-overlay hr{
    border: 1px solid black;
    margin: 0 auto;
    margin: 20px 0px;
}
.hero-bottom{
    font-family: "Metropolis", Sans-serif;
  color: #FFFCFBF2;
}
.immigration-section {
  background: url("/images/bg-tapa-mix.svg") repeat;
}
.immigration-section h1{
    font-family: "Metropolis", Sans-serif;
  font-weight: 600;
  color: #101b3b;;
}
.immigration-nav .nav-link {
  border-radius: 0;
  color: #fff;
  background: #0b1c3d;
  margin-bottom: 4px;
  text-align: left;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.immigration-nav .nav-link:hover,
.immigration-nav .nav-link.active {
  background: #2f6bff;
  color: #fff;
}

.info-box {
  background: #fff;
  padding: 20px;
  height: 100%;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.info-box:hover {
  background: #f5f7ff;
}

.info-box h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.info-box.highlight {
  background: #2f6bff;
  color: #fff;
}

.info-box.highlight h5 {
  color: #fff;
}
/* SECTION BG */
.immigration-section {
    background-color: #DDDDDD;
  background: url("/assets/images/bg-tapa-mix.svg");
  background-position: top left;
  background-size: 28% auto;
}
.immigration-section .col-lg-2{
    padding-left: 0px;
    padding-right: 0px;
    background: #101b3b;
}
/* LEFT NAV */
.immigration-nav .nav-link {
  background: #101b3b;
  color: #fff;
  border-radius: 0;
  margin-bottom: 6px;
  padding: 15px;
  text-align: left;
  transition: 0.3s ease;
  font-family: "Metropolis", Sans-serif;
  font-size: 18px;
  font-weight: 300;
  width: 100%;
}

.immigration-nav .nav-link:hover {
  background: #101b3b;
}

.immigration-nav .nav-link.active {
  background-color: transparent;
  background-image: linear-gradient(270deg, #101B3B 0%, #4174ff 100%);
  color: #fff;
}


/* SERVICE BOX */
.service-box {
  background: #fff;
  padding: 30px;
  height: 100%;
  border: 1px solid #dcdcdc;
}
/* Make service boxes clickable */
.service-box-link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.service-box .service-box-title {
color: #000000;
  font-family: "Metropolis", Sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-top: 30px;
}
.service-box .service-box-desc {
 color: #000000;
  font-family: "Metropolis", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-top: 10px;
}
.service-box:hover{
  background: #4174ff;
  color: #fff;
  border-top: 2px solid black;
}
.service-box:hover .service-box-title, .service-box:hover .service-box-desc{
  color: #fff;
}
/* =====================================
   ENQUIRIES / COMPLAINTS SECTION
===================================== */

.immi-enquiry-section {
  background: #101b3b;
  overflow: hidden;
}

/* Background image */
.enquiry-bg {
  background-image: url("/assets/images/ban5.jpg");
  background-color: #0f1a3a;
  background-position: center right;
  background-size: cover;
  min-height: 100vh;
}

/* Card */
.enquiry-card {
  background: #0f1a3a;
  height: 100%;
  color: #fff;
margin-top: 30px;
margin-right: 20px;

}
.enquiry-card .tab-content{
  padding: 2rem;
    border: 1px solid #fff;
}
/* Tabs */
.enquiry-tabs {
  display: flex;
  border-bottom: 1px solid solid #fff;
}

.enquiry-tabs .nav-link {
  background: #fff;
  border: none;
  color: black;
  padding: 10px 20px;
}

.enquiry-tabs .nav-link.active {
  background: #4174ff;
  color: #fff;
}

/* Headings */
.enquiry-card h2 {
  font-family: "Metropolis", Sans-serif;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.enquiry-card .small-text {
  font-family: "Metropolis", Sans-serif;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Labels */
.enquiry-card label {
font-family: "Metropolis", Sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
  font-style: normal;
  text-decoration: none;
  line-height: 1.5em;
  letter-spacing: 0px;
  display: block;
}

.enquiry-card label span {
  color: red;
}

/* Inputs */
.enquiry-card .form-control {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.enquiry-card input:focus,
.enquiry-card textarea:focus,
.enquiry-card select:focus {
  outline: none;
  box-shadow: none;
}
.enquiry-card select {
  background: #101b3b !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.4);
}

/* Arrow color (Chrome / Edge) */
.enquiry-card select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 32px;
}



.enquiry-card .form-control::placeholder {
  color: rgba(255,255,255,.7);
}

/* Checkbox */
.checkbox-group label {
  display: block;
  font-size: 14px;
  margin-top: 5px;
}

/* Buttons */
.enquiry-card .btn-primary {
  background: #4174ff;
font-family: "Metropolis", Sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  font-style: normal;
  line-height: 1em;
  letter-spacing: 0px;
  border-radius: 0;
  padding: 10px 20px;

}
/* =====================================
   PUBLIC NOTICES
===================================== */

.public-notices-section {
    background: #e6e6e6;
    padding-top: 60px;
}

.public-notices-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.public-notices-header h2 {
    font-family: "Metropolis", Sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #0f1a3a;
    margin: 0;
}

.public-notices-header .see-more {
    font-size: 14px;
    font-weight: 500;
    color: #4174ff;
    text-decoration: none;
}

.public-notices-header .see-more:hover {
    text-decoration: underline;
}

/* Card */
.notice-card {
    background: #0f1a3a;
    color: #fff;
    padding: 30px;
    height: 100%;
    position: relative;
}

/* Date tag */
.notice-date {
    position: absolute;
    top: 0;
    left: 0;
    background: #4174ff;
    color: #fff;
    font-size: 14px;
    padding: 8px 14px;
    font-weight: 500;
}

/* Title */
.notice-card h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-family: "Metropolis", Sans-serif;
  text-transform: capitalize;
}

/* Text */
.notice-card p {
    color: #777777;
    margin-bottom: 25px;
    font-family: "Metropolis", Sans-serif;
}

/* Read more */
.notice-card .read-more {
    color: #fff;
font-family: "Metropolis", Sans-serif;
  font-size: 18px;
  font-weight: 600;
    text-decoration: none;
}

.notice-card .read-more:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 767px) {
    .public-notices-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* =====================================
   NEWS SECTION
===================================== */

.news-section {
    background: #e6e6e6;
    padding-bottom: 60px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.news-header h2 {
    font-family: "Metropolis", Sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #0f1a3a;
    margin: 0;
}

.news-header .see-more {
    font-size: 14px;
    font-weight: 500;
    color: #4174ff;
    text-decoration: none;
}

.news-header .see-more:hover {
    text-decoration: underline;
}

/* Card */
.news-card {
    background: #0f1a3a;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Image */
.news-image {
    position: relative;
}

.news-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

/* Date badge */
.news-date {
    position: absolute;
    top: 0;
    left: 0;
    background: #4174ff;
    color: #fff;
    font-size: 14px;
    padding: 8px 14px;
    font-weight: 500;
    z-index: 2;
}

/* Content */
.news-content {
    padding: 30px;
    color: #fff;
    flex: 1;
}

.news-content h3 {
    font-family: "Metropolis", Sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-content p {
    color: #777777;
    margin-bottom: 25px;
    font-family: "Metropolis", Sans-serif;
    margin-bottom: 25px;
}

/* Read more */
.news-content .read-more {
    color: #fff;
font-family: "Metropolis", Sans-serif;
  font-size: 18px;
  font-weight: 600;
    text-decoration: none;
}

.news-content .read-more:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 767px) {
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-image img {
        height: 200px;
    }
}
/* =====================================
   FOOTER
===================================== */

.immi-footer {
    background: linear-gradient(180deg, #0f1a3a 0%, #0c1533 100%);
    color: #fff;
    padding: 70px 0;
    position: relative;
}

.footer-title {
    font-family: "Metropolis", Sans-serif;
    margin-bottom: 20px;
}

/* Title underline style */
.footer-title.with-line::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #4174ff;
    margin-top: 8px;
}

.footer-text {
font-family: "Metropolis", Sans-serif;
  font-weight: 300;
    margin-bottom: 20px;
}

/* Contact list */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    font-family: "Metropolis", Sans-serif;
  font-weight: 300;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact i {
    color: #4174ff;
    margin-top: 3px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
  font-family: "Metropolis", Sans-serif;
  font-weight: 300;
    color: #fff;
    text-decoration: none;
}

.footer-links a::before {
    content: "›";
    color: #4174ff;
    margin-right: 8px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Newsletter */
.footer-newsletter input {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.footer-newsletter input::placeholder {
    color: rgba(255,255,255,.7);
}

.footer-newsletter button {
    background: #4174ff;
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-weight: 600;
    border-radius: 6px;
}


/* Responsive */
@media (max-width: 767px) {
    .immi-footer {
        padding: 50px 0;
    }

    .footer-chat {
        display: none;
    }
}

/* ================================
   CREDENTIAL SECTION (ISOLATED)
================================ */

.credential-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 20px;
    font-family: system-ui, sans-serif;
}

.credential-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.credential-card {
    width: 100%;
    max-width: 460px;
    background: #f9fcff;
    border: 2px solid #e3edff;
    border-radius: 22px;
    padding: 40px 32px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}

.credential-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* INPUTS */
.credential-field {
    margin-bottom: 16px;
}

.credential-field input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #dfe6ef;
    outline: none;
}

.credential-field input:focus {
    border-color: #2f80ed;
}

/* OPTIONS ROW */
.credential-options {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin: 18px 0 26px;
    flex-wrap: wrap;
}

/* REMEMBER */
.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.remember-me input {
    width: 16px;
    height: 16px;
}
/* BUTTON */
.credential-btn {
    width: 100%;
    height: 52px;
    border-radius: 30px;
    background: #2f80ed;
    color: #ffffff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.credential-btn:hover {
    background: #1f6fdc;
}

/* ERROR */
.credential-error {
    background: #fff3cd;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
}

.credential-error ul {
    margin: 0;
    padding-left: 18px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 480px) {
    .credential-options {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* WIDER CARD FOR REGISTER */
.credential-card--wide {
    max-width: 720px;
}

/* SECTION SUB TITLES */
.credential-subtitle {
    font-size: 15px;
    font-weight: 700;
    margin: 22px 0 12px;
}

/* GRID FOR 2 COLUMNS */
.credential-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* SELECT STYLING */
.credential-field select {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #dfe6ef;
    font-size: 15px;
    background: #fff;
}

.credential-field select:focus {
    border-color: #2f80ed;
    outline: none;
}

/* FOOTER LINK */
.credential-footer {
    margin: 20px 0 26px;
    font-size: 14px;
    text-align: right;
}

.credential-footer a {
    color: #2f80ed;
    font-weight: 600;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .credential-grid {
        grid-template-columns: 1fr;
    }

    .credential-card--wide {
        max-width: 460px;
    }
}
