html {
    scroll-behavior: smooth;
}


:root {
    --primary-color: #4A90E2;
    --secondary-color: #002B4E;
    --text-color: #333;
    --top-bar-bg: #001D3D;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background-color: var(--top-bar-bg);
    color: white;
    font-size: 0.85rem;
    padding: 12px 0;
}

/* Navbar */
.navbar-brand span {
    color: #222;
}

.nav-link {
    font-size: 1rem;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background-color: white;
    overflow: hidden;
    padding-bottom: 80px;
}

/* Background Circle */
.hero-bg-circle {
    position: absolute;
    top: 55%;
    left: 70%;
    transform: translate(-50%, -50%);
    width: 320px !important;
    height: 320px !important;
    background-color: #E6F2FF;
    border-radius: 50%;
    z-index: 0;
}

/* Hero Images */
.hero-superhero {
    max-height: 350px;
    z-index: 2;
}

.hero-laptop {
    max-height: 330px;
}

/* ---------------------------------------- */
/* RESPONSIVE FIXES (<= 991px) */
@media (max-width: 991px) {

    .hero-section {
        padding-bottom: 50px;
    }

    .hero-section .row {
        text-align: center;
    }

    .hero-bg-circle {
        top: 65%;
        left: 50%;
        width: 280px !important;
        height: 280px !important;
        transform: translate(-50%, -50%);
    }

    .hero-superhero,
    .hero-laptop {
        max-width: 100%;
        height: auto;
    }

    .hero-superhero {
        max-height: 260px !important;
        margin-bottom: 15px;
    }

    .hero-laptop {
        max-height: 220px !important;
    }

    .app-info-section::before {
        background-size: contain;
        opacity: 0.3;
    }
}

/* ---------------------------------------- */
/* MOBILE FIXES (<= 575px) */
@media (max-width: 575px) {

    .hero-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-bg-circle {
        display: none;

    }

    .hero-superhero {
        max-height: 180px !important;
    }

    .hero-laptop {
        max-height: 160px !important;
        margin-left: 0 !important;
    }

    .hero-section .btn {
        width: 100%;
        margin-bottom: 12px;
    }
}

/* Buttons */
.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

/* App Info Section */
.app-info-section {
    position: relative;
    background-color: var(--secondary-color);
    overflow: hidden;
}

.app-info-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/partical.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.app-info-section:hover::before {
    opacity: 1;
}

.app-info-section > * {
    position: relative;
    z-index: 1;
}

