/* Top Mark Global Attestation - Official Brand Stylesheet */

:root {
    --brand-primary: #1C8BAD;
    --brand-dark: #146B87;
    --brand-deep: #082736;
    --brand-navy: #0B3549;
    --brand-light: #38B2D6;
    --brand-glow: #67D5F7;
    --brand-ice: #E8F6FA;
    --brand-ice-light: #F0F9FB;
    --navy-dark: #082736;
    --navy-primary: #0B3549;
    --navy-slate: #146B87;
    --cyan-primary: #1C8BAD;
    --cyan-light: #38B2D6;
    --cyan-accent: #1C8BAD;
    --green-emerald: #10B981;
    --green-light: #ECFDF5;
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-light: #94A3B8;
    --bg-light: #F4F9FB;
    --bg-ice: #E8F6FA;
    --bg-white: #FFFFFF;
    --border-light: #E2E8F0;
    --border-card: rgba(226, 232, 240, 0.9);
    --shadow-sm: 0 2px 8px rgba(28, 139, 173, 0.08);
    --shadow-md: 0 10px 25px rgba(28, 139, 173, 0.12);
    --shadow-lg: 0 20px 45px rgba(8, 39, 54, 0.22);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ── Typography & Headings ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ── Buttons with Rich Primary Gradient Tones ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-align: center;
}

