:root {
    --primary-color: #1f2024;
    --primary-light: #333438;
    --primary-dark: #151619;
    --secondary-color: #ffc107;
    --secondary-light: #ffd54f;
    --accent-color: #ffc107;
    --accent-light: #ffd54f;
    --bg-white: #ffffff;
    --bg-light: #f9ebe5;
    --bg-dark: #1f2024;
    --text-color: #333333;
    --text-muted: #666666;
    --text-white: #ffffff;
    --border-color: #e5e7eb;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(11, 61, 145, 0.08);
    --glass-blur: blur(12px);

    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-wrap {
    text-align: center;
    color: var(--text-white);
}

.loader-ring {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Top Bar */
.topbar {
    background: var(--primary-dark);
    color: var(--text-white);
    font-size: 14px;
    padding: 10px 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left a {
    margin-right: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.topbar-left i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
}

.social-link:hover {
    color: var(--accent-color);
}

.btn-topbar {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 500;
}

.btn-topbar:hover {
    background: var(--secondary-light);
}

/* Navbar */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.logo-nv {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
}
.logo-visa {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
}

.nav-logo small {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 14px;
    color: var(--primary-dark);
    padding: 5px 0;
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    padding: 15px 0;
    display: none;
    list-style: none;
    border: 1px solid var(--border-color);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-weight: 400;
}

.dropdown li a::after {
    display: none;
}

.dropdown li a:hover {
    background: var(--bg-light);
}

.has-dropdown:hover .dropdown {
    display: block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-assess,
.btn-book {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-assess {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-assess:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-book {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(11, 61, 145, 0.3);
}

.btn-book:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.mobile-only {
    display: none !important;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 0;
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark));
    color: var(--text-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--bg-dark) 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
}

.hero-highlight {
    background: linear-gradient(to right, #ffffff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary-hero,
.btn-secondary-hero {
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-primary-hero {
    background: var(--secondary-color);
    color: var(--text-white);
}

.btn-primary-hero:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-quick-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.quick-action.whatsapp {
    color: #25D366;
}

.quick-action:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-stats-bar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 0 95px;
    /* Added bottom padding to accommodate overlapping search card */
    position: relative;
    width: 100%;
    z-index: 2;
    margin-top: 60px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.hero-stat strong {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
}

.hero-stat span {
    font-size: 24px;
    color: var(--secondary-color);
}

.hero-stat small {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* Quick Visa Search */
.visa-search-section {
    position: relative;
    z-index: 10;
    margin-top: -70px;
    /* Pull search card up cleanly over the stats bar bottom padding */
}

.visa-search-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.visa-search-card h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.visa-search-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 20px;
    align-items: flex-end;
}

.search-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.search-select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-color);
    font-size: 14px;
    outline: none;
}

.search-btn {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-light);
}

/* Section Common */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-badge {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
}

/* Countries Card */
.country-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    height: 100%;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(11, 61, 145, 0.08);
    border-color: var(--secondary-color);
}

.country-flag {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 2px solid var(--border-color);
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.country-card p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 15px;
}

.explore-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Service Card */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(11, 61, 145, 0.05);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--text-white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 13px;
}

.why-us-visual {
    position: relative;
}

.why-us-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: var(--bg-light);
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-us-img.no-img::before {
    content: '\f57d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.15;
}

.achievement-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.ac-top {
    top: 20px;
    left: -20px;
}

.ac-bottom {
    bottom: 20px;
    right: -20px;
}

.achievement-card i {
    color: var(--accent-color);
    font-size: 24px;
    margin-bottom: 5px;
}

/* Eligibility CTA */
.eligibility-cta-section {
    background: var(--primary-dark);
    padding: 60px 0;
    color: var(--text-white);
}

.eligibility-cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.eligibility-cta-content h2 {
    color: var(--text-white);
    font-size: 28px;
    margin-bottom: 10px;
}

.cta-features {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-top: 15px;
}

.cta-features li i {
    color: var(--accent-color);
    margin-right: 5px;
}

.eligibility-cta-action {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-cta-large {
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-large:hover {
    background: var(--accent-light);
    transform: scale(1.03);
}

/* Testimonial Card */
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.testimonial-stars {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-muted);
}

.google-rating-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 20px 30px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
}

.blog-img {
    height: 200px;
    position: relative;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.blog-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.blog-read-more {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

/* FAQ accordion */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    display: none;
}

/* Footer & WhatsApp */
.footer {
    background: #f8fafc;
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
}

.footer-top {
    padding: 80px 0 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 14px;
}

.contact-item i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-newsletter {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-newsletter h4 {
    color: var(--primary-dark);
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 500px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
    outline: none;
    background: #f8fafc;
}

.newsletter-form button {
    background: var(--secondary-color);
    color: var(--text-white);
    border: none;
    padding: 0 25px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 600;
}

.footer-bottom {
    padding: 30px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Common Components */
.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-outline-sm {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--text-white);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 999;
}

.whatsapp-float i {
    font-size: 22px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary-color);
    color: var(--text-white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 30px;
}

.mt-3 {
    margin-top: 20px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Form Card */
.form-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.detail-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
}

.form-control {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--secondary-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark));
    color: var(--text-white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--text-white);
    font-size: 40px;
    margin-bottom: 10px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Response/Result Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.alert-success {
    background: #e6f7ed;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #fdf2f2;
    color: #dc3545;
    border: 1px solid #f5c6cb;
}

.alert-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media(max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .visa-search-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {

    /* Topbar */
    .topbar {
        display: none;
    }

    .mobile-only {
        display: block !important;
    }

    /* Navbar */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 20px 30px;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
        display: flex;
        transition: left 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
        gap: 4px;
    }

    .nav-menu.show {
        left: 0;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1000;
    }

    .nav-overlay.show {
        display: block;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 15px;
    }

    .nav-menu a:hover {
        background: var(--bg-light);
    }

    .has-dropdown .dropdown {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        display: none;
        background: var(--bg-light);
        border-radius: 8px;
        margin-top: 4px;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .nav-actions {
        display: flex;
        align-items: center;
    }

    .nav-actions .btn-assess,
    .nav-actions .btn-book {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 80px 0 80px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-quick-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats-bar {
        position: relative;
        bottom: auto;
        padding: 30px 0;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hero-stat strong {
        font-size: 24px;
    }

    /* Visa Search */
    .visa-search-section {
        margin-top: 0;
    }

    .visa-search-form {
        grid-template-columns: 1fr;
    }

    /* Sections */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-padding {
        padding: 50px 0;
    }

    /* Eligibility CTA */
    .eligibility-cta-card {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .cta-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-newsletter {
        flex-direction: column;
        gap: 16px;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .footer-top {
        padding: 40px 0 24px;
    }

    /* Form */
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px;
    }

    .detail-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Admin old inline styles override */
    .admin-grid-inline {
        grid-template-columns: 1fr !important;
    }

    /* WhatsApp */
    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
    }

    /* Page Header */
    .page-header {
        padding: 50px 0;
    }

    .page-header h1 {
        font-size: 26px;
    }
}

@media(max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .btn-primary-hero,
    .btn-secondary-hero {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
    }

    .visa-search-card {
        padding: 20px;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }

    .back-to-top {
        bottom: 16px;
        left: 16px;
    }

    .country-card {
        padding: 18px;
    }

    .service-card {
        padding: 20px;
    }
}

/* Mobile Nav Close Button */
.nav-close-btn {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1002;
}

@media(max-width: 768px) {
    .nav-close-btn {
        display: block;
    }
}

/* Utility */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 30px;
}

.mt-3 {
    margin-top: 20px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* ── CTA Banner Section ─────────────────────────────── */
.cta-banner-section {
    padding: 60px 0;
    background: var(--bg-light, #f8fafc);
}

.cta-banner {
    background: linear-gradient(135deg, #0B3D91, #002D62);
    border-radius: var(--border-radius, 16px);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(11, 61, 145, 0.15);
    color: #ffffff;
}

.cta-banner-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.3;
}

.cta-banner-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.cta-banner-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-cta-white {
    background: #ffffff;
    color: #0B3D91 !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid #ffffff;
    text-decoration: none;
}

.btn-cta-white:hover {
    background: transparent;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-cta-whatsapp {
    background: #25D366;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2);
    text-decoration: none;
}

.btn-cta-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

@media(max-width: 992px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .cta-banner-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media(max-width: 480px) {
    .cta-banner-actions {
        flex-direction: column;
        gap: 10px;
    }

    .cta-banner-actions .btn-cta-white,
    .cta-banner-actions .btn-cta-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

/* King Immigration Style Cards */
.hero-cards-section {
    position: relative;
    z-index: 10;
    margin-top: -120px;
    margin-bottom: 60px;
}
.hero-cards-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
}
.hero-feature-card {
    background: #242424;
    border-radius: 12px;
    padding: 40px 30px;
    color: white;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 250px;
    transition: transform 0.3s;
}
.hero-feature-card:hover {
    transform: translateY(-10px);
}
.hero-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1));
    z-index: 1;
}
.hero-feature-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    color: var(--secondary-color);
    font-size: 40px;
    z-index: 2;
}
.hero-feature-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.hero-feature-content h3 {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}
.hero-feature-number {
    color: var(--secondary-color);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}
.hero-highlight-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px 30px;
    color: var(--text-color);
    flex: 1.2;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero-highlight-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}
.hero-highlight-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}
.hero-highlight-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.btn-read-more {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: var(--transition);
    align-self: flex-start;
}
.btn-read-more:hover {
    background: var(--primary-color);
    color: white;
}
@media (max-width: 991px) {
    .hero-cards-wrapper {
        flex-direction: column;
    }
    .hero-cards-section {
        margin-top: 20px;
    }
    .hero-title {
        font-size: 42px !important;
    }
    .hero-subtitle {
        font-size: 16px !important;
    }
    .hero {
        padding: 100px 0 50px !important;
        text-align: center !important;
        background-position: center right !important;
    }
    .hero-content {
        align-items: center !important;
        text-align: center !important;
    }
    .hero-quick-actions {
        justify-content: center !important;
    }
}
@media (max-width: 576px) {
    .hero-title {
        font-size: 32px !important;
    }
}

/* 3D Animations & Premium UI */
.hover-3d {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    transform-style: preserve-3d;
}
.hover-3d:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg) scale(1.02);
    box-shadow: -10px 15px 30px rgba(0,0,0,0.15), 0 0 20px rgba(255, 193, 7, 0.2);
    z-index: 2;
}

/* Premium gradient text */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color), #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}