html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* This offsets the scroll position by 100px */

}

img {
    max-width:100%;
    max-height: 100%;
    height: auto;
}

/* Header styling */
header {
    position: fixed;
    top: 0;
    width: 100%;
}



/* Wrapper for centering the content */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto; /* Center the nav within the header */
    width: 100%;
    padding: 0 20px;
}

.nav-link {
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: var(--text-color-dark);
}

.nav-link:focus, .nav-link:hover {
    text-decoration: none;
    color: var(--primary-color);
}

/* DROPDOWN */

.dropdown-menu[data-bs-popper] {
    top: calc(100% + 10px);
    right: 0;
    left: auto;
}

.dropdown-item {
    font-size: 1.15rem;
    line-height: 2rem;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
    break-after: avoid;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: ease-in 0.25s;
}

/* Desktop site title */
.desktop-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

/* Navigation menu styling */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* Flex for menu items */
}

nav ul li {
    margin: auto 15px;
    font-size: 1.1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none; /* Hide on desktop */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.btn-toggle {
    cursor: pointer;
    width: 30px;
    height: 30px;
    margin-right: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.btn-toggle span {
    background-color: white;
    height: 3px;
    margin-bottom: 8px;
    width: 100%;
    display: block;
    border-radius: 3px;
}

/* Responsive styling for mobile screens */
@media (max-width: 768px) {
    /* Site title inside the toggle (for mobile only) */
    .site-title {
        display: block;
        font-size: 24px;
        font-weight: bold;
        color: white;
    }

    /* Hide desktop title */
    .desktop-title {
        display: none;
    }

    /* Mobile toggle button */
    .menu-toggle {
        display: flex; /* Visible only on mobile */
    }

    /* Hide nav items on mobile initially */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #007BFF;
        width: 100%;
        padding: 20px;
        text-align: left;
    }

    /* Make sure no overflow occurs on mobile */
    nav ul.active {
        display: flex;
        overflow-x: hidden; /* Prevents horizontal scroll */
        width: -webkit-fill-available;
        max-width: calc(100vw - 40px);
        position: fixed;
    }

    li.nav-item, li.nav-item ul li {
        margin: 0;
    }
    
    .nav-link {
        position:relative;
    }
    
    li.nav-item ul li a::before {
        content: "\21B3";
        position: absolute;
        left: -2px;
        top: 2px;
        color: var(--primary-color-light);
    }

    /* Remove any potential padding issues causing space */
    html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
}

/* Desktop title and menu alignment */
@media (min-width: 769px) {
    .menu-toggle {
        display: none; /* Hide toggle on desktop */
    }

    .desktop-title {
        display: inline-block; /* Visible on desktop */
    }

    .btn-toggle {
        display: none; /* Hide toggle button on desktop */
    }
}



.section {
    padding: 40px 20px;
    text-align: center;
    background: white;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

h1 {
    font-size: 2.5em;
    color: #007BFF;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    color: #343a40;
    margin-bottom: 20px;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}



ul li {
    font-size: 1rem;
    margin: 10px 0;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.5em;
    color: #007BFF;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 1.1em;
    line-height: 1.6;
}

footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 20px 0;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 2.5rem;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    background: white;
}

form div {
    width:100%;
}

form label, form input, form textarea, form button {
    width: 100%;
    margin: 1rem 0;
    padding: 0 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

form .form-select {
    border-radius: 0.5rem;
}

form input, form textarea {
    border: 1px solid #b3bcc5;
}

textarea.form-control {
    border-bottom-right-radius: 5px !important;
}

form button {
    width: auto;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    margin-top: 30px;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #fff !important;
    color: var(--primary-color) !important;
}

#formMessage {
    margin-top: 20px;
    color: green;
    font-weight: bold;
    font-size: 1.1em;
}


/* -------------------- NEW HOMEPAGE -------------------- */

/* Define Fixed Variable Colors, Opacity, Shadows, and Border Radius */
:root {
    /* Colors */
    --primary-color: #0866ff; /* Main Brand Color */
    --primary-color-light: #f3f8ff; /* Main Brand Color */
    --secondary-color: #ffa108; /* Secondary Color */
    --secondary-color-light: #FFD28C; /* Secondary Color */
    --secondary-color-light-2: #FFF4E4; /* Secondary Color */
    --background-color: #F6F9FC; /* Light Background */
    --text-color: #3c3c49; /* Body Text Color */
    --text-color-light: #7a818d; /* Light Text Color */
    --text-color-dark: #00122f; /* Light Text Color */
    --accent-color: #ffa108; /* Accent Color */
    --hover-color: #0866ff; /* Hover Color with Transparency */
    
    --bs-primary: #0866ff; /* Custom primary colour */
    --bs-secondary: #ffa108; /* Custom secondary colour */

    /* Opacity */
    --opacity-high: 0.9;
    --opacity-medium: 0.7;
    --opacity-low: 0.5;
    --opacity-very-low: 0.2;

    /* Shadows */
    --shadow-light: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Light Shadow */
    --shadow-medium: 0px 6px 12px rgba(0, 0, 0, 0.2); /* Medium Shadow */
    --shadow-heavy: 0px 10px 15px rgba(0, 0, 0, 0.3); /* Heavy Shadow */

    /* Border Radius */
    --border-radius-sm: 5px; /* Small Border Radius */
    --border-radius-md: 10px; /* Medium Border Radius */
    --bs-border-radius-lg: 15px; /* Large Border Radius */
}

body {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color-dark);
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}