.btn-gold,
.btn-primary,
.btn-cyan {
    background: linear-gradient(135deg, #24A2CA 0%, #1C8BAD 45%, #125E77 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(28, 139, 173, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-gold:hover,
.btn-primary:hover,
.btn-cyan:hover {
    background: linear-gradient(135deg, #38B2D6 0%, #1C8BAD 50%, #176C88 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(28, 139, 173, 0.55);
}

.btn-navy {
    background: var(--navy-dark);
    color: #ffffff;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.btn-block {
    width: 100%;
}

.btn-wa-header {
    background: rgba(37, 211, 102, 0.12);
    color: #15803D;
    border: 1.5px solid rgba(37, 211, 102, 0.4);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.btn-wa-header:hover {
    background: #25D366;
    color: #ffffff;
}

/* ── Top Bar ── */
.top-announcement-bar {
    background: var(--navy-dark);
    color: #E2E8F0;
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--green-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green-emerald);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--brand-light);
    font-weight: 600;
}

.top-bar-wa {
    color: #86EFAC;
    font-weight: 600;
}

/* ── Site Header ── */
.site-header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 41, 58, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #F1F5F9;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo-img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.site-logo-img:hover {
    transform: scale(1.03);
}

.header-nav {
    display: flex;
    gap: 26px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--navy-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--cyan-light);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--cyan-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ── Hero Section with Premium Dubai Corporate Background ── */
.hero-section {
    background: linear-gradient(135deg, rgba(8, 39, 54, 0.92) 0%, rgba(11, 53, 73, 0.86) 45%, rgba(20, 107, 135, 0.82) 100%), url('../images/hero-bg.jpg') center center / cover no-repeat;
    color: #ffffff;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(56, 178, 214, 0.28) 0%, rgba(28, 139, 173, 0.15) 50%, transparent 75%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(28, 139, 173, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 45px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(28, 139, 173, 0.25);
    border: 1px solid rgba(56, 178, 214, 0.5);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    font-weight: 700;
    color: #E8F6FA;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-badge-wrap i {
    color: var(--brand-light);
}

.hero-title {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-title .text-gold,
.hero-title .text-cyan,
.hero-title .text-highlight {
    color: var(--brand-light);
    background: linear-gradient(135deg, #67D5F7 0%, #29B4DC 50%, #E8F6FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

.hero-desc {
    font-size: 16.5px;
    color: #E2E8F0;
    line-height: 1.65;
    margin-bottom: 30px;
}

.hero-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #F8FAFC;
    backdrop-filter: blur(6px);
}

.hero-pill-check {
    color: var(--brand-light);
    font-weight: 800;
}

/* ── Universal Form System & Lead Form Card ── */
.hero-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 25px 50px rgba(8, 39, 54, 0.35);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 10;
}

.form-header {
    text-align: center;
    margin-bottom: 22px;
}

.form-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

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

.lead-form,
.form-group-wrap {
    width: 100%;
}

.form-group {
    margin-bottom: 14px;
    position: relative;
    width: 100%;
}

/* Global inputs, selects, textareas */
.form-input,
.form-select,
.form-textarea,
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form select,
.lead-form textarea,
.modal-form input,
.modal-form select,
.modal-form textarea {
    display: block;
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1.5px solid #CBD5E1;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 500;
    color: #0F172A;
    background-color: #F8FAFC;
    transition: all 0.2s ease-in-out;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.form-input::placeholder,
.form-textarea::placeholder,
.lead-form input::placeholder,
.lead-form textarea::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

/* Select specific styling with custom SVG chevron */
.form-select,
.lead-form select,
.modal-form 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='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    padding-right: 40px;
    cursor: pointer;
}

/* Active & Focus States */
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    border-color: #1C8BAD !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 0 0 3.5px rgba(28, 139, 173, 0.25) !important;
}

/* Phone Layout Flex Container */
.phone-group {
    display: flex !important;
    gap: 8px !important;
    align-items: stretch !important;
    width: 100% !important;
    position: relative;
}

.phone-group .country-select,
.lead-form .phone-group select.country-select {
    flex: 0 0 135px !important;
    width: 135px !important;
    min-width: 135px !important;
    padding-left: 10px;
    padding-right: 28px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background-position: right 8px center;
}

/* Custom Searchable Country Code Picker */
.tm-country-picker {
    position: relative;
    flex: 0 0 135px !important;
    width: 135px !important;
    min-width: 135px !important;
}

.tm-cc-trigger {
    height: 48px;
    border-radius: 8px;
    border: 1.5px solid #CBD5E1;
    background-color: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tm-country-picker.is-open .tm-cc-trigger,
.tm-cc-trigger:focus {
    border-color: var(--brand-primary);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(28, 139, 173, 0.22);
}

.tm-cc-flag {
    width: 26px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.tm-cc-dial {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-left: 6px;
    flex: 1;
    text-align: left;
}

.tm-cc-arrow {
    color: #64748B;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.tm-country-picker.is-open .tm-cc-arrow {
    transform: rotate(180deg);
    color: var(--brand-primary);
}

.tm-cc-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 320px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(8, 39, 54, 0.28);
    border: 1.5px solid #E2E8F0;
    z-index: 99999;
    display: none;
    overflow: hidden;
    animation: tmFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tmFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.tm-country-picker.is-open .tm-cc-dropdown {
    display: block;
}

.tm-cc-search-box {
    padding: 10px 12px;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tm-cc-search-input {
    width: 100%;
    border: 1.5px solid #CBD5E1;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 500;
    color: #0F172A;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.tm-cc-search-input:focus {
    border-color: var(--brand-primary);
}

.tm-cc-list {
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.tm-cc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s ease;
    font-size: 13px;
    border-bottom: 1px solid #F8FAFC;
}

.tm-cc-item:hover {
    background: #E8F6FA;
    color: var(--brand-dark);
}

.tm-cc-item.is-selected {
    background: rgba(28, 139, 173, 0.12);
    font-weight: 700;
    color: var(--navy-dark);
}

.tm-cc-item-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.tm-cc-item-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.tm-cc-item-dial {
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 12.5px;
    flex-shrink: 0;
}

.tm-cc-empty {
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: #94A3B8;
}

.phone-group .phone-input,
.lead-form .phone-group input.phone-input {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
}

/* Textarea height */
.form-textarea,
.lead-form .form-textarea {
    height: auto !important;
    min-height: 75px;
    resize: vertical;
    line-height: 1.5;
}

/* Submit button on lead forms */
.btn-submit {
    height: 50px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.2px;
    border-radius: 8px;
    margin-top: 6px;
}

.btn-submit:active {
    transform: scale(0.99);
}

.form-privacy-note {
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    font-weight: 500;
}

.form-message {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    display: none;
    padding: 10px;
    border-radius: 6px;
}
.form-message.success {
    display: block;
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}
.form-message.error {
    display: block;
    background: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

/* ── Document Categories Tabs Section ── */
.section {
    padding: 80px 0;
}

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

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

.section-tag {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-primary);
    display: inline-block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Tab Navigation */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 38px;
    flex-wrap: wrap;
}

.tab-btn {
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy-dark);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 41, 58, 0.03);
}

.tab-btn:hover {
    border-color: var(--cyan-light);
    color: var(--cyan-primary);
    transform: translateY(-1px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--brand-primary) 100%);
    color: #ffffff;
    border-color: var(--navy-dark);
    box-shadow: 0 6px 18px rgba(28, 139, 173, 0.25);
}

.tab-btn.active::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--brand-light);
    border-radius: 50%;
    display: inline-block;
}

