:root {
    --primary-red: #E31B23;
    --primary-green: #89B841;
    --dark-grey: #1B2127;
    --footer-bg: #1B2127;
    --text-white: #ffffff;
    --text-black: #000000;
    --search-bg: #F5F7F8;
    --card-bg: rgba(255, 255, 255, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f0f0f0;
    color: var(--text-black);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

/* Header Styles */
header {
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 90px; /* Much larger as per original */
    filter: none;
    object-fit: contain;
}

.nav-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Match: Align everything to the right edge of the header */
    gap: 10px;
}

.top-controls {
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 0;
}

.btn-login {
    background-color: white;
    color: black;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 25px;
    font-size: 14px;
    border-right: 1px solid #ddd;
}

.btn-login:hover {
    background-color: #f8f8f8;
}

.btn-search {
    background-color: #6C7275; /* Closer grey */
    border: none;
    color: white;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    background-color: #6a6e70;
}

.bottom-controls {
    display: flex;
    margin-top: 5px;
}

.btn-menu {
    display: none; /* User requested to hide this */
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 14px 28px;
    font-weight: 800; /* Extra bold */
    cursor: pointer;
    display: none; /* Fully removed from layout */
    align-items: center;
    gap: 12px;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-menu:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Start from top as per original */
    text-align: center;
    padding-top: 180px; /* Space for the large header */
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.hero-content h1 {
    color: white;
    font-size: 52px; /* Bigger and bolder */
    margin-bottom: 100px; /* Space before cards */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    font-weight: 500;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background-color: transparent;
    border: none;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px 15px;
    border: 0.5px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.hero-card:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
}

.hero-card h3 {
    font-size: 20px;
    color: #1B2127;
    font-weight: 700;
}

/* NZeTA Section */
.nzeta-section {
    background-color: var(--primary-green);
    padding: 60px 0;
    color: white;
}

.nzeta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nzeta-text {
    max-width: 60%;
}

.nzeta-text h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.nzeta-logo img {
    height: 100px;
}

/* Search Section with Green Background */
.search-visa-section {
    background-color: var(--primary-green);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.search-visa-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-visa-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.search-visa-section p {
    color: #eee;
    margin-bottom: 30px;
    font-size: 18px;
}

.search-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper input {
    width: 100%;
    padding: 20px 60px 20px 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.search-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-nav {
    margin-bottom: 30px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
}

.footer-links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 12px;
    color: #ccc;
}

.footer-links-grid a {
    color: #ccc;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-links-grid a:hover {
    color: white;
}

.footer-middle {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
}

.gov-logos {
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer-logos-img {
    height: 60px;
    object-fit: contain;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a {
    color: #ccc;
    text-decoration: none;
}

.copyright {
    color: #888;
}

/* Fixed Bottom Green Bar */
.green-bottom-bar {
    background-color: var(--primary-green);
    height: 12px;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .nzeta-container {
        flex-direction: column;
        text-align: center;
    }
    
    .nzeta-text {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-card {
        padding: 40px 20px;
    }
    
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn-menu {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .logo img {
        height: 40px;
    }
}

/* --- Front Login Page Styles --- */
.login-selection-body {
    background-color: #1A1F26; /* Dark navy-ish charcoal */
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.login-selection-header {
    background-color: transparent;
    padding: 30px 0;
}

.login-selection-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.close-btn a {
    color: #555; /* Muted close button as per reference */
    font-size: 28px;
    text-decoration: none;
}

.login-selection-main {
    padding: 40px 0 0;
}

.selection-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.main-title {
    font-size: 44px;
    margin-bottom: 20px;
    font-family: 'DM Serif Display', serif; /* Serif as per screenshot */
    font-weight: 400;
}

.selection-intro {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.selection-category {
    margin-bottom: 80px;
}

.category-title {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.selection-box {
    background-color: transparent;
    padding: 35px 25px;
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.3s;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.selection-box:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.selection-box h3 {
    font-size: 16px;
    color: white;
    font-weight: 700;
    line-height: 1.4;
}

.accredited-expanded-section {
    background-color: #000000;
    padding: 80px 20px;
    text-align: center;
    margin-top: 60px;
}

.expanded-container {
    max-width: 800px;
    margin: 0 auto;
}

.serif-title {
    font-family: 'DM Serif Display', serif;
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 400;
}

.expanded-container p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 40px;
}

.btn-realme-login {
    background-color: #B53E1B;
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 40px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 4px;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.what-is-realme {
    display: block;
    margin-top: 25px;
    color: white;
    font-size: 14px;
    text-decoration: underline;
}

.orange-bottom-bar {
    background-color: #B53E1B;
    height: 12px;
    width: 100%;
}

@media (max-width: 900px) {
    .selection-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Final Login Form Styles --- */
.login-form-body {
    background-color: #F3F3F3;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.login-form-header {
    background-color: #000000;
    padding: 15px 0;
    color: white;
}

.header-container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.realme-side-v {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center text under logo as per screenshot */
    gap: 2px;
}

.tenei-au {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #fff; /* Visible white text under logo */
}

.realme-logo {
    max-height: 55px; /* Matched to CSS and screenshot */
    width: auto;
    vertical-align: middle;
}

.realme-side-v {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left-aligned under the icon part as per screenshot */
}

.tenei-au {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-top: -5px; /* Pull text closer to logo */
    letter-spacing: 0.5px;
}

/* Login Page Button Styles */
#um-submit-btn.um-button {
    background-color: #3498db !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 12px 30px !important;
    font-weight: 500 !important;
    width: auto !important;
    min-width: 150px;
    font-size: 16px !important;
    text-transform: none !important;
}

.um-button.um-alt {
    background-color: #f2f2f2 !important;
    color: #444 !important;
    border-radius: 4px !important;
    padding: 12px 30px !important;
    width: auto !important;
    min-width: 150px;
    font-size: 16px !important;
    text-decoration: none !important;
    text-transform: none !important;
}

/* Form input styling */
.um-field-label {
    margin-bottom: 10px !important;
}

.um-field-label label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.um-form input[type=text], .um-form input[type=password] {
    padding: 12px 15px !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 4px !important;
    font-size: 16px !important;
}

/* Right side heading and button */
.elementor-element-ca0af80 .elementor-heading-title {
    color: #d35400 !important; /* Proper orange title */
    font-size: 38px !important;
    font-weight: 500 !important;
    margin-bottom: 25px !important;
}

.elementor-element-e084d05 .elementor-button {
    background-color: #e65100 !important; /* Matches screenshot orange */
    border-radius: 4px !important;
    font-weight: 600 !important;
    padding: 18px 35px !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
}


.nz-logo-white {
    height: 40px;
}

.breadcrumb-nav {
    background-color: #F8F9FA;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.breadcrumb-nav a {
    color: #003366;
    text-decoration: none;
    font-size: 14px;
}

.login-form-main {
    padding: 60px 0;
}

.main-flex {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.form-column {
    flex: 1;
}

.form-column h1 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 400;
}

.login-form {
    background-color: transparent;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
    max-width: 400px;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.eye-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}

.btn-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.btn-primary-blue {
    background-color: #31A1E4;
    color: white;
    border: none;
    padding: 12px 60px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
}

.btn-secondary-grey {
    background-color: #E6E6E6;
    color: #333;
    border: none;
    padding: 12px 60px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
}

.forgot-pass {
    display: block;
    text-align: left;
    color: #003366;
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
}

.info-column {
    width: 400px;
}

.create-account-box {
    background-color: white;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.create-account-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #B53E1B;
    font-weight: 400;
}

.create-account-box .highlight {
    font-weight: 800;
}

.create-account-box p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-create-realme {
    background-color: #B53E1B;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.login-form-footer {
    background-color: #B53E1B;
    color: white;
    padding: 60px 0 40px;
    margin-top: 80px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-links-row {
    display: flex;
    gap: 40px;
}

.footer-links-row a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.footer-lang span {
    font-size: 14px;
}

.footer-bottom-row {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .main-flex {
        flex-direction: column;
        gap: 60px;
    }
    .info-column {
        width: 100%;
    }
}