/* Custom Button Styles */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    z-index: 100;
}

.btn-primary:hover {
    background-color: var(--bs-secondary); /* Custom darkened hover state */
    border-color: var(--bs-secondary);
}

.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.btn-secondary:hover {
    background-color: var(--bs-primary); /* Custom darkened hover state */
    border-color: var(--bs-primary);
}

/* Custom CSS for Hero Section */
.hero-section, .path-to-success, .contact-section, .why-choose-va {
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.hero-section > div {
    min-height: calc(100vh - 60px);
}

.hero-section h1 {
    font-size: 3rem;
    line-height: 4rem;
}

.hero-image {
    max-width: 100%;
    margin-left: 5rem;
}

.hero-services {
    position: absolute;
    left: 50%;
    bottom: 20px;
}

@media (max-width: 768px) {
    .hero-details {
        text-align: center;
    }
    
    .hero-details h1 {
        font-size: 2.25rem !important;
        margin-top: 1rem;
        line-height: 1.25;
    }
    
    .hero-image {
        margin-left: 0;
    }
    
    .hero-services {
        display:none;
    }

}

/* Services Section */

.background-half {
    width: 100%;
    height: 40%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    z-index: -1;
}

.services-section {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
}


.service-details {
    position: relative;
    background: var(--bs-white);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 7px rgb(165 166 192 / 40%);
    overflow: hidden;
}

.service-icons {
    font-size: 2.5rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
    border-radius: 5rem;
}

.service-tag {
    position: absolute;
    right: -2.25rem;
    top: 1.75rem;
    rotate: 45deg;
    padding: .25rem 2.5rem;
    font-weight: 600;
}

.service-tag.dedicated {
    background: var(--secondary-color-light);
}

.service-tag.in-demand {
    background: var(--primary-color-light);
}


/* Remove underline from the anchor tag */
.cta-btn {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Arrow inside the circle */
.cta-btn .arrow {
  transition: all 0.3s ease;
}

/* Hover effect */

.cta-btn:hover .arrow {
  margin-left: 6px;
}

/* Responsive adjustments for mobile layout */
@media (max-width: 767px) {
    .services-section p {
        font-size: 1rem;
    }
    
    .background-half {
        height: 20%;
    }
}

/* Inline CTA */

.inline-cta, .testimonials, .va-why-choose {
    background-color: var(--bs-primary);
    position: relative;
}


/* Custom styles for Testimonials */

.testimonial-slider {
    width: 90%;
    margin: 3rem auto;
    position: relative;
    overflow: hidden;
    background: var(--bs-white);
    padding: 1rem;
    box-shadow: 3px 3px 8px 4px rgb(0 0 0 / 45%);
}

/* Slides Container */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* Individual Slide */
.slide {
    flex-shrink: 0;
    text-align: center;
    padding: 1rem 3rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.slide p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--bs-black);
    font-style: italic;
}



/* Navigation Buttons */
.navigation {
    position: absolute;
    top: 50%;
    left:0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

/* path-to-success */

.path-to-success .container, .about {
    z-index:10;
    position: relative;
}

.path-to-success .step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}

.path-to-success .step-details {
    width: calc(100% - 40px);
}

.decor-image {
    position: absolute;
    z-index: 1; /* Make sure these images appear behind the content */
    width: 250px; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
    opacity: 0.6;
}

.top-left {
    top: 20px; /* Adjust position */
    left: 10px; /* Adjust position */
}

.bottom-right {
    bottom: 20px; /* Adjust position */
    right: 10px; /* Adjust position */
}

.bottom-left {
    bottom: 20px; /* Adjust position */
    left: 10px; /* Adjust position */
}

@media (max-width: 767px) {
    .top-left, .bottom-right {
        display: none;
    }
}


/* ----- VA ----- */

.va-circle-top-right {
    right: -200px;
    top: -200px;
}

.va-circle-bottom-left {
    left: -200px;
    bottom: -200px;
}

.circle-fade {
    position: absolute;
    width: 400px;
    height: 400px;
    display: block;
    border-radius: 50%;
    min-height: auto;
    background: rgb(92, 134, 255);
    background: radial-gradient(circle, rgba(92, 134, 255, 0.4) 0%, rgba(203, 219, 255, 0.01) 65%, rgba(0, 0, 0, 0) 100%);
    min-height: auto !important;
}

.va-intro {
    min-height: 500px;
    display: flex;
    z-index: 10;
    position: relative;
    background: var(--bs-white);
}

.va-bg {
    background: var(--background-color);
}


.va-why-choose .decor-image {
    width: auto;
}

.va-why-choose .top-left {
    top: 0;
    left: 0;
}

.va-why-choose .bottom-right {
    bottom: 0px;
    right: 0px;
}

.va-price-table li {
    font-size: 15px;
}

.va-price-table i{
    color: var(--bs-blue);
}


/* ----- 3D Content ----- */

.hero-3d {
    background-color: var(--secondary-color-light);
}

.sphere-main, .sphere-1, .sphere-2, .sphere-3, .sphere-4, .sphere-5, .sphere-6, .sphere-7, .sphere-8 {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--bs-blue), var(--primary-color));
}