.tab-content {
    display: none;
    animation: fadeIn 0.35s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Service Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 32px 26px;
    box-shadow: 0 4px 15px rgba(0, 41, 58, 0.05);
    border: 1.5px solid #E2E8F0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(28, 139, 173, 0.15);
    border-color: var(--brand-light);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 4px 8px rgba(0, 122, 184, 0.12));
    transition: transform 0.25s ease;
}

.service-card:hover .service-icon-img {
    transform: scale(1.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(28, 139, 173, 0.1);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 24px;
}

.service-card h4 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--navy-dark);
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
}

.service-action-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.service-action-link:hover {
    color: var(--brand-dark);
    transform: translateX(3px);
}

/* ── 4-Step Process Section with Cinematic Background & Parallax ── */
.process-section {
    background: linear-gradient(135deg, rgba(8, 39, 54, 0.93) 0%, rgba(11, 53, 73, 0.88) 50%, rgba(20, 107, 135, 0.85) 100%), url('../images/process-bg.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    padding: 95px 0 110px;
    position: relative;
    overflow: hidden;
}

.process-section .section-title {
    color: #ffffff;
}

.process-section .section-desc {
    color: #E2E8F0;
}

.process-section .section-tag {
    color: #67D5F7;
    background: rgba(28, 139, 173, 0.25);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(56, 178, 214, 0.4);
    backdrop-filter: blur(6px);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 50px;
}

/* Connecting Timeline Beam on Desktop */
.process-grid::before {
    content: '';
    position: absolute;
    top: 56px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, rgba(56, 178, 214, 0.2), rgba(56, 178, 214, 0.8) 50%, rgba(56, 178, 214, 0.2));
    z-index: 1;
    border-radius: 3px;
}

.process-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 34px 24px 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    text-align: center;
    position: relative;
    z-index: 2;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.process-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(8, 39, 54, 0.35);
    border-color: var(--brand-light);
}

.step-number-wrap {
    position: relative;
    margin-bottom: 20px;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #082736 0%, #1C8BAD 100%);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3.5px solid #ffffff;
    box-shadow: 0 0 0 4px rgba(28, 139, 173, 0.4), 0 8px 20px rgba(8, 39, 54, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(56, 178, 214, 0.6), 0 10px 25px rgba(28, 139, 173, 0.5);
}

.process-step-icon {
    font-size: 24px;
    color: var(--brand-primary);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(28, 139, 173, 0.1);
    border-radius: 12px;
}

.process-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.process-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

.process-card .step-badge {
    margin-top: 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-dark);
    background: #E8F6FA;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
}

/* ── Global Embassy Network Matrix ── */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 22px;
}