.app-info-section .btn-primary {
    background: linear-gradient(to right, #0061B4, #50ace7);
    border: none;
}

.app-info-section .btn-primary:hover {
    background-color: #0b5ed7;
}

/* Why Use Section */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon fixes for small screens */
@media (max-width: 767px) {
    .feature-card {
        margin-bottom: 20px;
    }

    .icon-wrapper {
        width: 40px;
        height: 40px;
    }
}

/* When to Use Section */
.feature-box {
    background-color: #F8F9FA;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background-color: white;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1) !important;
    transform: translateY(-3px);
}

/* Footer */
.vpn-footer {
    background-color: var(--secondary-color);
    font-size: 16px;
}

.footer-link {
    color: #e3eaf5;
    text-decoration: none;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.social-icon {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: 0.3s;
}

.social-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.social-icon:hover {
    background-color: #1d4e72;
    transform: translateY(-3px);
}

.store-icons {
    transition: 0.3s;
}

.store-icons:hover {
    transform: translateY(-3px);
}



/* Responsive improvements for TOS and Privacy pages */
/* Make images scale within their containers */
img {
    max-width: 100%;
    height: auto;
}

/* Navbar brand logo should never overflow on small screens */
.navbar-brand img {
    max-width: 100%;
    height: auto;
    max-height: 64px;
}

/* Footer images (logo and store badges) responsive */
.vpn-footer img {
    max-width: 100%;
    height: auto;
}
.store-icons {
    height: auto;
    max-height: 40px;
    width: auto;
    max-width: 100%;
}

/* Top bar responsive layout */
.top-bar .container {
    display: flex;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 6px;
}
.top-bar .container > div {
    display: flex;
    align-items: center;
    gap: 12px;
}
@media (max-width: 767.98px) {
    .top-bar .container {
        justify-content: center;
        text-align: center;
    }
    .top-bar .container > div {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}



/*pricing card css*/

/* Pricing card top-center ribbon */
.pricing-section .ribbon {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%) skewX(-18deg);
    background: #1cc274;
    color: #fff;
    padding: 8px 22px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
    z-index: 2;
}
.pricing-section .ribbon span {
    display: block;
    transform: skewX(18deg); /* unskew text */
    letter-spacing: .2px;
}

.pricing-section .ribbon::before { left: 10px; }
.pricing-section .ribbon::after  { right: 10px; }

/* color variations to match image */
.pricing-section .ribbon.basic { background:#1ec77a; }
.pricing-section .ribbon.popular { background:#18be70; }
.pricing-section .ribbon.recommended { background:#19bf71; }

@media (max-width: 991px) {
    .pricing-section .ribbon {
        top: -16px;
        padding: 7px 18px;
        font-size: 13px;
    }
}

.pricing-section {
    padding: 80px 0;
    background: #fff;
}

.pricing-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-subtitle {
    text-align: center;
    font-size: 16px;
    color: #555;
    max-width: 650px;
    margin: 0 auto 50px;
}

.pricing-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
}

.pricing-card {
    background-color: #F8F9FA;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid #acd5ff;
    flex: 1;
    min-width: 0;
    max-width: 23%;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    position: relative;
    overflow: visible;
}

.pricing-card:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

.pricing-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.old-price {
    color: #777;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #0066ff;
    margin-bottom: 5px;
}



/* Discount badge */
.pricing-card .save {
    display: inline-block;
    background: #e8f9ef;
    color: #08a84f;
    border: 2px solid transparent;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
    background:
            linear-gradient(#e8f9ef, #e8f9ef) padding-box,
            linear-gradient(var(--angle), #08a84f, #08a84f, transparent, gray) border-box;
            /*linear-gradient(var(--angle), #08a84f, transparent, transparent, transparent) border-box;*/
    animation: rotateRing 2s linear infinite;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateRing {
    0% {
        --angle: 0deg;
    }
    100% {
        --angle: 360deg;
    }
}


/* Main Price */
.price {
    font-size: 30px;
    font-weight: 600;
    color: #0061b4;
    margin-bottom: 6px;
}

.price span {
    font-size: 16px;
    font-weight: 500;
    color: #0061b4;
}

.pricing-card .old-price-line {
    margin-bottom: 6px;
}

.pricing-card .old-price-line s {
    color: #322f2f;
    text-decoration-color: #b53030;
    margin-right: 6px;
}

.pricing-card .old-price-line strong {
    color: #333;
    font-weight: 600;
}

/* VAT note */
.pricing-card .vat-text {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 20px;
}



.save {
    color: #09b34a;
    margin-bottom: 20px;
}

/* Buttons smaller */
.deal-btn {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, #0061B4, #6DC0F9);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.deal-btn:hover,
.deal-btn:focus {
    background-color: #0b5ed7;
    box-shadow: 0 .25rem .5rem rgba(0,0,0,0.08);
}

.moneyback {
    text-align: center;
    color: #09b34a;
    margin-bottom: 25px;
}

.features {
    margin-top: 20px;
}

.features h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.features ul {
    padding-left: 16px;
}

.features p {
    margin-bottom: 5px;
    color: #444;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .pricing-cards {
        flex-wrap: wrap;
    }
    .pricing-card {
        max-width: 48%;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .pricing-card {
        max-width: 100%;
    }
}







/* FAQ Main css */
.faq-section {
    background: #fff;
}

/* Title */
.faq-title {
    font-size: 36px;
    font-weight: 700;
}

/* Accordion */
.accordion-item {
    border: none;
    border-bottom: 1px solid #e6e6e6;
}

.accordion-button {
    padding: 1.15rem 1rem;
    font-size: 17px;
    font-weight: 500;
    color: #00498F;
    background: none;
    border-radius: 0;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: none;
    color: #00498F;
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(30%) sepia(70%) saturate(2000%) hue-rotate(185deg) brightness(95%) contrast(105%);
}

.accordion-body {
    padding: 0 1rem 1rem;
    color: #222121;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

/* 🔥 Responsive Fixes */
@media (max-width: 768px) {
    .faq-title {
        font-size: 30px;
    }

    .accordion-button {
        font-size: 16px;
        padding: 1rem;
    }

    .accordion-body {
        font-size: 15px;
        padding: 0 1rem 1rem;
    }
}

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

    .accordion-button {
        font-size: 15px;
        padding: 0.9rem;
    }

    .accordion-body {
        font-size: 14px;
    }
}


/* Back to top button */
button.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    z-index: 1040;
}
button.back-to-top:hover { filter: brightness(0.95); }
button.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ABOUT page responsive tweaks */
.about-hero {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
.breadcrumb-bar {
    width: 100%;
    padding: 0.5rem 0.75rem;
}
.breadcrumb-bar .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.about-main-img {
    max-height: 420px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.about-asst-img {
    max-height: 260px;
    width: 100%;
    height: auto;
    display: inline-block;
}
.faq-section .accordion-button {
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .about-hero {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .about-hero h2 {
        font-size: 1.9rem;
        text-align: center;
    }
    .about-main-img {
        max-height: 300px;
    }
    .about-asst-img {
        max-height: 220px;
        margin-top: 1rem;
    }
    .breadcrumb-bar {
        padding: 0.4rem .6rem;
    }
}

@media (max-width: 575px) {
    .about-hero {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
    .breadcrumb-bar {
        padding: 0.35rem .5rem;
    }
    .about-hero h2 {
        font-size: 1.6rem;
        line-height: 1.15;
    }
    .about-main-img {
        max-height: 220px !important;
    }
    .about-asst-img {
        max-height: 160px !important;
        margin-top: 0.75rem;
    }

    /* Make FAQ accordion easier to tap on small screens */
    .faq-section {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .faq-section .accordion-item + .accordion-item {
        margin-top: 0.6rem;
    }
    .faq-section .accordion-body {
        font-size: 0.95rem;
    }

    /* Reduce footer padding on very small devices */
    .vpn-footer {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* End ABOUT page tweaks */