.sphere-main {
    width: 300px;
    height: 300px;
    left: 60%;
    box-shadow: 20px 50px 30px 0px #00000077;
    animation: turn 5s ease-out 0s infinite;
}

@keyframes turn {
  0%, 100% {
        bottom: 20%;
  }
  50% {
    bottom: 40%;
  }
}

@keyframes turn-mobile {
  0%, 100% {
        top: 2%;
  }
  50% {
    top: 8%;
  }
}
    
.sphere-1, .sphere-4, .sphere-5, .sphere-6  {
    width: 200px;
    height: 200px;
}

.sphere-2, .sphere-3, .sphere-7, .sphere-8  {
    width: 100px;
    height: 100px;
}

.sphere-1 {
    top: -100px;
    left: 75%;
}

.sphere-2 {
    top: 25%;
    left: 90%;
}

.sphere-3  {
    top: 80%;
    left: 30%;
}

.sphere-4 {
    bottom: -80px;
    right: -50px;
}

.sphere-5 {
    bottom: -40px;
    left: -40px;
    z-index: -1;
}

.sphere-6 {
    top: -120px;
    right: -60px;
    z-index: -1;
}

.sphere-7 {
    top: -50px;
    left: -50px;
    z-index: -1;
}

.sphere-8 {
    bottom: -50px;
    right: -50px;
    z-index: -1;
}

.why-choose-3d {
    background: rgb(13, 110, 253);
    background: linear-gradient(90deg, rgba(13, 110, 253, 0.3) 0%, rgba(13, 110, 253, 0.05) 40%, rgba(13, 110, 253, 0.05) 60%, rgba(13, 110, 253, 0.3) 100%);
}

.workflow-section {
background: rgb(13, 110, 253);
    background: linear-gradient(90deg, rgba(13, 110, 253, 0.2) 0%, rgba(13, 110, 253, 0.1) 40%, rgba(13, 110, 253, 0) 60%);
}


.marketplace-img {
    border: 1px dashed #333;
    padding: 1rem;
    border-radius: 1rem;
    max-width: 100%;
}

.why-invest-3d .row {
        border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-sm) !important;
}

@media (max-width:768px) {
    .sphere-main {
        left: calc(40% - 110px);
        animation: turn-mobile 5s ease-out 0s infinite;
        width: 220px;
        height: 220px;
    }
    
    
    
    .sphere-1 {
        top: -100px;
        left: 75%;
    }
    
    .sphere-2 {
        top: 25%;
        left: 90%;
    }
    
    .sphere-3 {
        top: 90%;
        left: -10%;
    }
    
    .sphere-4 {
        bottom: -80px;
        right: -50px;
    }
    
    .why-invest-3d .service-details {
        border-right: none !important;
        border-bottom: 1px solid var(--bs-border-color);
    }
}

/* Acedamy */
.thick-blue-line, .thick-orange-line, .bottom-shadow-sync {
    width: 110%;
    height: 0;
    min-height: 0 !important;
    bottom: 20px;
    left: -5%;
    border-bottom: 40px solid;
}

.thick-blue-line {
    transform: rotate(1.20deg);
    color: var(--primary-color);
    z-index: 1001;
}

.thick-orange-line {
    transform: rotate(-1.20deg);
    color: var(--secondary-color);
    z-index: 1000;
}

.bottom-shadow-sync {
    transform: rotate(0deg);
    color: rgb(255 155 0 / 60%);
    z-index: 900;
    bottom: 0;
}

.academy-intro-bg {
    background: rgb(255,255,255);
background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,155,0,0.5998774509803921) 100%);
}

.academy-credit-box {
    background: var(--primary-color) !important;
    color: var(--bs-white);
    overflow:visible;
}