.country-card {
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    padding: 22px 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(8, 39, 54, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.country-card:hover {
    border-color: var(--brand-light);
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(28, 139, 173, 0.14);
}

.country-card:hover::before {
    opacity: 1;
}

.country-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.country-flag-wrap {
    width: 52px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFC;
    transition: transform 0.25s ease;
}

.country-card:hover .country-flag-wrap {
    transform: scale(1.08);
}

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

.country-info h5 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 2px;
    line-height: 1.25;
}

.country-info .country-region {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.country-auth-badge {
    background: #E8F6FA;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(28, 139, 173, 0.2);
}

.country-auth-badge i {
    color: var(--brand-primary);
    font-size: 11px;
}

.country-features {
    list-style: none;
    margin-bottom: 14px;
    flex-grow: 1;
}

.country-features li {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.country-features li i {
    color: var(--green-emerald);
    font-size: 11px;
}

.country-action-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #F1F5F9;
    transition: all 0.2s ease;
    text-decoration: none;
}

.country-card:hover .country-action-btn {
    color: var(--brand-dark);
}

.country-action-btn span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ── Trust Stats ── */
.stats-banner {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 50%, var(--brand-dark) 100%);
    color: #ffffff;
    padding: 60px 0;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(8, 39, 54, 0.25);
}

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

.stat-num {
    font-size: 40px;
    font-weight: 900;
    color: var(--brand-light);
    font-family: var(--font-heading);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #E2E8F0;
    font-weight: 500;
}

/* ── FAQ Accordion ── */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-question {
    padding: 18px 22px;
    font-weight: 700;
    font-size: 16px;
    color: var(--navy-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #ffffff;
}

.faq-icon {
    font-size: 18px;
    color: var(--brand-primary);
    transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 22px 18px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ── Footer ── */
.site-footer {
    background: var(--navy-dark);
    color: #E2E8F0;
    padding: 70px 0 0;
    border-top: 4px solid var(--brand-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

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

.footer-logo .logo-tm { color: #ffffff; font-size: 24px; font-weight: 900; }
.footer-logo .logo-gold { color: var(--gold-light); font-size: 24px; font-weight: 900; }
.footer-logo .logo-tag { display: block; font-size: 9px; letter-spacing: 1.5px; color: var(--text-light); }

.footer-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #94A3B8;
    margin-bottom: 18px;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.f-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--green-emerald);
}

.footer-heading {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 13px;
    color: #94A3B8;
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-contact-item {
    font-size: 13px;
    color: #CBD5E1;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-contact-item a {
    color: var(--gold-light);
}

.footer-bottom {
    background: #060F1E;
    padding: 20px 0;
    font-size: 12px;
    color: #64748B;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* ── Modal Dialog ── */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.75);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.active {
    display: flex;
}

.modal-dialog {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-md);
    padding: 35px 30px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalPop 0.25s ease;
}

@keyframes modalPop {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 22px;
    color: var(--navy-dark);
}

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

/* ── Action Button Group Helpers ── */
.hero-btn-group {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-btn-group .btn-wa-header {
    padding: 14px 24px;
    font-size: 15px;
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.hero-btn-group .hero-call-btn {
    padding: 14px 22px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
}

.cta-banner-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-banner-group .cta-wa-btn {
    padding: 16px 34px;
    font-size: 16px;
}

.cta-banner-group .cta-call-btn {
    padding: 16px 30px;
    font-size: 16px;
}

/* ── Sticky Mobile Bar ── */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    border-top: 1px solid var(--border-light);
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.sticky-call-btn,
.sticky-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    font-weight: 700;
    font-size: 14.5px;
    text-align: center;
    text-decoration: none;
    min-height: 52px;
}

.sticky-call-btn {
    background: var(--navy-dark);
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-call-btn:hover,
.sticky-call-btn:active {
    background: var(--navy-primary);
    color: #ffffff;
}

.sticky-wa-btn {
    background: #25D366;
    color: #ffffff;
}

.sticky-wa-btn:hover,
.sticky-wa-btn:active {
    background: #20BD5A;
    color: #ffffff;
}

/* ══════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE SYSTEM
   ══════════════════════════════════════════════════════════════ */

/* ── Breakpoint: 1024px and below (Laptops / Large Tablets) ── */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    .hero-grid {
        gap: 32px;
    }
    .header-nav {
        gap: 18px;
    }
    .nav-link {
        font-size: 13.5px;
    }
}

/* ── Breakpoint: 991px and below (Tablets Portrait) ── */
@media (max-width: 991px) {
    .header-nav { 
        display: none; 
    }
    .hero-section {
        padding: 60px 0 70px;
    }
    .hero-grid { 
        grid-template-columns: 1fr;
        gap: 40px; 
    }
    .hero-content {
        text-align: center;
    }
    .hero-badge-wrap {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-feature-pills {
        justify-content: center;
    }
    .hero-btn-group {
        justify-content: center;
    }
    .hero-form-card {
        max-width: 580px;
        margin: 0 auto;
    }
    .footer-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 36px;
    }
    .process-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
    .process-grid::before {
        display: none;
    }
    .process-card {
        opacity: 1 !important;
        transform: none !important;
    }
    .stats-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
}

/* ── Breakpoint: 768px and below (Mobile Landscape & Standard Phones) ── */
@media (max-width: 768px) {
    body { 
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); 
    }
    .mobile-sticky-bar { 
        display: grid; 
    }
    
    /* Top Announcement Bar */
    .top-bar-right { 
        display: none; 
    }
    .top-bar-content { 
        justify-content: center; 
        text-align: center; 
        font-size: 12px;
        padding: 2px 0;
    }
    .top-bar-left {
        justify-content: center;
        width: 100%;
    }

    /* Site Header */
    .site-header {
        padding: 6px 0;
    }
    .header-container {
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .site-logo-img {
        max-height: 42px;
    }
    .header-actions .header-cta-btn { 
        display: none; 
    }
    .header-actions .btn-wa-header {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: var(--radius-pill);
    }

    /* Hero Section */
    .hero-section {
        padding: 40px 0 50px;
        background-attachment: scroll !important;
    }
    .hero-title { 
        font-size: clamp(26px, 6.8vw, 34px); 
        line-height: 1.22;
        margin-bottom: 14px;
    }
    .hero-desc {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    .hero-badge-wrap {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 16px;
    }
    .hero-pill {
        font-size: 12.5px;
        padding: 6px 12px;
    }

    /* Touch Inputs: Ensure 16px to prevent iOS Safari auto-zooming */
    .form-input,
    .form-select,
    .form-textarea,
    .tm-cc-search-input,
    .lead-form input[type="text"],
    .lead-form input[type="email"],
    .lead-form input[type="tel"],
    .lead-form select,
    .lead-form textarea {
        font-size: 16px !important;
        height: 48px;
        border-radius: 8px;
    }
    .form-textarea,
    .lead-form textarea {
        height: auto !important;
        min-height: 72px;
    }

    /* Horizontal Swipeable Tabs on Mobile */
    .tabs-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding: 4px 6px 12px;
        justify-content: flex-start;
        margin-bottom: 24px;
        scrollbar-width: none;
    }
    .tabs-nav::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 10px 18px;
        font-size: 13.5px;
        white-space: nowrap;
    }

    /* Section Spacing & Titles */
    .section {
        padding: 55px 0;
    }
    .section-header {
        margin-bottom: 34px;
    }
    .section-title { 
        font-size: clamp(23px, 5.8vw, 28px); 
        letter-spacing: -0.3px;
        line-height: 1.25;
    }
    .section-desc {
        font-size: 14.5px;
    }

    /* Process Section (Cinematic Timeline) */
    .process-section {
        background-attachment: scroll !important;
        padding: 60px 0 65px;
    }
    .process-grid { 
        grid-template-columns: 1fr; 
        gap: 18px;
        margin-top: 25px;
    }
    .process-card {
        padding: 26px 20px;
        border-radius: 16px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .service-card {
        padding: 24px 20px;
    }

    /* Embassies Grid */
    .countries-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }
    .country-card {
        padding: 20px 18px;
    }

    /* Trust Stats */
    .stats-banner {
        padding: 35px 20px;
        border-radius: 14px;
    }
    .stat-num {
        font-size: 32px;
    }
    .stat-label {
        font-size: 13px;
    }

    /* FAQ */
    .faq-question {
        padding: 16px 18px;
        font-size: 15px;
    }
    .faq-answer {
        padding: 0 18px 16px;
        font-size: 13.5px;
    }

    /* Footer */
    .site-footer {
        padding: 50px 0 0;
    }
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 28px; 
        padding-bottom: 35px;
    }
    .footer-bottom {
        padding: 16px 0 75px;
        text-align: center;
    }
    .footer-bottom-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
    }

    /* Modal Popups on Mobile */
    .modal-backdrop {
        padding: 14px;
    }
    .modal-dialog {
        padding: 26px 18px 22px;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 14px;
    }
    .modal-close {
        top: 10px;
        right: 12px;
        font-size: 26px;
    }
    .modal-header h3 {
        font-size: 19px;
    }
}

/* ── Breakpoint: 576px and below (Smartphones Portrait) ── */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    .hero-form-card {
        padding: 22px 16px;
        border-radius: 14px;
    }
    .form-header h3 {
        font-size: 20px;
    }
    .form-header p {
        font-size: 12.5px;
    }
    .hero-feature-pills {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .hero-pill {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 7px 10px;
        text-align: center;
    }
    .hero-btn-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .hero-btn-group .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 18px;
    }
    
    /* Country Picker Popover: ensure full container width and no overflow */
    .tm-cc-dropdown {
        width: calc(100vw - 64px);
        max-width: 320px;
        left: 0;
    }
    .tm-cc-list {
        max-height: 210px;
    }
    .tm-cc-item {
        padding: 12px 14px;
        min-height: 44px;
    }

    /* Countries Embassy Grid: 1-column on compact mobile */
    .countries-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Trust Stats Grid: Compact 2x2 */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px 10px;
    }
    .stat-num {
        font-size: 27px;
    }
    .stat-label {
        font-size: 11.5px;
    }

    /* Bottom CTA Banner */
    .cta-banner-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .cta-banner-group .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Breakpoint: 380px and below (Small Phones: iPhone SE / 360px Androids) ── */
@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }
    .hero-title {
        font-size: 23px;
    }
    .hero-feature-pills {
        grid-template-columns: 1fr;
    }
    .tm-cc-dropdown {
        width: calc(100vw - 44px);
    }
    .tab-btn {
        padding: 8px 14px;
        font-size: 12.5px;
    }
    .section-title {
        font-size: 21px;
    }
    .sticky-call-btn,
    .sticky-wa-btn {
        font-size: 13.5px;
        padding: 12px 6px;
    }
}

