:root {
    --green: #2ecc71;
    --green-dark: #27ae60;
    --navy: #1a2340;
    --white: #ffffff;
    --offwhite: #f7f9f6;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e6df;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
    --transition: 0.25s ease;
}

/* PAGE-SPECIFIC SPACING */
.py {
    padding: 70px 0;
}

.pb-50 {
    padding-bottom: 50px;
}

.mt-50 {
    margin-top: 60px;
}

/*  HERO / VISA BANNER ─ */

.visa-hero {
    background: linear-gradient(135deg, rgba(26, 35, 64, 0.88) 0%, rgba(26, 35, 64, 0.60) 100%),
        url('https://www\.srilankatravelpackages.com/app/images/visa/visa--banner.jpg') center/cover no-repeat;
    padding: 80px 0;
    color: var(--white);
}

.visa-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.visa-hero-text .section-label {
    display: inline-block;
    background: rgba(46, 204, 113, 0.2);
    color: var(--green);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.visa-hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.25;
    margin-bottom: 18px;
}

.visa-hero-text h1 span {
    color: var(--green);
}

.visa-hero-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 28px;
    line-height: 1.8;
    color: #ffffff;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-ctas .btn i{
    transform: rotate(0deg);
}

/*  CONTACT FORM  */

.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

.contact-form h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.contact-form p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

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

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
}

.form-control {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    transition: border-color var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--green);
}

/*  VISA AT-A-GLANCE STRIP ─ */

.visa-strip {
    background: var(--navy);
    padding: 0;
}

.visa-strip-inner {
    display: flex;
}

.vs-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.vs-item:last-child {
    border-right: none;
}

.vs-item i {
    font-size: 1.6rem;
    color: var(--green);
    flex-shrink: 0;
}