.academy-credit-box  .service-icons {
    position: absolute;
    top: -2.25rem;
    background: var(--bs-white);
    padding: 0.75rem;
    z-index: 100;
    border: 2px solid var(--primary-color);
    border-radius: 2rem;
}

.featured-courses {
    background: #ffd28c;
    background: linear-gradient(90deg, rgba(255, 188, 83, 1) 0%, rgba(255, 210, 140, 1) 50%, rgba(255, 188, 83, 1) 100%);
}

.academy-intro {
    min-height: 800px;
    position: relative;
}

.about-bars {
    left:0;
    top:0;
    max-width: 40vw;
}

.about-bars.right{
    right: 0;
    bottom: 0;
    left: auto;
    top: auto;
    transform: rotate(-180deg);
}

#faqAccordion {
     max-width:700px;
 }
 
/* Academy cards */
.pinned-card {
    background: #fff;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 50px;
    border: 0;
}
.step-2, .step-4 {
    margin-top:10rem !important;
}
.step-body {
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgb(255 155 0 / 30%) 100%);
    border-radius: 1rem;
}
.tilt-right {
    transform: rotate(10deg);
}
.tilt-left {
    transform: rotate(-10deg);
}
.pin-image {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
}
.curved-line {
    position: absolute;
    width: 20rem;
    height: 10rem;
    border-top: 1px dashed var(--primary-color);
    border-radius: 35% / 10rem 5rem 0 0;
}
.curved-line.right {
    right: -14rem;
    top: 12rem;
    transform: translateY(-40%) rotate(40deg);
    z-index: -1;
}
.curved-line.left {
    left: -10rem;
    top: 12rem;
    transform: translateY(50%) rotate(-50deg);
    z-index: -1;
}
.step-number {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-style: italic;
    font-family: cursive;
}
@media (max-width: 768px) {
    .pinned-card {
        transform: none;
    }
    .curved-line {
        display: none;
    }
    .step-2, .step-4 {
        margin-top:3rem !important;
    }
}

/* USER ACCOUNT */

/* Post Submission */

.post-form {
    background: lightgrey;
    color: black;
    font-size: 1.25rem;
    font-weight: 800;
    align-items: baseline;
    font-family: 'Nunito';
    padding: 1rem 2rem;
}

.post-form > div {
    width:100%;
}

.post-form div .form-control {
    padding: 0.75rem;
    border-radius: 1rem;
}

/* Post Card FRONT END Layout */
.cq-post-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cq-post-flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cq-post-image {
    flex: 0 0 35%;
    max-width: 35%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
}

.cq-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Add this */
}

.cq-post-title {
    font-size: 2rem;
    font-weight: bold;
    text-transform: capitalize;
}

.cq-post-title a {
    text-decoration: none;
    color: #222;
}

.cq-post-title a:hover {
    color: #007BFF;
}

.cq-post-excerpt {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.cq-read-more {
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
}

.cq-read-more:hover {
    text-decoration: underline;
}

.cq-post-meta {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: auto;
    padding-top: 10px;
}

.cq-date {
    color: #888;
    padding: 0 !important;
}

.cq-categories {
    background: var(--primary-color);
    color: var(--bs-white);
}

.cq-tags {
    background: var(--secondary-color);
    color: var(--bs-white);
    
}

.cq-date,
.cq-categories,
.cq-tags {
    display: inline-flex;
    flex-direction: row;
    margin-right: 0.25rem;
    padding: 0.1rem 0.4rem;
    border-radius: 0.5rem;
    text-decoration: none;
}

.post-content img {
    border-radius: 1rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6
{
    margin: 1.5rem 0;
}

.post-content h1,
.post-content h2,
.post-content h3
{
    font-size:1.75rem;
    color: var(--bs-dark);
}

.post-content h4,
.post-content h5,
.post-content h6
{
    font-size:1.25rem;
    color: var(--bs-dark-text);
}

.post-content .intro-table {
    font-size: .9rem;
    background: var(--secondary-color-light-2);
    padding: 1px 1rem;
    padding-right: 1rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
}

.post-content .intro-table a, .post-content .intro-table p {
    text-decoration: none;
    padding: 2px 0;
    margin:0;
    position: relative;
    display: inline-flex;
}

.post-content .intro-table p {
    font-size:0.9rem;
}

.post-content .intro-table a {
    color: var(--primary-color);
    font-weight:600;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .cq-post-flex {
        flex-direction: column;
    }

    .cq-post-image,
    .cq-post-content {
        flex: 100%;
        max-width: 100%;
    }

    .cq-post-image {
        aspect-ratio: 16 / 9; /* Optional - remove if you want auto height */
    }
}

.card {
    border-radius: 0.5rem;
}

/***---------------- COURSES ----------------***/

