:root {
    --bg: #0b0b0d;
    --muted: #bfc4d6;
    --gradient-start: #ff6b6b;
    --gradient-end: #6a5cff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass: rgba(255, 255, 255, 0.05);
    --accent: linear-gradient(120deg, var(--gradient-start), var(--gradient-end));
    --radius: 14px;
    --transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

/* Base */
body {
    background: radial-gradient(circle at 10% 10%, rgba(106, 92, 255, 0.06), transparent 8%), var(--bg);
    color: #e9eef8;
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: #fff;
}

.container {
    max-width: 1150px;
}

/* Navbar */
.navbar {
    background: transparent;
}

.navbar .navbar-brand {
    font-weight: 700;
    color: #fff;
    transition: var(--transition);
}

.navbar .navbar-brand:hover {
    color: var(--gradient-start);
}

.navbar .navbar-brand .brand-mark {
    margin-right: .6rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff;
}

.btn-gradient {
    background: var(--accent);
    border: 0;
    color: white;
    box-shadow: 0 6px 18px rgba(106, 92, 255, 0.18);
    border-radius: 12px;
    padding: .6rem 1rem;
    transition: var(--transition);
}

.btn-gradient:hover {
    opacity: 0.9;
}

.btn-outline-light {
    border-radius: 10px;
    transition: var(--transition);
}

/* Banner with big circles */
.banner {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--bg);
    color: #fff;
}

.banner h1 {
    font-size: 3rem;
    font-weight: 700;
    z-index: 2;
    position: relative;
}

.banner .btn {
    margin: 10px;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    z-index: 2;
    position: relative;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gradient-start), var(--gradient-end));
    filter: blur(100px);
    opacity: 0.55;
    z-index: 1;
    transition: var(--transition);
}

.circle.one {
    width: 550px;
    height: 550px;
    top: -150px;
    left: -150px;
}

.circle.two {
    width: 650px;
    height: 650px;
    bottom: -200px;
    right: -200px;
}

/* Floating card */
.floating-card {
    position: absolute;
    right: 0;
    bottom: 10px;
    width: 360px;
    transform: rotate(-6deg);
}

.floating-card img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.6);
    display: block;
}

.floating-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.55);
    padding: .45rem .6rem;
    border-radius: 8px;
    color: #fff;
    font-size: .85rem;
}

/* Sections */
.section {
    padding: 3rem 0;
}

/* Service Tabs */
.nav-pills .nav-link {
    border-radius: 50px;
    margin: 5px;
    padding: 8px 18px;
    background: var(--glass);
    color: var(--muted);
    transition: var(--transition);
}

.nav-pills .nav-link.active {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0px 0px 18px rgba(106, 92, 255, 0.45);
}

/* Service Cards */
.card.service-card {
    background: var(--card-bg);
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.card.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.card.service-card i {
    font-size: 40px;
    margin-bottom: 15px;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card.service-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.card.service-card p {
    font-size: 0.9rem;
    color: #aaa;
}

.card.service-card .btn {
    margin-top: 10px;
    border-radius: 25px;
    background: var(--accent);
    border: none;
    color: #fff;
    transition: var(--transition);
}

.card.service-card .btn:hover {
    opacity: 0.9;
}

/* Icon Rows */
.service-item {
    background: var(--glass);
    padding: 1.15rem;
    border-radius: 12px;
}

.iconbox {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    color: white;
    box-shadow: 0 8px 20px rgba(106, 92, 255, 0.08);
}

/* Gradient Text */
.text-gradient {
    background: -webkit-linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Features */
.feature {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 12px;
}

/* Subscribe Overlay */
.overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    background: rgba(2, 6, 23, 0.6);
    z-index: 2000;
}

.overlay-inner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    padding: 2rem;
    border-radius: 12px;
    min-width: 260px;
    color: #fff;
}

/* Testimonials */
.carousel-item .card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

/* Map */
.map-frame {
    height: 320px;
}

/* Footer */
/* Footer Base */
footer {
    background: radial-gradient(circle at top left, rgba(106, 92, 255, 0.05), transparent);
    color: #c9cedb;
    font-family: 'Poppins', sans-serif;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

footer h5,
footer h6 {
    color: #fff;
}

footer h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
}

/* Links */
footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

footer a:hover {
    color: var(--gradient-start);
}

/* Social Icons */
footer .social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
}

footer .social:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Footer Lists */
footer ul {
    padding-left: 0;
    list-style: none;
}

footer li {
    margin-bottom: 0.5rem;
}

/* Subscribe Input Group */
footer .input-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
}

footer .input-group input {
    border: none;
    padding: 0.4rem 0.75rem;
    background: transparent;
    color: #fff;
    flex: 1;
}

footer .input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

footer .input-group input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--gradient-start);
}

footer .input-group .btn {
    border: none;
    background: var(--accent);
    color: #fff;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

footer .input-group .btn:hover {
    opacity: 0.9;
}

/* Divider */
footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Bottom Text */
footer .small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}


/* FAQ Styles */
.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-toggle {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
    color: #bfc4d6;
}

.faq-item.active .faq-answer {
    max-height: 5000px;
    /* adjust as needed */
    padding: 1rem 1.5rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    /* plus becomes minus */
}

.scrollable-faq {
    max-height: 80vh;
    /* allow up to 80% of viewport height */
    overflow-y: auto;
    padding-right: 10px;
    /* optional: space for scrollbar */
    scroll-behavior: smooth;
}

/* Optional: style the scrollbar for modern look */
.scrollable-faq::-webkit-scrollbar {
    width: 8px;
}

.scrollable-faq::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.scrollable-faq::-webkit-scrollbar-track {
    background: transparent;
}


/* Responsive Adjustments */
@media (max-width: 991px) {
    .floating-card {
        display: none;
    }

    .hero-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Utility */
.bg-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

a.btn {
    text-decoration: none;
}

/* Accessibility focus */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(106, 92, 255, 0.22);
    outline-offset: 2px;
    border-radius: 8px;
}

/* Small polish */
h1,
h2,
h3,
h4 {
    color: #fff;
}

.lead {
    color: rgba(255, 255, 255, 0.8);
}

/* Form larger inputs */
form .form-control-lg,
form .form-select-lg {
    padding: 1rem 1.2rem;
    font-size: 1rem;
    border-radius: var(--radius);
    background: var(--card-bg);
    color: #fff;
    border: none;
}

/* Custom select for dark theme */
.form-select {
    background: var(--card-bg);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 0.6rem 1rem;
    transition: var(--transition);
}

.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 92, 255, 0.25);
    border-color: var(--gradient-end);
    background: var(--card-bg);
    color: #fff;
}

.form-select option {
    background: var(--bg);
    color: #fff;
}

.form-select option:hover {
    background: rgba(106, 92, 255, 0.2);
}

form .form-control-lg::placeholder {
    color: var(--muted);
}

/* Contact info spacing */
.contact-info p {
    margin-bottom: 0.5rem;
}

/* Map full height with container */
.map-frame {
    max-height: 190px;
}