.vs-item .vs-label {
    font-size: 0.75rem;
    opacity: 0.65;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.vs-item .vs-value {
    font-size: 1rem;
    font-weight: 700;
}

/*  FREE VISA ALERT  */

.free-visa-alert {
    background: linear-gradient(135deg, #e8f8ee 0%, #d4f4e2 100%);
    border-left: 5px solid var(--green);
    padding: 28px 36px;
    border-radius: var(--radius);
    margin: 50px 0 0;
}

.free-visa-alert .alert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: var(--white);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.free-visa-alert h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.free-visa-alert p {
    font-size: 0.93rem;
    color: var(--text);
    line-height: 1.8;
}

/*  TABLE OF CONTENTS  */

.toc-sec {
    padding: 50px 0 30px;
}

.toc-box {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 760px;
}

.toc-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: var(--offwhite);
    cursor: pointer;
    user-select: none;
}

.toc-title h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.toc-title i {
    color: var(--green);
    transition: transform var(--transition);
}

.toc-title.open i {
    transform: rotate(180deg);
}

.toc-list {
    display: none;
    padding: 16px 24px;
}

.toc-list.open {
    display: block;
}

.toc-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list li a {
    font-size: 0.88rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-list li a:hover {
    color: var(--green);
}

.toc-list li a::before {
    content: '›';
    color: var(--green);
    font-size: 1.1rem;
}

/*  SECTION HEADINGS ─ */

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.common-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.common-heading .section-heading {
    margin-bottom: 14px;
}

.section-label-sm {
    display: inline-block;
    background: rgba(46, 204, 113, 0.12);
    color: var(--green-dark);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/*  TWO-COL LAYOUT ─ */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse>* {
    direction: ltr;
}

.two-col figure img {
    border-radius: var(--radius);
    width: 100%;
    height: 340px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

/*  VISA TYPES GRID  */

.visa-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.visa-type-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.visa-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.visa-type-card figure {
    height: 200px;
    overflow: hidden;
}

.visa-type-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.visa-type-card:hover figure img {
    transform: scale(1.05);
}

.visa-type-card .card-body {
    padding: 22px;
}

.visa-type-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.visa-type-card p {
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.7;
}

.visa-type-card .type-tag {
    display: inline-block;
    background: rgba(46, 204, 113, 0.12);
    color: var(--green-dark);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/*  COUNTRY TABLE  */

.countries-table-wrap {
    overflow-x: auto;
}

.countries-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.countries-table td {
    padding: 12px 18px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
}

.countries-table tr:nth-child(even) td {
    background: var(--offwhite);
}

.countries-table td:first-child {
    font-weight: 500;
}

.india-highlight td {
    background: rgba(46, 204, 113, 0.12) !important;
    font-weight: 700;
    color: var(--green-dark);
}

/*  DOCUMENTS ─ */

.docs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.doc-card {
    background: var(--offwhite);
    border-radius: var(--radius);
    padding: 28px;
    border-left: 4px solid var(--green);
}

.doc-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-card h3 i {
    color: var(--green);
}

.bullets-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bullets-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.6;
}

.bullets-list li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/*  PROCESS STEPS  */

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.process-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
}

.process-card .step-num {
    position: absolute;
    top: -16px;
    left: 24px;
    background: var(--green);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.process-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    padding-top: 8px;
}

.process-card p {
    font-size: 0.87rem;
    color: var(--text-light);
    line-height: 1.7;
}

/*  COST TABLE  */

.cost-table-wrap {
    overflow-x: auto;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cost-table thead tr {
    background: var(--navy);
    color: var(--white);
}

.cost-table thead th {
    padding: 16px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
}

.cost-table tbody td {
    padding: 14px 18px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
}

.cost-table tbody tr:last-child td {
    border-bottom: none;
}

.cost-table tbody tr:nth-child(even) td {
    background: var(--offwhite);
}

.cost-highlight {
    color: var(--green-dark);
    font-weight: 700;
    font-size: 1rem;
}

.cost-note {
    color: #e74c3c;
    font-size: 0.82rem;
    margin-top: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.cost-note i {
    flex-shrink: 0;
    margin-top: 2px;
}

/*  ETA STEPS ─ */

.eta-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    counter-reset: step;
}

.eta-step {
    display: flex;
    gap: 20px;
    position: relative;
    padding-bottom: 32px;
}

.eta-step:last-child {
    padding-bottom: 0;
}

.eta-step::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.eta-step:last-child::before {
    display: none;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.35);
}

.step-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
    padding-top: 10px;
}

.step-body p {
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.7;
}

.step-body a {
    color: var(--green-dark);
    text-decoration: underline;
}

/*  QUICK FACTS ─ */

.quick-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.qf-card {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 26px 22px;
    color: var(--white);
    text-align: center;
}

.qf-card i {
    font-size: 1.8rem;
    color: var(--green);
    margin-bottom: 12px;
}

.qf-card .qf-val {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.qf-card .qf-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

/*  MISTAKES / BEST TIME ─ */

.two-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-card {
    background: var(--offwhite);
    border-radius: var(--radius);
    padding: 32px;
}

.info-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h2 i {
    color: var(--green);
}

.info-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

/*  DESTINATIONS  */

.dest-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid var(--border);
}

.dest-row:last-child {
    border-bottom: none;
}

.dest-row figure img {
    border-radius: var(--radius);
    width: 100%;
    height: 300px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.dest-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dest-content h3 i {
    color: var(--green);
    font-size: 1rem;
}

.dest-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.dest-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(46, 204, 113, 0.1);
    color: var(--green-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 14px;
}

/*  PACKAGE CTA STRIP  */

.package-cta {
    background: linear-gradient(135deg, var(--navy) 0%, #253155 100%);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.package-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    margin-bottom: 14px;
}

.package-cta p {
    font-size: 0.98rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 28px;
    color: #ffffff;
}

.package-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.package-cta-btns .btn i{
        transform: rotate(0deg);
}

/*  FAQ ─ */

.faq-sec {
    padding: 80px 0;
    background: var(--white);
}

.faq-sec>.container>h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    color: var(--navy);
    text-align: center;
    margin-bottom: 10px;
}

.faq-sec>.container>p {
    text-align: center;
    color: var(--text-light);
    font-size: 0.93rem;
    margin-bottom: 50px;
}

.accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acc-item {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.acc-item:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.acc-title {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.acc-title h3 {
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.5;
}

.acc-title::after {
    content: '\f078';
    font-family: 'Font Awesome 7 Free';
    font-weight: 900;
    color: var(--green);
    font-size: 0.82rem;
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.acc-item.open .acc-title::after {
    transform: rotate(180deg);
}

.acc-body {
    display: none;
    padding: 0 24px 20px;
}

.acc-item.open .acc-body {
    display: block;
}

.acc-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

.acc-body p a {
    color: var(--green-dark);
    text-decoration: underline;
}

/* PAGE-SPECIFIC RESPONSIVE */
@media (max-width: 1024px) {
    .visa-hero-inner,
    .two-col,
    .docs-grid,
    .process-grid,
    .two-info-grid {
        grid-template-columns: 1fr;
    }

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

    .quick-facts {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .visa-strip-inner {
        flex-direction: column;
    }

    .vs-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .visa-types-grid,
    .docs-grid,
    .process-grid,
    .quick-facts,
    .two-info-grid {
        grid-template-columns: 1fr;
    }

    .dest-row {
        grid-template-columns: 1fr;
    }

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

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