/* === Base Reset & Utilities === */
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100vw;
    overflow-x: hidden;
}

body {
    background: radial-gradient(circle at top, #04040c 0%, #02021d 60%);
    color: white;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* === Navigation Bar === */

.navbar-nav .nav-link {
    color: white !important;
    padding: 0 15px;
    font-weight: 500;
}

.navbar-nav .nav-item {
    margin-left: 0.65rem; /* Or 1rem if you want more spacing */
    margin-right: 0.65rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #00bfff !important;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #ffffff; /* or any background to make text readable */
}
.btn-custom {
    background-color: #4c7eff;
    color: white;
    border: none;
}
.custom-auth-btn {
    padding: 6px 16px !important; /* Tighter spacing */
    font-size: 0.9rem !important; /* Slightly smaller font */
    border-width: 1px !important; /* Ensure border isn’t thick */
    border-radius: 4px !important; /* Clean, modern look */
}

.btn-custom:hover {
    background-color: #355fe0;
}

/* === Carousel Section === */
.carousel-item {
    padding: 3rem 0;
    height: 100vh;
}

.carousel-content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    height: 100%;
    padding-top: 50px;
}

.carousel-text {
    /* flex: 1; */
    min-width: 300px;
    width: 65%;
    max-width: 700px;
    padding: 1rem;
    margin-top: -40px;
    text-align: left;
}

.carousel-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: left;
}

.carousel-text p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.premium-text {
    color: yellow;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.carousel-image {
    flex: 1;
    text-align: center;
    padding: 1rem;
}

.carousel-image img {
    max-width: 100%;
    height: auto;
    max-height: 80vh;
    animation: slideIn 2s ease-in-out;
}

/* === Navbar Dropdown === */
.dropdown-menu {
    --bs-dropdown-color: #d6d5d5;
    --bs-dropdown-bg: #1b1b1b;
    border: 1.5px solid #444;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    left: -60% !important;
}
/* make an angle to point to the parent element */
.dropdown-menu.show::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #444 transparent;
}

.dropdown-menu .dropdown-item {
    color: var(--bs-dropdown-color);
    transition: background-color 0.3s ease;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}
.dropdown-menu li:first-child .dropdown-item {
    border-top-left-radius: var(--bs-dropdown-border-radius);
    border-top-right-radius: var(--bs-dropdown-border-radius);
}
.dropdown-menu li:last-child .dropdown-item {
    border-bottom-left-radius: var(--bs-dropdown-border-radius);
    border-bottom-right-radius: var(--bs-dropdown-border-radius);
}

.dropdown-menu .dropdown-item:hover {
    background-color: #444;
    color: #fff;
}

/* === Animation for Image Entrance === */
@keyframes slideIn {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.section-dark {
    background: radial-gradient(circle at center, #0f123f 0%, #000005 60%);
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #cccccc;
    font-size: 1rem;
    margin-bottom: 60px;
}

.card-custom {
    background: linear-gradient(to bottom, #1d1d1d, #0f0f0f);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid #2e2e2e;
}

.glow-bg {
    background: radial-gradient(
        circle at center,
        rgba(0, 123, 255, 0.15) 0%,
        transparent 70%
    );
    position: absolute;
    inset: 0;
    z-index: 0;
}

.icon-wrap {
    width: 80px;
    height: 80px;
    background-color: #121212;
    border: 6px solid #0d6efd;
    border-bottom-color: #121212;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    z-index: 10;
    position: relative;
}

.icon-wrap span {
    color: #0d6efd;
    font-size: 30px;
}

.card-custom h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.card-custom:hover {
    border: 1px solid #0d6efd;
    box-shadow: 0 0 25px rgba(13, 110, 253, 0.4);
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

.card-custom p {
    color: #ccc;
    font-size: 0.95rem;
}

.btn-learn {
    background-color: #0d6efd;
    border: none;
    padding: 0.5rem 1rem;
    color: #fff;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: background 0.3s;
}

#faqAccordion {
    width: 100% !important;
    --bs-accordion-color: #ffffff !important;
    --bs-accordion-bg: #0f1720 !important;
}
#faqAccordion .accordion-button {
    color: #ffffff !important;
}
.blog-card {
    background-color: #111831 !important;
}

.btn-learn:hover {
    background-color: #0b5ed7;
}

.philosophy-section {
    position: relative;
    width: 100vw;
    height: 70vh;
    margin-left: calc(-50vw + 50%);
    background-image: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.7) 30%,
            rgba(0, 0, 0, 0.3) 60%,
            rgba(0, 0, 0, 0) 100%
        ),
        url("../../../assets/home/images/trainings-Do4amNQe.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    overflow: hidden;
}

.philosophy-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.1) 80%
    );
    z-index: 1;
}

.philosophy-inner {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 600px;
    margin-left: 8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.philosophy-text h1 {
    font-family: "Montserrat", sans-serif;
    color: #0d6efd;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    text-align: left; /* align text left */
}

.philosophy-text p {
    color: #f0f0f0;
    font-size: 1.125rem;
    line-height: 1.6;
    text-align: justify;
}

.philosophy-text .btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    width: fit-content;
    transition: background-color 0.3s ease;
}

.philosophy-text .btn:hover {
    background-color: #0056b3;
}

/* Fade-in animation */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-on-scroll.visible {
    animation: fadeIn 2s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: none;
    }
}

/* Unique AI Service Section Styles */
/* Unique AI Service Section Styles */
.ai-service-section {
    background: linear-gradient(120deg, #0b1220 0%, #1e2746 100%);
    color: #fff;
    padding: 0;
    margin: 0;
    font-family: "Montserrat", sans-serif;
}

.ai-service-section .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.ai-service-section .row {
    min-height: 420px;
}

.ai-service-section .image-holder {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ai-service-section .image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 2rem 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.1);
}

.ai-service-section .image-holder .ai-popup-icon {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: rgba(0, 123, 255, 0.85);
    color: #fff;
    border-radius: 50%;
    padding: 0.7rem;
    font-size: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 123, 255, 0.18);
    cursor: pointer;
    transition: background 0.3s;
}

.ai-service-section .image-holder .ai-popup-icon:hover {
    background: #ffc107;
    color: #222;
}

.ai-service-section .flip-horizontal {
    transform: scaleX(-1);
}

.ai-service-section .rounded-custom {
    border-radius: 2rem 0 0 2rem;
}

.ai-service-section .text-success.small {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0;
    letter-spacing: 1px;
}

.ai-service-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.ai-service-section p {
    font-size: 1.08rem;
    color: #eaf6ff;
}

.ai-service-section hr {
    border-top: 1.5px solid #5c5c5c;
    margin: 1.5rem 0;
}

.ai-service-section .ai-service-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.ai-service-section .ai-icon-circle {
    width: 150px;
    height: 50px;
    background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 123, 255, 0.1);
}

.ai-service-section .ai-service-item h5 {
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.ai-service-section .ai-service-item p {
    font-size: 0.98rem;
    color: #eaf6ff;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .ai-service-section .row {
        flex-direction: column;
    }
    .ai-service-section .image-holder img,
    .ai-service-section .rounded-custom {
        border-radius: 2rem 2rem 0 0;
    }
    .ai-service-section .col-md-6 {
        padding: 2rem 1rem !important;
    }
}
.why-choose-us-section {
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optional parallax effect */
}
.extra-spacing {
    margin-bottom: 5rem; /* Adds space below the section */
}

/* Why Choose Us Card Variants */
.card-box {
    position: relative;
    padding: 2rem 1rem 1rem 1rem;
    border-radius: 1rem;
    text-align: center;
    color: #fff;
    margin-bottom: 2rem;
    border: 2px solid #222;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #03205e 0%, #585b5e 100%);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.card-box.ai {
    background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
    border-color: #00f0ff;
}

.card-box.star {
    background: linear-gradient(135deg, #232526 0%, #ffd700 100%);
    border-color: #ffd700;
    color: #222;
}

.card-box.rocket {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-color: #00ffae;
}

.card-box.chart {
    background: linear-gradient(135deg, #232526 0%, #b4870b 100%);
    border-color: #b4870b;
}

.card-box.blue-box {
    background: linear-gradient(135deg, #007aff 0%, #0051ff 100%);
    border-color: #00aaff;
}

.icon-box {
    position: relative; /* Not absolute! */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    color: #ffc107;
}

.card-box h5 {
    font-weight: 600;
    margin-top: 15px;
}
.card-box h5,
.card-box p {
    text-align: left !important;
}
.card-box.tall-card p {
    text-align: center !important;
}
.process-steps .step,
.process-steps .step .content p {
    text-align: left !important;
}
.process-steps .step p {
    max-width: 100% !important;
}
.card-box {
    padding: 30px 20px;
    background-color: rgba(
        255,
        255,
        255,
        0.02
    ); /* optional, matches dark background */
    border-radius: 10px;
    height: 100%;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at center, #00f0ff, #000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.tall-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* make it same height as side cards */
    padding: 30px 20px;
    background-color: rgba(
        255,
        255,
        255,
        0.02
    ); /* optional subtle background */
    border-radius: 10px;
}

.tall-card img {
    max-height: 280px; /* Adjust to your desired height */
    object-fit: contain;
}

.blue-box {
    background: linear-gradient(135deg, #007aff, #0051ff);
}

refer and earn 

/* Clean card style */
/* === Section Wrapper === */
.card-section {
    background: none;
    padding: 6rem 0 5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

/* === Container === */
.card-container {
    background: none;
}

/* === Custom Card === */
.custom-card {
    background: radial-gradient(circle at 90% center, #002fff40, #111111 70%);
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    overflow: visible; /* So the image can overflow */
    position: relative;
    z-index: 1;
    padding: 3rem;
    margin-bottom: 4rem;
}

/* === Overlapping Image === */
.image-overlap {
    position: absolute;
    bottom: 0; /* Align with bottom of the card */
    right: -30px; /* Adjust this to push slightly outside if needed */
    z-index: 5;
    pointer-events: none;
}

.phone-img {
    height: 100%;
    max-height: 450px;
    object-fit: contain;
    pointer-events: none;
    position: relative; /* Ensure positioning is relative to its container */
    top: 0; /* Move image upward (adjust as needed) */
    left: -60px; /* Move image to the left (adjust as needed) */
}

.custom-card {
    background: radial-gradient(circle at 90% center, #002fff40, #110f0f 70%);
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.promo-text {
    color: #007bff;
    font-weight: bold;
}
.text-white {
    color: #ffffff !important;
}

.headline {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
}

.description {
    color: #bbbbbb;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.download-buttons a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    margin-right: 1rem;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.download-buttons .google-play {
    background-color: #007bff;
    color: #fff;
}

.image-overlap {
    position: absolute;
    top: -80px; /* Lift image above the card */
    right: -40px; /* Move image to the right */
    z-index: 5;
    pointer-events: none;
}

.phone-img {
    max-height: 430px;
    object-fit: contain;
    margin-right: px;
}
.blog-section {
    background: linear-gradient(
            to bottom,
            rgba(9, 4, 78, 0.2) 0%,
            rgba(20, 3, 66, 0.7) 70%,
            rgba(0, 0, 0, 0.95) 100%
        ),
        url("../../../assets/home/images/common picture.png") center center /
            cover no-repeat;
    padding: 100px 20px 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}
.section-title {
    font-size: 2.5rem;
    color: #00d4ff !important;
    /* font-weight: 700; */
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    color: #eee;
    line-height: 1.6;
}

/* Scroll animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.blog-card {
    min-width: 300px;
    background-color: #3c3c3c;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card-body {
    padding: 15px;
}

.blog-card-title {
    font-size: 1.1rem;
    color: #e2e4e4; /* blue title */
    margin-bottom: 5px;
    font-weight: bold;
    text-decoration: none;
}

.blog-card-date {
    font-size: 0.85rem;
    color: #4e8bd1;
    margin-bottom: 10px;
}

.blog-card-text {
    font-size: 0.95rem;
    color: #d3d1d1;
    text-align: justify;
}

.view-all-btn {
    background-color: #3498db;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.view-all-btn:hover {
    background-color: #217dbb;
}

.process-section {
    background: linear-gradient(
        135deg,
        #010c27,
        #06397c
    ); /* Soft blue diagonal */
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    padding: 60px 20px;
    margin-bottom: 60px;
}

/* =================== CAROUSEL STYLING =================== */
.carousel-container {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-fade .carousel-item {
    transition: opacity 2s ease-in-out;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    position: relative;
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-container a {
    display: block;
    position: relative;
    text-decoration: none;
}

/* =================== YOUTUBE SECTION =================== */
.youtube-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.youtube-btn-below {
    padding: 12px 24px;
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: background-color 0.3s ease;
}

.youtube-btn-below:hover {
    background-color: #cc0000;
}

.youtube-btn-below i {
    font-size: 18px;
}

/* Static YouTube Icon on carousel */
.youtube-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: white;
    text-shadow: 0 0 10px red;
    z-index: 2;
    pointer-events: none;
}

/* =================== PROCESS STEPS =================== */
.process-steps {
    position: relative;
    margin-left: 20px;
    border-left: 3px solid #007bff;
    padding-left: 30px;
}

.custom-lead {
    color: #b5bec7; /* or your preferred dark color */
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    width: 80%;
    margin: 10px auto 10px auto;
}
/* For section titles like "Our Methodology & Process" */
.section-heading {
    font-size: 2rem;
    font-weight: 600;
    color: #00d4ff !important; /* Choose your preferred title color */
    line-height: 1.3;
}
.our-team-section .section-heading {
    font-size: 13px;
}
.our-team-section .section-heading + p {
    color: #e2e2e2;
    font-size: 2rem;
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: bold;
}

.step {
    position: relative;
    margin-bottom: 30px;
}

.step .circle {
    position: absolute;
    left: -45px;
    top: 0;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
}

.step .content h5 {
    margin-bottom: 5px;
    color: #ffffff;
}

.step .content p {
    color: #d6b2b2;
    font-size: 0.95rem;
}
.process-steps .step .content {
    position: relative;
    top: -30px;
}

/* =================== BUTTON GROUP =================== */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 30px;
    justify-content: center;
}

/* "How it works" button styling (if used as btn-primary) */
.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px 20px;
    color: white;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* =================== ALIGN IMAGE & TEXT =================== */
.image-section-wrapper {
    padding-top: 40px; /* vertical match with text */
}

/* =================== ANIMATIONS =================== */
.fade-in-section {
    animation: fadeInUp 1.5s ease-in-out both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.testimonial-section {
    background: radial-gradient(circle at 90% center, #002fff40, #110f0f 70%);
    padding: 40px 0 4rem 0; /* Only vertical padding */
    color: white;
    margin: 50px 0 60px 0; /* Remove auto margin for horizontal centering */
    /* Remove border-radius and max-width so .container controls width/padding */
}

.testimonial-header {
    text-align: left;
    margin-bottom: 0;
    padding: 0 20px;
}

.subheading {
    color: #007bff;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
}

.main-heading {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-top: 5px;
}

.testimonial-box {
    background-color: #302e47;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
    border-radius: 10px;
}

.testimonial-content {
    /* display: flex;
    align-items: flex-start;
    flex-direction: column; */
    padding: 0 30px; /* This will align image and name/title */
    margin-bottom: 10px;
}

.testimonial_image {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.name {
    position: relative;
    left: 0px;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.title {
    font-size: 14px;
    margin: 2px 0;
}

.quote {
    width: 100%;
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
    color: #acacac;
}

.quote-icon {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 40px;
    opacity: 0.2;
}

.testimonial-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 230px; /* Adjust depending on your content */
}

.testimonial-slide {
    display: none;
    animation: slideIn 1s ease-in-out forwards;
}

.testimonial-slide.active {
    display: block;
}

@keyframes slideIn {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.testimonial-heading {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.custom-footer {
    background: linear-gradient(135deg, #111 30%, #0b0c1b 100%);
    border-top: 4px solid #007bff;
    border-radius: 20px;
    box-shadow: 0 -4px 20px rgba(0, 123, 255, 0.4);
    color: #ccc;
}

.custom-footer .footer-title {
    color: #007bff;
    font-weight: bold;
    margin-bottom: 15px;
}

.custom-footer a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.custom-footer a:hover {
    color: #fff;
}

.social-icons a {
    font-size: 1.2rem;
    color: #ccc;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #007bff;
}
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.footer-bottom {
    font-size: 14px;
}

.footer-bottom span,
.footer-bottom a {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    line-height: 1.5;
    display: inline-block;
    padding-top: 1px;
}

body {
    background-color: #f5f7fa;
    font-family: "Segoe UI", sans-serif;
}
.login-container {
    max-width: 400px;
    margin: 5% auto;
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.sophajs-header {
    color: #1f2b7b;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 10px;
}

.btn-primary {
    background-color: #1f2b7b;
    border-color: #1f2b7b;
}

.btn-primary:hover {
    background-color: #3f51b5;
    border-color: #3f51b5;
}

.form-control:focus {
    border-color: #93b907;
    box-shadow: 0 0 0 0.2rem rgba(31, 43, 123, 0.25);
}

.link-primary {
    color: #1f2b7b;
}

.return-home {
    margin-top: 20px;
}

/* About Us section  */
.about-us-intro-section {
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(10, 10, 30, 0.8) 60%,
            rgba(5, 0, 40, 0.95) 100%
        ),
        url("../../../assets/home/images/common\ picture.png") center center /
            cover no-repeat;
    padding: 90px 0;
}

.about-us-intro-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

.about-us-intro-section .section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #00aaff;
}

.about-us-intro-section .section-title p {
    max-width: 750px;
    margin: 0 auto;
    color: #e0e0e0;
    font-size: 1.25rem;
    line-height: 1.8;
}

.about-us-section {
    padding: 20px 0;
    background-color: #000000;
    font-family: "Montserrat", sans-serif;
    color: #333;
}

.about-us-section h2,
.about-us-section h3,
.about-us-section h4 {
    color: #003366;
    font-weight: 700;
}

.about-us-section p {
    color: #444;
    font-size: 1rem;
    line-height: 1.8;
}

.about-us-section .subheading {
    font-size: 1.2rem;
    color: #0077cc;
    font-weight: 500;
}

/* Flip image to face right */
.flip-horizontal {
    transform: scaleX(-1);
}

/* Round the image corners */
.rounded-custom {
    border-radius: 15px; /* Adjust as needed */
}

.about-us-image-holder {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.about-us-image-holder img {
    filter: grayscale(100%);
    height: 100%;
    object-fit: cover;
}

.popup-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #d3ff79;
    color: #000;
    padding: 0.5rem 0.7rem;
    border-radius: 0.75rem;
    font-size: 1.25rem;
}

.icon-circle {
    width: 80px;
    height: 50px;
    background: radial-gradient(
        circle at center,
        rgba(0, 98, 255, 0.4),
        rgba(0, 98, 255, 0.1)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aaff;
    font-size: 1.5rem;
}

/* Adjust spacing and padding for text */
.about-us-text {
    padding: 4rem !important;
    margin-top: 2rem;
    gap: 3rem;
}

/* our mission, vision and mission section */
.custom-card {
    background: #161515;
    color: #fff;
    border-radius: 15px;
    border: 1px solid #444242; /* Sharp light ash border */
    padding: 2rem;
    height: 100%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    outline: #00aaff;
}

.highlight {
    color: #aad60a;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.btn-learn {
    background-color: #007bff;
    color: white;
    border: none;
}
.view-more-text {
    color: #00aaff;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.btn-learn:hover {
    background-color: #00aaff;
}

.card-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}
.icon-circle {
    width: 60px;
    height: 60px;
    background: radial-gradient(
        circle at center,
        rgba(0, 123, 255, 0.2),
        rgba(0, 123, 255, 0.05)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aaff;
    margin-top: 2px;
}
.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.07); /* Deem white icons */
    pointer-events: none;
    z-index: 1;
    animation: floatIcon 8s ease-in-out infinite;
}
.floating-corner {
    position: absolute;
    font-size: 3rem;
    pointer-events: none;
    z-index: 1;
    animation: floatIcon 10s ease-in-out infinite;
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.we-are-sophajs-section {
    position: relative;
    width: 100vw;
    min-height: 70vh;
    margin-left: calc(-50vw + 50%);
    background-image: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.7) 30%,
            rgba(0, 0, 0, 0.3) 60%,
            rgba(0, 0, 0, 0) 100%
        ),
        url("../../../assets/home/images/trainings-Do4amNQe.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.we-are-sophajs-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.1) 80%
    );
    z-index: 1;
}

.we-are-sophajs-inner {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 600px;
    margin-left: 8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.we-are-sophajs-text h1 {
    font-family: "Montserrat", sans-serif;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.we-are-sophajs-text p {
    color: #f0f0f0;
    font-size: 1.125rem;
    line-height: 1.6;
}

.we-are-sophajs-text .btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    width: fit-content;
    transition: background-color 0.3s ease;
}

.we-are-sophajs-text .btn:hover {
    background-color: #0056b3;
}

/* Fade-in animation */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-on-scroll.visible {
    animation: fadeIn 2s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: none;
    }
}

.we-are-sophajs-section {
    height: auto;
    padding: 3rem 1.5rem;
    background-attachment: scroll;
}

.we-are-sophajs-inner {
    margin-left: 0;
    padding: 1.5rem;
    max-width: 100%;
}

.we-are-sophajs-text h1 {
    font-size: 2rem;
    text-align: center;
}

.we-are-sophajs-text p {
    text-align: center;
}

.we-are-sophajs-text .btn {
    margin: 0 auto;
}

.core-values-section {
    background: radial-gradient(
        circle at center,
        rgba(5, 10, 15, 0.2),
        rgba(0, 123, 255, 0.05)
    );
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.02); /* subtle glow */
}

.core-value-card {
    background: linear-gradient(145deg, #1d1c1c, #1a1717);
    border: 1px solid #363434;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 0 25px rgba(13, 65, 148, 0.05);
}

.core-value-card h5 {
    margin-top: 1rem;
    color: #00aaff;
    font-weight: 600;
}

.core-value-card p {
    color: #ccc;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.icon-glow {
    font-size: 2.5rem;
    color: #00aaff;
    text-shadow: 0 0 15px rgba(0, 170, 255, 0.3);
}

.text-glow {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.core-value-card:hover {
    transform: scale(1.03);
}

/* Slide-in Animation */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideInUp 1s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}
.delay-2 {
    animation-delay: 0.4s;
}
.delay-3 {
    animation-delay: 0.6s;
}
.delay-4 {
    animation-delay: 0.8s;
}
.delay-5 {
    animation-delay: 1s;
}
.delay-6 {
    animation-delay: 1.2s;
}

.our-team-section {
    background: url("../../../assets/home/your-background.jpg") no-repeat center
        center/cover; /* Optional */
    background-color: #161515;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00aaff !important;
}

.team-intro {
    font-size: 1rem;
    color: #ccc;
}

.btn-discover {
    background-color: #007bff;
    color: #fff;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    font-weight: 500;
}

.btn-discover:hover {
    background-color: #00aaff;
}

.team-card {
    background-color: #0a1425 !important;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease-in-out;
}
.team-card h5 {
    margin-top: 1rem;
    color: #00aaff;
    font-weight: 600;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}

.team-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #007bff;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 60% 40%, #007bff 0%, #04040c 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

.preloader-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.preloader-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0 0 30px #6ec1ff88;
    animation: logoPop 1.2s infinite alternate;
}

@keyframes logoPop {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08) rotate(-8deg);
    }
}

.spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #fff;
    border-top: 5px solid #6ec1ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 18px #6ec1ff88;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.preloader-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #007bff88;
    animation: fadeText 2s infinite alternate;
}

@keyframes fadeText {
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}
/* General Page Styling */
.signup-wrapper {
    display: flex;
    max-width: 1000px;
    margin: 50px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.signup-left {
    flex: 1;
    background-color: #004085;
    color: #fff;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url("../../../assets/home/images/best solution image.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Dark overlay with opacity */
.signup-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Floating info card on left panel */
.signup-left .info-box {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 2.5rem;
    border-radius: 15px;
    max-width: 380px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
    top: -20px;
    animation: floatCard 4s ease-in-out infinite;
    color: #333;
}

/* Floating animation */
@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: translateY(-15px);
        box-shadow: 0 30px 40px rgba(0, 0, 0, 0.2);
    }
}

/* Info box list styling */
.signup-left ul {
    padding-left: 20px;
    font-weight: 500;
}

.signup-left li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.4;
}

.signup-left h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #333;
}

.signup-form {
    flex: 1;
    padding: 40px 30px;
    background: #fff; /* Clean white background */
    border-radius: 0 12px 12px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

/* Form header */
.signup-form h4 {
    text-align: center;
    margin-bottom: 25px;
    color: #222;
}

/* Sharper placeholders */
::placeholder {
    color: #444 !important;
    opacity: 1 !important;
    font-weight: 500;
}

/* Inputs and select styling with smooth transitions */
.signup-form input.form-control,
.signup-form select.form-select {
    border: 1.8px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
}

.signup-form input.form-control:focus,
.signup-form select.form-select:focus {
    border-color: #0d6efd; /* Bootstrap primary blue */
    box-shadow: 0 0 8px rgba(13, 110, 253, 0.3);
    outline: none;
}

/* Submit button animations */
.signup-form button.btn-primary {
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.15s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

.signup-form button.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(11, 94, 215, 0.4);
}

.signup-form button.btn-primary:active {
    background-color: #0a53be;
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(10, 83, 190, 0.3);
}
.signup-form label.form-label {
    color: #444; /* Dark almost black */
    font-weight: 600; /* Slightly bolder for emphasis */
    font-size: 1rem; /* Ensure readable size */
}
.form-label {
    color: #444 !important; /* Dark almost black */
}

/* Services section */
.services-intro-section {
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(10, 10, 30, 0.8) 60%,
            rgba(5, 0, 40, 0.95) 100%
        ),
        url("../../../assets/home/images/common picture.png") center center /
            cover no-repeat;
    padding: 90px 0;
}
.service-intro-section {
    padding: 100px 0 !important;
}

.services-intro-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

.services-intro-section .section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #00aaff;
}

.services-intro-section .section-title p {
    max-width: 750px;
    margin: 0 auto;
    color: #e0e0e0;
    font-size: 1.05rem;
    line-height: 1.8;
}
.services-section {
    padding: 20px 0;
    background-color: #000000;
    font-family: "Montserrat", sans-serif;
    color: #333;
}

.services-section h2,
.services-section h3,
.services-section h4 {
    color: #003366;
    font-weight: 700;
}

.services-section p {
    color: #444;
    font-size: 1rem;
    line-height: 1.8;
}

.services-section .subheading {
    font-size: 1.2rem;
    color: #0077cc;
    font-weight: 500;
}

/* Flip image to face right */
.flip-horizontal {
    transform: scaleX(-1);
}

/* Round the image corners */
.rounded-custom {
    border-radius: 15px;
}

.services-image-holder {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.services-image-holder img {
    filter: grayscale(100%);
    height: 100%;
    object-fit: cover;
}

.popup-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #d3ff79;
    color: #000;
    padding: 0.5rem 0.7rem;
    border-radius: 0.75rem;
    font-size: 1.25rem;
}

.icon-circle {
    width: 80px;
    height: 50px;
    background: radial-gradient(
        circle at center,
        rgba(0, 98, 255, 0.4),
        rgba(0, 98, 255, 0.1)
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aaff;
    font-size: 1.5rem;
}

/* Adjust spacing and padding for text */
.services-text {
    padding: 4rem !important;
    margin-top: 2rem;
    gap: 3rem;
}

/* === Cleaned SERVICE CARDS (No Duplicates) === */
.service-cards-section {
    background-color: #0e0e0e;
}

.services-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    padding: 0rem !important; /* Same as .services-text */
}

.service-card {
    background-color: #1c1c1c;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem; /* REDUCED padding from 4rem or 3rem */
    color: #f0f0f0;
    position: relative;
}

.service-card:hover {
    background-color: #252525;
}

.service-card-content {
    max-width: 80%;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.service-card p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-card-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background-color: #d3ff79;
    padding: 1rem;
    width: 60px;
    height: 60px;
    border-radius: 20px 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    z-index: 2;
}
.services-section .row {
    min-height: 100%; /* Stretch entire row height */
    display: flex;
    align-items: stretch;
}

.services-image-holder {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: stretch;
}

.services-image-holder img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 15px;
}

/* MAIN SERVICES SECTION */
/* MAIN SERVICES SECTION */
.main-services {
    background-color: #0d0d0d;
    color: #ffffff;
    font-family: "Segoe UI", sans-serif;
}

.main-services .section-title {
    font-size: 2rem;
    font-weight: bold;
}

/* Main Service Cards */
.main-services .main-service-card {
    background-color: #1a1a1a;
    background-image: radial-gradient(
        circle at center,
        rgba(1, 11, 146, 0.07) 0%,
        transparent 80%
    );
    padding: 40px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 1.9s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.main-services .main-service-card:hover {
    transform: translateY(-10px);
}

/* Icon Wrapper with Blue Glow */
.main-services .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 102, 255, 0.6) 0%,
        rgba(0, 0, 0, 0.7) 60%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
}

/* Card Text */
.main-services .main-service-card h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.main-services .main-service-card p {
    font-size: 0.95rem;
    color: #a7a1a1;
    margin-bottom: 25px;
}
.main-services .main-service-card:hover {
    transform: translateY(-10px);
    border: 1px solid rgba(0, 123, 255, 1); /* sharp, solid blue border */
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.2); /* subtle outer glow */
}

/* Learn More Button */
.main-services .btn-learn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.main-services .btn-learn:hover {
    background-color: #0056b3;
}

/* Card Number */
.main-services .card-number {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 3rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}
.cta-section {
    width: 100%;
    height: 400px;
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.85) 50%,
            rgba(0, 0, 0, 0.1) 100%
        ),
        url("../../../assets/home/images/common\ picture.png") center center /
            cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding-top: 60px; /* ← Add this line to create space from top */
    margin-bottom: 100px;
}

.cta-overlay {
    width: 100%;
    padding: 0 5%; /* Match the menu's horizontal padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-content {
    max-width: 600px;
    color: #ffffff;
    text-align: left;
    padding: 0 5%; /* Add same horizontal padding as menu */
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    padding: 0 5%; /* Add same horizontal padding as menu */
}

.cta-buttons a {
    margin-right: 1rem;
    padding: 0.5rem 1rem; /* reduced padding */
    font-size: 0.95rem; /* slightly smaller font */
    font-weight: 600;
    border-radius: 6px; /* less rounded corners */
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background-color: #00aaff;
    color: #fff;
    border: none;
}

.cta-buttons .btn-primary:hover {
    background-color: #0077cc;
}

.cta-buttons .btn-outline-light {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.cta-buttons .btn-outline-light:hover {
    background: #ffffff;
    color: #000;
}

.contact-us-section {
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(10, 10, 30, 0.8) 60%,
            rgba(5, 0, 40, 0.95) 100%
        ),
        url("../../../assets/home/images/contact\ us\ image.jpg") center center /
            cover no-repeat;
    padding: 90px 0;
}

.contact-us-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

.contact-us-section .section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #00aaff;
}

.contact-us-section .section-title p {
    max-width: 750px;
    margin: 0 auto;
    color: #e0e0e0;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Contact Section Styling */
.contact-section {
    padding-top: 60px; /* extra space from navbar */
    padding-bottom: 60px;
}

.left-side {
    background: url("../../../assets/home/images/best\ solution\ image.jpg")
        center/cover no-repeat;
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 8px;
    color: #fff;
    max-width: 400px;
}

.overlay-card h3 {
    margin-bottom: 15px;
}

.form-side {
    background: #0b0f19;
}

.form-side h2 {
    font-size: 1.8rem;
}

.form-control {
    border: 1.5px solid #1a1f2d;
    color: #444;
    outline: none !important;
}
.form-control:focus,
.input-group .form-control:focus + .input-group-text {
    border-color: #00aaff;
    box-shadow: 0 0 8px rgba(0, 170, 255, 0.3);
}
.noticeBx {
    color: #444;
}
.form-control::placeholder {
    color: #bbb;
}
.input-group input[type="password"] {
    border-right: none;
}
.input-group-text {
    background: #1a1f2d;
    border: 1.5px solid #1a1f2d;
    color: #00aaff;
}
.signup-form .input-group-text {
    border: 1.8px solid #ddd;
}
.signup-form .form-control:disabled + .input-group-text {
    background-color: var(--bs-secondary-bg) !important;
    opacity: 1;
}

.btn-primary {
    background-color: #007bff;
    border: none;
}

/* Info Cards */
.info-cards {
    margin-top: 50px;
}

.info-card {
    background: #0b0f19;
    padding: 30px;
    border-radius: 8px;
    color: #fff;
}

.info-card .icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00aaff;
}

.info-card h5 {
    margin-bottom: 8px;
    font-weight: 600;
}

.info-card p {
    margin: 0;
    font-size: 0.95rem;
}
.refer-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.8) 40%,
            rgba(0, 50, 50, 0.1) 70%
        ),
        url("../../../assets/home/images/welcome-bm-image.png") no-repeat
            right center / contain;
    padding: 100px 0;
}

.refer-hero .refer-hero-text {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.2s ease forwards;
}

.refer-hero .refer-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    max-width: 900px;
    color: #00bfff; /* Different highlight color for refer section */
}

.refer-hero .refer-hero-text h5 {
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: #ffc400;
}

.refer-hero .refer-hero-text p {
    font-size: 1.1rem;
    color: #ddd;
}

.refer-hero .refer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #00bfff;
    color: #fff;
    border: 0.1px solid #00bfff;
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.refer-hero .refer-btn:hover {
    background: #00bfff;
    color: #fff;
}

.refer-hero .refer-btn .btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00bfff;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-left: 6px;
}
.dropdown-toggle::after {
    display: none !important;
}
.navbar-nav .nav-item .dropdown-toggle i {
    margin-left: 2px;
    font-size: 0.9rem;
    margin-top: 3px;
}

.refer-hero .refer-btn:hover .btn-icon {
    background: #fff;
    color: #2f00ff;
}
.refer-hero .refer-hero-rating {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* spans full width */
    background: rgba(17, 14, 61, 0.3); /* transparent background */
    padding: 12px 0;
    text-align: center;
    font-size: 18px;
    color: #fff;
    z-index: 2;
}
.alt2-text {
    color: #ffc400 !important; /* matches the refer theme */
}

.refer-hero .refer-hero-rating .text-success {
    color: #00bfff !important; /* matches the refer theme */
}

/* Fade-up animation */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard {
    width: 100%; /* take the full width of the screen */
    max-width: none; /* remove the limit */
    margin: 1rem 0; /* remove left/right margin so it matches navbar */
    padding: 20px; /* keep some inner padding for content */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    letter-spacing: 1px;
    color: #00eaff;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    min-width: 600px;
}

th,
td {
    padding: 15px;
    text-align: center;
    white-space: nowrap;
}
thead th {
    background: rgba(255, 255, 255, 0.08);
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
}
.section-header th {
    background: rgba(255, 255, 255, 0.15);
    font-size: 1.1em;
    color: #00eaff;
    text-align: left;
    padding-left: 10px;
}

/* Row Colors */
.row-bronze td {
    background-color: rgba(205, 127, 50, 0.2);
}

.row-silver td {
    background-color: rgba(192, 192, 192, 0.2);
}

.row-gold td {
    background-color: rgba(255, 215, 0, 0.2);
}

.row-diamond td {
    background-color: rgba(0, 234, 255, 0.2);
}

/* Circular Progress */
.progress-circle {
    --size: 60px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 0 10px var(--color);
    background: conic-gradient(var(--color) 0%, rgba(255, 255, 255, 0.1) 0%);
    transition: box-shadow 0.3s ease;
    margin: auto;
}
.progress-circle:hover {
    box-shadow: 0 0 16px var(--color);
}
.inner {
    width: calc(var(--size) - 15px);
    height: calc(var(--size) - 15px);
    background: #0e1a2b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trophy {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.4));
}

.trophy.bronze {
    color: #cd7f32;
    text-shadow: 0 0 5px rgba(205, 127, 50, 0.7);
}

.trophy.silver {
    color: silver;
    text-shadow: 0 0 5px rgba(192, 192, 192, 0.7);
}

.trophy.gold {
    color: gold;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
}

.trophy.diamond {
    color: #00eaff;
    text-shadow: 0 0 7px rgba(0, 234, 255, 0.9);
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 480px) {
    table {
        font-size: 14px;
    }
    h1 {
        font-size: 1.5em;
    }
} /* Make table scrollable on mobile */

.how-it-works-section {
    background-color: #0e0e0e;
}

.how-it-works-card {
    background: radial-gradient(
        circle at center,
        rgba(0, 170, 255, 0.25),
        #1c1c1c
    );
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 170, 255, 0.4); /* Elevation glow */
    border-bottom: 4px solid #00aaff; /* Thick blue base */
}

.how-it-works-card h5 {
    font-weight: 700;
}

.how-it-works-card p {
    color: #c0d9ff;
    font-size: 1rem;
    line-height: 1.5;
}
.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #00aaff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background: radial-gradient(
        circle,
        rgba(0, 170, 255, 0.2) 30%,
        transparent 70%
    );
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.7);
}

.icon-container i {
    font-size: 2.5rem;
    color: #00aaff;
}
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    /* height: 80px; */
    border: 1.5px solid #00aaff;
    border-radius: 50%;
    /* box-shadow: 0 0 20px rgba(0, 170, 255, 0.7); */
    background: radial-gradient(
        circle,
        rgba(0, 170, 255, 0.1) 0%,
        transparent 70%
    );
    margin-bottom: 15px;
}

.icon-circle i {
    /* font-size: 2.0rem; */
    color: #ffd700; /* Gold color */
}
.about-us-section .text-light.small {
    color: #999999 !important; /* Slightly lighter for small text */
}

/* Modal overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    padding: 10px; /* Add padding for small screens */
}

/* Modal box */
.modal-box {
    background: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    max-width: 400px; /* Limit width on larger screens */
    width: 100%; /* Make responsive on small screens */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 10% auto;
    z-index: 999999 !important;
    opacity: 1;
}

/* Close button */
.close-btn {
    padding: 4px 6px;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Inputs */
.modal-box input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Responsive tweaks for very small screens */
@media (max-width: 576px) {
    .modal-box {
        max-width: 90%; /* keep some margin on sides */
        padding: 15px 20px;
    }
}

.courses-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.8) 40%,
            rgba(0, 0, 50, 0.1) 70%
        ),
        url("../../../assets/home/images/courses-hero-image1.jpg") no-repeat
            right center / cover;
    padding: 110px 0 50px;
}
.courses-hero-text {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.courses-hero-text h1 {
    font-size: 3rem; /* Adjust size as needed */
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    max-width: 900px; /* Allows the heading to span wider horizontally */
    word-break: normal; /* Keeps words together */
    color: #00bfff;
}

/* Style the sub-heading */
.courses-hero-text h5 {
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: #ffc400;
}

/* Style the paragraph */
.courses-hero-text p {
    font-size: 1.1rem;
    color: #ddd; /* Softer white for better contrast */
    text-align: left;
}

/* The image and rating styling remain as you have */
.courses-hero-img {
    max-height: 450px;
    position: relative;
    z-index: 2;
}

.courses-hero-rating {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 18px;
    z-index: 2;
}
.courses-hero-rating .text-success {
    color: #0d6efd !important; /* !important ensures it overrides Bootstrap */
}

/* Custom Get Started button */
.get-started-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* space between text and icon */
    background: transparent; /* No fill */
    color: #0d6efd; /* Blue text */
    border: 0.2px solid #0d6efd; /* Blue outline */
    border-radius: 8px; /* Curved pill edges */
    padding: 8px 20px; /* Adjust size */
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover effect */
.get-started-btn:hover {
    background: #0d6efd;
    color: #fff;
}

/* Arrow icon inside a circle */
.btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0d6efd; /* Blue circle */
    color: #fff; /* White arrow */
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-left: 6px; /* Adds space between text and the circle */
}

/* On hover: invert circle color */
.get-started-btn:hover .btn-icon {
    background: #fff;
    color: #0d6efd;
}
/* =======================
   MOBILE RESPONSIVENESS
   ======================= */
@media (max-width: 992px) {
    /* Tablets & smaller desktops */
    .courses-hero {
        min-height: auto;
        padding: 40px 20px;
        background-position: center center; /* Center background */
    }

    .courses-hero-text h1 {
        font-size: 2.5rem; /* Reduce heading size */
        max-width: 100%;
    }

    .courses-hero-text h5 {
        font-size: 1.1rem;
    }

    .courses-hero-text p {
        font-size: 1rem;
    }

    .courses-hero-img {
        max-height: 300px; /* Reduce image size */
    }

    .courses-hero-rating {
        font-size: 16px;
        padding: 6px 15px;
        bottom: 10px;
    }

    .get-started-btn {
        padding: 6px 16px;
        font-size: 1rem;
    }

    .btn-icon {
        width: 18px;
        height: 18px;
        font-size: 0.9rem;
    }
}

/* Fix overlap for smaller screens */
@media (max-width: 992px) {
    .courses-hero {
        padding-top: 120px; /* Adjust based on menu height */
    }
}

/* Default desktop stays the same */

/* Extra small screens */
@media (max-width: 480px) {
    .get-started-btn {
        font-size: 0.8rem;
        padding: 5px 10px;
        top: -12px;
    }

    .btn-icon {
        width: 14px;
        height: 14px;
        font-size: 0.7rem;
    }
}

/* Courses Section Background */
.courses-section {
    background: radial-gradient(circle at top, #04040c 0%, #02021d 60%);
    padding: 60px 0;
}

/* Courses Cards Base */
.courses-card {
    display: flex; /* horizontal layout */
    align-items: center; /* vertically center icon & text */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: linear-gradient(
        145deg,
        rgba(0, 123, 255, 0.15),
        rgba(255, 255, 255, 0.05)
    );
    border: 1px solid rgba(0, 123, 255, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.courses-card-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(
        circle,
        rgba(0, 123, 255, 0.2),
        rgba(0, 123, 255, 0.05)
    ); /* softer, darker inner */
    border: 2px solid rgba(0, 123, 255, 0.4); /* less bright */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3), 0 0 20px rgba(0, 123, 255, 0.2); /* softer glow */
    flex-shrink: 0;
    margin-right: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.courses-card-icon-circle i {
    font-size: 28px;
    color: #fff;
}

.courses-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.courses-card-content h3,
.courses-card-content p {
    text-align: justify;
}

/* Text Right Section */
.courses-text-right h2 {
    color: #00bfff;
    margin-top: -2rem;
    text-align: left;
}

.courses-text-right p {
    color: #bdafaf;
    line-height: 1.7;
    text-align: justify;
    margin-top: 8px;
}

.courses-text-right .btn {
    padding: 12px 30px;
    font-weight: 600;
}
.courses-text-right .btn {
    background: transparent;
    color: #00bfff;
    border: 0.2px solid rgba(0, 191, 255, 0.6);
    border-radius: 8px; /* still slightly rounded */
    padding: 8px 16px; /* reduced from 12px 25px */
    font-size: 1rem; /* smaller text */
    display: inline-flex;
    align-items: center;
    gap: 6px; /* reduced space between text and arrow */
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.courses-text-right .btn i {
    font-size: 1.2rem;
    transform: translateY(2px); /* aligns the arrow nicely */
}

.courses-text-right .btn:hover {
    background: rgba(0, 191, 255, 0.1);
    box-shadow: 0 0 2px rgba(0, 191, 255, 0.5);
    transform: translateY(-2px);
}
.courses-divider {
    height: 0.5px; /* very thin line */
    background-color: #07056ddc; /* ash/light grey */
    margin: 30px auto; /* spacing above and below, centered */
    width: 100%; /* almost full width but respects padding */
    border: none; /* remove default hr border if using <hr> */
    margin-top: 70px;
}

/* ==============================
   Real-Time Courses Section
============================== */
/* ==============================
   Real-Time Courses Section
============================== */
.realtime-courses-section {
    background: radial-gradient(circle at bottom, #04040c 0%, #02021d 60%);
    padding: 60px 0;
}

/* Section Titles */
.realtime-courses-section .section-title {
    font-size: 1rem;
    font-weight: 500;
    color: #00bfff; /* clean white for contrast */
    margin-bottom: 10px;
    text-transform: uppercase;
    margin-top: -30px;
}

.realtime-courses-section .section-subtext {
    font-size: 0.95rem;
    color: #e0e0e0; /* light gray for readability */
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

/* Course Card */
.course-card-small {
    position: relative;
    background: linear-gradient(
        145deg,
        rgba(0, 123, 255, 0.15),
        rgba(255, 255, 255, 0.05)
    );
    border-radius: 12px;
    border: 1px solid rgba(0, 123, 255, 0.5);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.15);
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 10px 10px 10px;
}
.realtime-courses-section .row {
    row-gap: 40px; /* adds vertical spacing only */
}

.course-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.25);
}

/* Course Image */
.course-card-small .course-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

/* Content */
.course-card-small .course-content {
    padding: 12px;
    flex-grow: 1;
}

/* Title */
.course-card-small .course-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #ffffff; /* changed to white */
    line-height: 1.3;
    text-align: left;
}

/* Students Count */
.students-count {
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #d0d0d0; /* light gray */
    text-align: left;
}

/* Ratings */
.course-card-small .rating {
    font-size: 0.8rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffcc00; /* yellow stars for visibility */
}

/* Price Box */
.course-card-small .price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0;
}

.course-card-small .old-price {
    text-decoration: line-through;
    color: #b0b0b0; /* muted light gray */
    font-size: 0.85rem;
    text-align: l;
}

.course-card-small .new-price {
    font-weight: 700;
    color: #ffffff; /* white for contrast */
    font-size: 1.1rem;
}

.course-card-small .discount {
    position: absolute;
    right: 10px;
    top: 10px;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    background: #ff4d4d1c;
}

/* Buttons */
.course-card-small .course-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.course-card-small .course-actions .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 6px;
    border-radius: 5px;
}

/* Navigation Arrows */
.carousel-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.carousel-nav button {
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: bold;
    color: #ffffff; /* white arrows for contrast */
    cursor: pointer;
    transition: transform 0.2s;
}

.carousel-nav button:hover {
    transform: scale(1.2);
}

/* Short Courses Section Styling */
.shortcourses-section {
    background: linear-gradient(
            to bottom,
            rgba(7, 1, 31, 0.8),
            rgba(0, 0, 0, 0.5)
        ),
        url("../../../assets/home/images/common\ picture.png") center center /
            cover no-repeat;
    padding: 60px 20px;
}
.shortcourses-subtitle {
    color: #00bfff; /* blue */
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.shortcourses-title {
    color: #fff; /* White for sharp contrast */
    font-size: 2rem;
    font-weight: 800;
}

.shortcourses-item {
    border-bottom: 1px solid #333333b2;
    padding: 2px 0; /* Tight vertical spacing */
}

.shortcourses-question:hover .shortcourses-icon {
    color: #fff;
}

.shortcourses-question {
    width: 100%;
    background: none;
    border: none;
    padding: 4px 10px; /* Less padding */
    text-align: left;
    font-size: 1.05rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #fff;
}
.shortcourses-icon {
    width: 20px; /* small circle size */
    height: 20px;
    border-radius: 50%;
    border: 0.1px solid #3f3f3f; /* blue outline when inactive */
    background-color: transparent;
    color: #007bff; /* icon color when inactive */
    font-size: 6px; /* smaller plus/minus */
    font-weight: bold;
    line-height: 16px; /* perfectly centers text vertically */
    text-align: center; /* centers horizontally */
    display: inline-block;
    margin-left: auto;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.shortcourses-item.active .shortcourses-icon {
    background-color: #007bff; /* blue fill when active */
    color: #fff; /* white icon when active */
}

.shortcourses-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.shortcourses-answer {
    color: #aaa;
    font-size: 0.95rem;
    margin-top: 2px;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease, padding 0.8s ease;
    padding: 0 10px;
}

.shortcourses-item.active .shortcourses-answer {
    max-height: 500px;
    padding: 5px 10px;
} /* === Benefits Section Styling === */
.benefits-section {
    background: radial-gradient(circle at top, #04040c 0%, #02021d 60%);
    padding: 80px 0;
}

/* Subtitle */
.benefit-subtitle {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    color: #00bfff;
    padding-top: 20px;
}

/* Section Title */
.benefit-title {
    font-size: 26px;
    line-height: 1.4;
    color: #ffffff;
}

/* === Cards === */
.benefit-card {
    background: radial-gradient(
        circle at top left,
        rgba(0, 191, 255, 0.08),
        rgba(0, 191, 255, 0.02)
    );
    border: 1px solid rgba(0, 191, 255, 0.5);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    height: 100%;
    box-shadow: 0 0 14px rgba(0, 191, 255, 0.15);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 28px rgba(0, 191, 255, 0.35);
}

/* === Circle Icon === */
.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 191, 255, 0.4) 0%,
        rgba(0, 191, 255, 0.15) 60%,
        transparent 100%
    );
    border: 2px solid #00bfff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #00bfff;
    font-size: 28px;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

/* === Text inside Cards === */
.benefit-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.benefit-text {
    font-size: 14px;
    line-height: 1.6;
    color: #cfd8e3;
}

/* === Unique Appearances === */
.benefit-card.featured-1 {
    background: radial-gradient(
        circle at center,
        rgba(0, 191, 255, 0.15),
        rgba(0, 191, 255, 0.05)
    );
    border: 1px solid #00eaff;
    box-shadow: 0 0 25px rgba(0, 234, 255, 0.5);
}

.benefit-card.featured-2 {
    background: radial-gradient(
        circle at center,
        rgba(2, 8, 100, 0.15),
        rgba(0, 255, 170, 0.05)
    );
    border: 1px solid #00ffaa;
    box-shadow: 0 0 25px rgba(0, 255, 170, 0.5);
}

/* Special Tall Card */
.benefit-tall-card {
    padding: 35px 25px;
}

/* FAQ Intro Section */
.faq-intro-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../../../assets/home/images/faq\ image\ 2.jpg") center center /
            cover no-repeat;
    padding: 80px 20px 140px; /* extra bottom padding so curve doesn’t overlap text */
    margin-top: 80px;
    border-radius: 0;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.faq-intro-section .faq-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.faq-intro-section .faq-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.6;
    color: #ffc107; /* yellow for highlight */
    font-weight: 600;
}

/* Curve Divider */
.curve-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.curve-divider svg {
    display: block;
    width: 100%;
    height: 70px; /* reduced size for neat look */
}

.curve-divider path {
    fill: #111827; /* matches dark theme background */
}

.faq-search-box .btn-link {
    background: #151b26 !important;
    border-radius: 0.7rem;
    transition: background 0.2s;
}
/* === FAQ Section === */
.faq-section {
    background: #111827;
    position: relative;
    color: #fff;
    padding: 100px 20px;
}

.faq-subtitle {
    color: #00bfff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.faq-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

/* Increase gap between FAQ left/right columns */
.faq-section .row {
    --bs-gutter-x: 5rem; /* adjust this value: 5rem = 80px */
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    display: grid;
    grid-template-columns: auto 1fr auto; /* number | text | icon */
    align-items: center;
    cursor: pointer;
    color: #fff;
    text-align: left;
    gap: 10px;
}

/* Number on left */
.faq-number {
    color: #00bfff;
    font-weight: 700;
    min-width: 30px; /* keeps numbers aligned */
    text-align: left;
}

/* Question text */
.faq-text {
    text-align: left;
    line-height: 1.4;
}

/* Plus / Minus icon */
.faq-icon {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
}

.faq-question:hover .faq-icon {
    color: #00bfff;
}

/* Number on left */
.faq-number {
    color: #00bfff;
    margin-right: 12px;
    font-weight: 700;
    flex-shrink: 0;
    width: 28px; /* fixed width for consistent alignment */
    text-align: right; /* numbers align neatly */
}

/* Question text */
.faq-text {
    flex: 1;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #333333b2;
    padding: 0px 0; /* reduced from 12px */
}

/* Answer hidden by default */
.faq-answer {
    color: #aaa;
    font-size: 0.95rem;
    margin-top: 4px; /* reduced from 6px */
    line-height: 1.5; /* slightly tighter line height */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease, padding 0.8s ease;
    padding: 0 0 0 40px; /* same left alignment */
}

/* Open Answer */
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 6px 0 6px 40px; /* reduced from 10px */
}

/* Hide initially (for Load More functionality) */
.hidden {
    display: none;
}

/* Load More Button */
.load-more-btn {
    background: #00bfff;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    color: #111;
    cursor: pointer;
    display: block;
    margin: 40px auto 0;
    transition: background 0.3s ease;
}

.load-more-btn:hover {
    background: #00aaff;
}

.upcoming-courses {
    background: radial-gradient(circle at top, #04040c 0%, #02021d 60%);
    padding: 100px 20px; /* equal top & bottom */
    min-height: 500px; /* optional, can be removed if padding is enough */
}

.upcoming.courses-section-title {
    font-size: 28px;
    font-weight: 00;
    color: #007bff;
    text-align: left;
    margin-top: 60px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px #004085;
}

.divider {
    border-top: 1px solid #ddd;
    margin: 10px 0 30px;
}

.highlight-box {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.highlight-title {
    font-size: 18px;
    font-weight: bold;
    color: #f0f0f0;
}

.highlight-link {
    color: #0077ff;
    font-weight: 500;
    display: block;
    margin: 5px 0;
    text-decoration: none;
}

.highlight-link span {
    font-weight: bold;
    margin-left: 4px;
}

.learners {
    font-size: 13px;
    color: #666;
}

.show-btn {
    background: #0077ff;
    color: #fff;
    border-radius: 6px;
    padding: 8px 12px;
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
}

.show-btn:hover {
    background: #0056cc;
}

.category h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0.5px 0.5px 1px #003366; /* subtle shadow for depth */
}

.category ul {
    list-style: none;
    padding: 0;
}

.category ul li {
    margin-bottom: 12px;
}

.category ul li a {
    text-decoration: none;
    color: #0077ff;
    font-weight: 500;
}

.category ul li a span {
    margin-left: 5px;
    font-weight: bold;
}

.category ul li p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

:root {
    --lt-blue1: #00d4ff;
    --lt-blue2: #0077ff;
}

/* ======================
   Section Wrapper
====================== */
.learn-timeline-section-unique {
    position: relative;
    background: linear-gradient(
            to bottom,
            rgba(7, 1, 31, 0.8),
            rgba(0, 0, 0, 0.5)
        ),
        url("../../../assets/home/images/image\ 40.jpg") center center / cover
            no-repeat;
    color: #eaf6ff;
    padding: 120px 16px 40px; /* top padding to accommodate circle */
    overflow: hidden;
    margin-top: 90px;
}

/* ======================
   Background Particles
====================== */
.lt-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(
        rgba(0, 212, 255, 0.15) 1px,
        transparent 1px
    );
    background-size: 30px 30px;
    animation: moveParticles 20s linear infinite;
}
@keyframes moveParticles {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 60px 60px;
    }
}

/* ======================
   Top Central Radiating Circle
====================== */
.lt-central-circle-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 50%); /* position circle lower into section */
    width: 70px; /* reduced */
    height: 70px; /* reduced */
    background: #1e3a8a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.7);
}

.lt-circle-glow-top {
    position: absolute;
    width: 100px; /* slightly larger than circle for glow */
    height: 100px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.25);
    animation: pulseGlow 2.5s infinite;
}

.lt-circle-content-top {
    text-align: center;
    z-index: 2;
}
.lt-circle-content-top i {
    font-size: 1.5rem; /* smaller to fit inside circle */
    color: #fff;
}
.lt-circle-content-top p {
    margin: 4px 0 0 0;
    font-size: 0.85rem; /* fits in circle */
    color: #fff;
}

/* Glow Animation */
@keyframes pulseGlow {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

/* ======================
   Vertical Glowing Timeline
====================== */
.lt-timeline {
    position: relative;
    width: min(1050px, 100%);
    margin: auto;
    padding: 20px 0 20px;
}

/* Timeline line starts exactly at bottom of top circle */
.lt-timeline::before {
    content: "";
    position: absolute;
    top: 70px; /* match circle height */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: linear-gradient(180deg, var(--lt-blue1), var(--lt-blue2));
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.7);
}
@keyframes gradientFlow {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* ======================
   Timeline Items
====================== */
/* ======================
   Timeline Items
====================== */
.lt-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 4rem 1fr;
    align-items: center;
    gap: 16px;
    margin: 0px 0; /* reduced from 28px to 12px for compact spacing */
    opacity: 0;
    transform: translateY(30px);
}
.lt-item.lt-inview {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* Left/Right Alignment */
.lt-left .lt-content {
    text-align: right;
    grid-column: 1 / 2;
}
.lt-left .lt-node {
    grid-column: 2 / 3;
}
.lt-right .lt-content {
    text-align: left;
    grid-column: 3 / 4;
}
.lt-right .lt-node {
    grid-column: 2 / 3;
}

/* Content Box */
.lt-content {
    max-width: 440px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(127, 215, 255, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    position: relative;
}
.lt-content::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: calc(50% + 32px); /* Adjust 32px to match node size */
    z-index: 1;
    border-radius: 2px;
}

/* Left-justify text for first and fourth cards (example) */
.lt-item:nth-child(1) .lt-content,
.lt-item:nth-child(3) .lt-content {
    text-align: left;
}

/* Left cards: line goes right, stops at vertical timeline */
.lt-left .lt-content::before {
    left: 100%; /* Start at right edge of card */
    background: linear-gradient(90deg, var(--lt-blue1), transparent);
}

/* Right cards: line goes left, stops at vertical timeline */
.lt-right .lt-content::before {
    right: 100%; /* Start at left edge of card */
    background: linear-gradient(270deg, var(--lt-blue1), transparent);
}
/* ======================
   Timeline Nodes
====================== */
.lt-node {
    position: relative;
    width: 64px;
    height: 64px;
    background: radial-gradient(circle, var(--lt-blue1), var(--lt-blue2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001225;
    font-size: 22px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
    overflow: hidden;
}
.lt-node:hover {
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 0 25px rgba(0, 212, 255, 0);
    }
}

.lt-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.3);
    animation: lt-pulse 2.2s ease-out infinite;
}

@keyframes lt-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.9;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* ======================
   Responsive
====================== */
@media (max-width: 820px) {
    .lt-item {
        grid-template-columns: 3rem 1fr;
    }
    .lt-left .lt-content,
    .lt-right .lt-content {
        grid-column: 2 / 3;
        text-align: left;
    }
    .lt-left .lt-node,
    .lt-right .lt-node {
        grid-column: 1 / 2;
    }
    .lt-timeline::before {
        left: 1.5rem;
        transform: none;
        top: 70px;
    }
    .lt-content::before {
        display: none;
    }
}

body {
    background: #0b1220;
    color: #eaf6ff;
    font-family: "Segoe UI", sans-serif;
}
.nav-tabs .nav-link {
    color: #00d4ff;
    font-weight: 600;
    border: none;
}
.nav-tabs .nav-link.active {
    background-color: rgba(0, 212, 255, 0.1);
    color: #fff;
    border-radius: 8px 8px 0 0;
}
.tab-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
h2 {
    color: #00d4ff;
    margin-bottom: 15px;
}
.btn-enroll {
    background: #00d4ff;
    color: #001225;
    font-weight: 600;
}
.btn-enroll:hover {
    background: #0077ff;
    color: #fff;
}

.course-description-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 123, 255, 0.7),
        rgba(0, 180, 255, 0.7)
    );
    z-index: 1;
}

.course-description-overlay {
    position: relative;
    z-index: 2;
    padding: 120px 20px 0; /* pushes down from navbar */
}

.course-description-hero h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.course-description-hero p {
    max-width: 600px;
}

.course-description-hero .btn-primary {
    background: linear-gradient(90deg, #00bfff, #007bff);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.course-description-hero .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.course-description.section-dark {
    background: linear-gradient(
            to bottom,
            rgba(7, 1, 31, 0.92),
            rgba(0, 0, 0, 0.75)
        ),
        url("../../../assets/home/images/full stack image 2.jpg") no-repeat
            center center;
    background-size: cover;
    padding: 80px 0;
    color: #fff;
}

.course-description h2 {
    color: #00bfff; /* light blue heading */
    margin-bottom: 15px;
    margin-top: 60px;
}
.course-description p {
    color: #cec3c3;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: auto;
    text-align: center; /* center everything */
}
/* Custom Accordion Styles */
#curriculum .accordion-button,
#faq .accordion-button {
    background-color: rgba(
        0,
        170,
        255,
        0.1
    ); /* Light ash color similar to background */
    color: #333; /* Dark text for contrast */
}

#curriculum .accordion-body,
#faq .accordion-body {
    background-color: #f8f9fa; /* Same light ash background */
    color: #333;
}

#curriculum .accordion-button:not(.collapsed),
#faq .accordion-button:not(.collapsed) {
    background-color: #e9ecef; /* Slightly darker on active */
    color: #000;
}

/* Sticky Card */
.sticky-card {
    background: #0a1930; /* dark blue */
    color: #f1f5f9;
    border-radius: 10px;
    padding: 15px; /* reduced padding */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    font-size: 15px; /* smaller base font */
    line-height: 1.5;
}

/* Tabs */
.sticky-card .nav-tabs {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #1e3a8a;
}
.sticky-card .nav-tabs .nav-link {
    flex: 1;
    text-align: center;
    font-weight: 600;
    color: #94a3b8;
    border: none;
    font-size: 18px; /* larger tab labels */
}

.sticky-card .nav-tabs .nav-link.active {
    color: #38bdf8; /* highlight */
    border-bottom: 3px solid #38bdf8;
    background: transparent;
}
/* Price */
.sticky-card .price {
    font-size: 24px; /* reduced from 32px */
    font-weight: 700;
    color: #38bdf8;
    margin: 10px 0; /* less spacing */
}

.balance-amount {
    color: #e63946;
    font-weight: 700;
    font-size: 17px; /* smaller */
}

/* Muted paragraph */
.sticky-card p.text-muted {
    color: #cbd5e1 !important;
    font-size: 15px !important;
    line-height: 1.5;
    margin-bottom: 10px; /* tighter */
}

/* Enroll Button */
.sticky-card .btn {
    background: #38bdf8;
    color: #0a1930;
    font-weight: 600;
    padding: 10px; /* smaller button */
    border-radius: 5px;
    transition: 0.3s;
    font-size: 16px; /* smaller text */
}
.sticky-card .btn:hover {
    background: #0ea5e9;
    color: #fff;
}

/* Details */
.sticky-card .details p {
    font-size: 15px; /* smaller details */
    margin-bottom: 6px;
}
.sticky-card .details strong {
    color: #38bdf8;
    font-size: 16px;
}

/* Mobile spacing */
@media (max-width: 767.98px) {
    .sticky-card {
        margin-top: 20px;
    }
    .card-custom {
        border: 1px solid #0d6efd;
        box-shadow: 0 0 25px rgba(13, 110, 253, 0.4);
        transition: box-shadow 0.3s ease, border 0.3s ease;
    }
}

.related-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 10px;
}

.related-courses-track {
    display: flex;
    gap: 20px; /* matches JS gap */
    transition: transform 0.5s ease;
}

.course-card-wrapper {
    flex: 0 0 calc((100% - 60px) / 4); /* 4 cards visible */
    box-sizing: border-box;
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
}
/* Default (desktop/tablet) */
.course-card-wrapper .card-img {
    width: 100%;
    height: 180px; /* current image height */
    object-fit: cover;
    border-radius: 8px;
}

.course-card-wrapper .card-content {
    padding: 15px;
    font-size: 1rem;
    line-height: 1.4;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .course-card-wrapper .card-img {
        height: 130px; /* reduced image height */
    }

    .course-card-wrapper .card-content {
        padding: 10px; /* reduce padding */
        font-size: 0.85rem; /* smaller text */
        line-height: 1.3;
    }

    .course-card-wrapper {
        margin-bottom: 15px; /* tighten bottom spacing */
    }
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0c0111; /* existing color */
    color: #fff;
    border: none;
    padding: 8px 10px; /* reduced from 10px 15px */
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    font-size: 0.7rem; /* slightly smaller arrow */
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-arrow:hover {
    opacity: 0.5;
    transform: translateY(-50%) scale(1.1); /* optional hover effect */
}

.left-arrow {
    left: 6px;
} /* move a little closer to edge if needed */
.right-arrow {
    right: 6px;
}

/* Ensure header height is respected */
.site-header {
    height: 70px; /* match your menu height */
}

/* Push hero below header */
.blog-hero {
    background: url("../../../assets/home/images/AI image 5.avif") no-repeat
        center center/cover;
    padding: calc(70px + 60px) 0 60px 0; /* adds header height + normal padding */
    color: #fff;
    position: relative;
}

.blog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.breadcrumb a {
    color: #f5b23a;
    font-size: 0.9rem;
    text-decoration: none;
    margin-right: 5px;
}
.breadcrumb span {
    font-style: italic;
    padding: 0px 3px;
    font-size: 13px;
    transform: rotate(-5deg);
    position: relative;
    top: 2px;
}

/* Hero content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 700px; /* keeps text readable */
}

.hero-content h1 {
    font-weight: bold;
    font-size: 2.5rem;
    margin: 0;
    text-align: left;
    line-height: 1.2;
    color: #00bfff;
}

.underline {
    width: 30px;
    height: 3px;
    background-color: #007bff;
    margin: 10px 0;
}

.hero-text {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Search Box */
.search-box {
    position: relative;
    max-width: 600px;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    background: transparent; /* Fully transparent background */
    border: 1px solid #007bff; /* Thin blue outline */
    color: #fff;
    outline: none; /* Remove default focus outline */
}

.search-box input:focus {
    border-color: #339cff; /* Slightly brighter blue when focused */
}

.search-box i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer; /* Makes the hand pointer appear */
    transition: color 0.3s ease; /* Smooth hover effect */
}

.search-box i:hover {
    color: #007bff; /* Changes icon color on hover to indicate it's clickable */
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    background: transparent;
    border: 0.5px solid #007bff;
    border-radius: 4px;
    color: #fff;
    outline: none;
}
.search-box input:focus {
    border-color: #339cff;
}
.search-box .search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #007bff;
    cursor: pointer;
    padding: 0;
}
.search-box .search-btn i {
    pointer-events: none;
}
/* Blog Categories Section */
.blog-categories {
    background: radial-gradient(circle at top, #04040c 0%, #02021d 60%);
    padding: 15px 0;
}

.blog-categories .nav-tabs {
    border: none;
}

.blog-categories .nav-link {
    color: #fff;
    margin: 0 10px;
    font-weight: bold;
}

.blog-categories .nav-link.active {
    color: #f5b23a;
    border: none;
}
.blog-grid-section {
    padding: 60px 0;
    color: #fff;
    background: linear-gradient(rgba(2, 2, 29, 0.8), rgba(2, 2, 29, 0.8)),
        url("../../../assets/home/images/common\ picture.png") no-repeat center
            center / cover;
}

/* Grid layout aligned like a Bootstrap container */
.blog-grid {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Bootstrap-like container widths */
@media (min-width: 576px) {
    .blog-grid {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .blog-grid {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .blog-grid {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .blog-grid {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .blog-grid {
        max-width: 1320px;
    }
}

/* Responsive column changes */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog cards */
.blog-grid-card {
    position: relative; /* needed for pseudo-element */
    background: #111831;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.blog-grid-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #00bfff; /* border color */
    border-radius: 12px;
    transform: scale(0) rotate(0deg); /* start small and unrotated */
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.blog-grid-card:hover {
    transform: translateY(-5px);
}

.blog-grid-card:hover::before {
    transform: scale(1) rotate(360deg); /* rotate while scaling up */
}

.blog-grid-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Card content */
.blog-grid-content {
    padding: 15px;
}
.blog-grid-content .blog_title {
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: #00bfff; /* Highlighted title */
    text-decoration: none;
}
.blog-grid-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
}
.read-more {
    display: inline-block;
    margin-top: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #00bfff; /* matches your theme */
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 2000;
}

.read-more:hover {
    color: #008bbf;
    transform: translateX(4px);
}

.blog-grid-footer {
    display: flex;
    justify-content: space-between; /* author left, date right */
    align-items: center;
    background: rgba(4, 11, 42, 0.9);
    padding: 12px 15px; /* slightly more padding for prominence */
    font-size: 0.9rem; /* base font size */
    color: #bbb;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-grid-footer .author {
    font-weight: 600; /* bolder than date */
    font-size: 1rem; /* larger size */
    color: #ffffff; /* white color */
}

.blog-grid-footer .date {
    font-weight: 400; /* lighter than author */
    font-size: 0.85rem; /* smaller size */
    text-align: right;
    font-style: italic;
    color: #ccc; /* slightly muted gray */
}

.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 0 0.75rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.blog-pagination .prev-btn,
.blog-pagination .next-btn {
    background: #111831; /* same blue tone */
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.blog-pagination .prev-btn:hover,
.blog-pagination .next-btn:hover {
    background: #008bbf;
}

.page-numbers {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex: 1;
}

.page-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #111831; /* deep blue shade like the blog card theme */
    color: #fff; /* white text */
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-number.active {
    border: 2px solid #00bfff; /* thin bright border for current page */
}

.page-number:hover {
    background: #00bfff; /* lighten on hover */
}

.ellipsis {
    display: inline-block;
    width: 25px;
    text-align: center;
    color: #999;
    font-weight: bold;
    pointer-events: none;
}

.blog-hero-description {
    position: relative;
    background: url("../../../assets/home/images/AI\ image\ 5.avif") no-repeat
        center center/cover; /* your image */
    color: #fff;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.blog-hero-description .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient that darkens left side only */
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.blog-hero-description .container {
    position: relative;
    z-index: 2; /* Ensure text stays above overlay */
}

.blog-hero-description .blog-content {
    max-width: 700px; /* Keeps text area on the left */
}

.blog-hero-description .category {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00bfff; /* accent color */
    margin-bottom: 20px;
    margin-top: 20px;
}

.blog-hero-description h1 {
    font-size: 2.5rem;
    margin: 10px 0 15px;
    color: #fff;
    line-height: 1.2;
    text-align: left;
}

.blog-hero-description .line-accent {
    width: 50%;
    max-width: 400px;
    height: 0.1px;
    background: #00bfff;
    border-radius: 0.2px;
    margin: 18px 0 20px;
}

.blog-hero-description .meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #ddd;
}

.blog-hero-description .meta i {
    margin-right: 6px;
    color: #00bfff;
}

.blog-hero-description .meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #ddd;
}

.blog-hero-description .meta i {
    margin-right: 6px;
    color: #00bfff; /* match accent */
}

.blog-article {
    background: radial-gradient(circle at bottom, #04040c 0%, #02021d 60%);
    padding: 60px 0;
}

/* Main article card */
.blog-article-content {
    background: rgba(255, 255, 255, 0.95); /* White card for article content */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-top: 0px;
}

/* Ensures all article headings and text are inside the card */
.blog-article-content h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0d2a4d; /* Dark blue for headings */
    margin-bottom: 20px;
}

.blog-article-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

/* Sidebar as a separate card (if any) */
.blog-article-sidebar {
    background: #f9f9fb;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Reply form area inside card */
.blog-article-reply {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

/* Inputs/Textareas with only outline */
.blog-article-input,
.blog-article-reply input,
.blog-article-reply textarea,
.sidebar-input {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 10px;
    background: transparent; /* No background */
    outline: none;
    color: #333;
}

/* Remove placeholder color entirely */
.blog-article-reply input::placeholder,
.blog-article-reply textarea::placeholder,
.sidebar-input::placeholder {
    color: transparent; /* Hide placeholder text */
}

.blog-article-share a {
    font-size: 1.3rem; /* Makes the icons larger */
    padding: 6px; /* Adds spacing inside clickable area */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
}
.builtBy {
    display: flex;
    margin-top: 3px;
    grid-gap: 6px;
}

.builtBy a {
    color: #99a317;
    text-shadow: 0 0 1px #1e2127, 0 0 1px #1e2127;
    font-weight: 300;
    cursor: pointer;
    transform: scale(1);
}

.blog-article-share a:hover {
    background: rgba(0, 123, 255, 0.1); /* Light hover background */
    color: #0056b3; /* Slightly darker hover color */
}
/* Author image inside blog article card */
.blog-article-author .author-img {
    width: 120px;
    height: 120px;
    max-width: 100%;
    object-fit: cover;
    margin-right: 10px; /* reduced from Bootstrap's me-3 default */
}
.blog-article-author .card-body {
    align-items: center; /* keeps text vertically centered */
    padding: 10px; /* reduce padding around the content */
}
.blog-article-author h6 {
    font-weight: 700; /* bolder */
    font-size: 1.4rem; /* larger */
    margin-bottom: 8px;
    color: #fff; /* dark blue */
}
.blog-article-author small {
    font-size: 1rem;
    color: #ddd; /* lighter text for readability */
    line-height: 1.5;
}
.blog-article-share {
    margin-bottom: 15px;
}
.blog-article-share span {
    font-size: 1rem; /* slightly larger text */
    margin-right: 8px;
    color: #f0f0f0;
}

.blog-divider {
    border: none;
    border-top: 2px solid #0056b3; /* soft line */
    margin: 0px 0; /* spacing above and below */
    width: 100%; /* full width of the card */
}
/*/* Post Comment Button - Dark Blue Theme */
.post-comment-btn {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    background: linear-gradient(
        135deg,
        #0d1b3d,
        #1a2a5a
    ); /* dark blue gradient */
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.post-comment-btn:hover {
    background: linear-gradient(
        135deg,
        #1a2a5a,
        #243b7a
    ); /* slightly lighter blue on hover */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Card styling */
.newsletter-card .card-body {
    padding: 20px;
    background-color: #f8f9ff; /* light background */
    border-radius: 10px;
    text-align: center;
}

/* Text inside card */
.newsletter-card .signup-text {
    font-size: 1rem;
    color: #111831;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Form styling */
.newsletter-card .signup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.newsletter-card .signup-input {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
}

.newsletter-card .signup-input:focus {
    outline: none;
    border-color: #1a2a5a;
    box-shadow: 0 0 5px rgba(26, 42, 90, 0.5);
}
/* Ensure button matches input width */
.newsletter-card .signup-btn {
    width: 100%;
    max-width: 300px; /* same as input fields */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #0d1b3d, #1a2a5a);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-card .signup-btn:hover {
    background: linear-gradient(135deg, #1a2a5a, #243b7a);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Latest Posts Sidebar */
/* Latest Posts Sidebar Heading */
.blog-article-sidebar h6 {
    font-weight: 700; /* make it bolder */
    font-size: 1.4rem; /* increase heading size */
    margin-bottom: 15px;
    color: #1a2a5a; /* blue like popular categories */
}

/* Latest Post List */
.latest-post {
    gap: 10px;
    align-items: center;
}

.latest-post-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
}

.latest-post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.latest-post-link {
    font-weight: 600;
    color: #007bff; /* blue like popular categories */
    text-decoration: none; /* remove underline */
    margin-bottom: 3px;
    transition: color 0.3s;
}

.latest-post-link:hover {
    color: #0d1b3d; /* darker blue on hover */
}

.latest-post small {
    font-size: 0.8rem;
    color: #777;
}

.sidebar-list {
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    list-style: none;
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem; /* left padding for bullet space */
    border-bottom: 1px solid #e0e0e0; /* dividing line */
}

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

.sidebar-list li::before {
    content: "›"; /* greater-than sign */
    font-size: 0.8rem;
    color: #fff;
    background: #007bff; /* blue circle background */
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar-link {
    text-decoration: none;
    color: #007bff; /* catchy blue text */
    font-weight: 500;
    display: block;
    transition: color 0.3s;
}

.sidebar-link:hover {
    color: #0056b3; /* darker blue on hover */
}
/* Popular Categories Heading */
.popular-categories-title {
    font-size: 1.3rem; /* increased size */
    font-weight: 700; /* bold */
    color: #0d1b3d; /* dark blue shade */
    margin-bottom: 15px;
} /* ---------------- Hero ---------------- */
.team-hero {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(
            to right,
            rgba(27, 27, 47, 0.7),
            rgba(22, 36, 71, 0.7)
        ),
        url("../../../assets/home/images/common picture.png") no-repeat
            center/cover;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    overflow: hidden;
}

.team-hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
}
.team-hero-content p {
    font-size: 1rem;
    margin: 15px 0;
}
.team-hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #03205e;
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 15px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.team-hero-btn:hover {
    background: #004085;
}

/* ---------------- Team Intro ---------------- */
.our-team {
    background-color: #0a0a0a;
    color: #fff;
    padding: 80px 10%;
    display: flex;
    justify-content: center;
    margin-top: 60px;
}
.team-container {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}
.team-left {
    position: relative;
    flex: 1 1 300px;
}
.team-main-img {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
}
.team-card {
    /* position: absolute;
    bottom: -40px;
    left: 0px; */
    background: #d9ff92;
    padding: 25px;
    border-radius: 15px;
    width: 250px;
    height: 240px;
    text-align: center;
    color: #000;
    overflow: hidden;
}
.team-icon i {
    font-size: 40px;
    margin-bottom: 15px;
}
.team-right {
    flex: 1 1 300px;
}
.team-subtitle {
    color: #d9ff92;
    font-size: 14px;
    text-transform: uppercase;
}
.team-right h2 {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 15px 0;
}
.team-desc {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 20px;
}
.team-bottom {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ---------------- Team Cards ---------------- */
.team-section {
    background: #1b1b1b;
    color: #fff;
    padding: 50px 0;
}
.team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.team-header-left,
.team-header-right {
    flex: 1 1 300px;
}
.team-mission {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.4;
    text-align: justify;
}

.our-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px; /* row gap 40px, column 20px */
}
#contactusForm .form-control {
    background-color: #1b1b1b;
    border: 1px solid #444;
    color: #fff;
}
.our-team-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.our-team-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}
.team-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.95) 1%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0) 100%
    );
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.social-icons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.team-card-info .bio {
    font-size: 0.9rem;
    color: #ddd;
    margin-top: 5px;
    line-height: 1.4;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease;
}
.our-team-card:hover .team-card-info .bio {
    opacity: 1;
    max-height: 150px;
    margin-top: 5px;
}
.team-card-info .social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.team-card-info .social-icons a:hover {
    background-color: #ffb84d;
    transform: scale(1.1);
}

/* Hidden Cards */
.hidden-card {
    display: none;
}

/* Discover More Button */
.discover-more-container {
    text-align: center;
    margin-top: 40px;
}
.discover-more-btn {
    padding: 12px 30px;
    background: #03205e;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}
.discover-more-btn:hover {
    background: #004085;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1200px) {
    .our-team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 20px;
    }
}
@media (max-width: 900px) {
    .our-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
    .team-container {
        flex-direction: column;
        text-align: center;
    }
    .team-card {
        position: relative;
        bottom: 0;
        margin: 20px auto 0;
    }
}
@media (max-width: 600px) {
    .our-team-grid {
        grid-template-columns: 1fr;
        gap: 25px 0;
    }
    .our-team-card img {
        height: 400px;
    }
    .team-hero-content h1 {
        font-size: 1.8rem;
    }
}

.team-cta {
    background: linear-gradient(135deg, #001225, #04040c);
    color: #fff;
    padding: 80px 20px;
    border-radius: 15px;
    margin: 60px 10%;
}

/* Headings & paragraph */
.team-cta h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.team-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: center;
}

/* Buttons row */
.cta-buttons-row {
    display: flex; /* horizontal layout */
    justify-content: space-between; /* push buttons to row ends */
    max-width: 400px; /* optional: control row width */
    margin: 0 auto; /* center the row container */
}

/* Buttons */
.cta-btn {
    padding: 15px 35px;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 1rem;
}

/* Join Now */
.join-btn {
    background-color: #d9ff92;
    color: #000;
}

.join-btn:hover {
    background-color: #b3e96a;
    transform: scale(1.05);
}

/* Contact Us */
.contact-btn {
    background-color: #007bff;
    color: #fff;
}

.contact-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 480px) {
    .cta-buttons-row {
        max-width: 100%;
    }

    .cta-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}
.product-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    background: url("../../../assets/home/images/AI\ image\ 5.avif") no-repeat
        center center/cover;
}

.product-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        transparent 100%
    );
    z-index: 1;
}

.product-hero-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-top: 140px;
}

.product-hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-align: left;
}

.product-hero-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.product-hero-text .btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 6px;
}
/* Product Section */
.product-section {
    background-color: #f8f9fa;
    padding: 60px 0 80px; /* Combined padding */
}

/* Product Card */
.product-card {
    border: 1px solid #ddd;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #111831;
    padding: 8px;
}

/* Space between rows */
.products-section .row {
    row-gap: 70px;
}

/* Product Text */
.product-text {
    padding: 20px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    text-align: center; /* Keep text centered */
}

.product-text h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0056cc; /* Visible on dark background */
}

.product-text p {
    font-size: 0.95rem;
    color: #f0f0f0; /* Visible on dark background */
    margin-bottom: 0;
}

/* Product Image */
.product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.4s ease;
}

/* Hover: Shrink Image */
.product-card:hover .product-image img {
    transform: scale(0.95);
}

/* Read More Button (Initially hidden) */
.product-btn {
    display: block;
    margin: 10px auto 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    padding: 8px 10px;
    font-weight: 600;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-align: center;
}

/* Hover Effects */
.product-card:hover .product-text {
    background: rgba(255, 255, 255, 0.95); /* White overlay */
    padding-bottom: 50px;
}

.product-card:hover .product-text h5,
.product-card:hover .product-text p {
    color: #000; /* Change text to black on hover */
}

.product-card:hover .product-btn {
    opacity: 1;
    transform: translateY(0); /* Slide up smoothly */
}

/* Build Process Section */
.build-process {
    background: radial-gradient(circle at bottom, #04040c 0%, #02021d 60%);
    padding: 70px 0;
}

.build-subtitle {
    color: #f7931e;
    font-weight: 600;
    margin-bottom: 10px;
}

.build-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    /* color: #111; */
}

.build-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap; /* Force in one row */
    gap: 25px;
}

.step {
    flex: 1 1 22%; /* 4 steps per row */
    text-align: center;
    padding: 20px;
    position: relative;
}

/* Step Circle */
.step-circle {
    width: 50px;
    height: 50px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
    color: #666;
}

/* Step Icon */
.step-icon {
    font-size: 40px;
    color: #ff7a00;
    margin-bottom: 15px;
}

/* Step Title */
.step h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

/* Step Description */
.step p {
    font-size: 0.95rem;
    color: #555;
    max-width: 230px;
    margin: 0 auto;
}

/* Curved Arrows */
.curved-arrow {
    width: 60px;
    height: 60px;
    background: url("../../../assets/home/images/curved-arrow.png") no-repeat
        center/contain;
    margin-top: 40px;
}

/* CTA Section */
.build-cta {
    margin-top: 60px;
}

.build-cta .cta-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
}

.build-cta .cta-text span {
    font-weight: 600;
    color: #f7931e;
}

.build-btn {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 6px;
}
.hire-talent {
    position: relative;
    background: url("../../../assets/home/images/AI\ image\ 5.avif") no-repeat
        center center/cover;
    color: #fff;
    padding: 100px 0;
}

/* Dark overlay (only left side) */
.hire-talent .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 55%; /* Only darken left side */
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* Text box */
.hire-talent .text-box {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-right: 40px;
}

.hire-talent h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hire-talent p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.hire-talent .btn-group .btn {
    margin-right: 10px;
    border-radius: 6px;
    padding: 12px 20px;
    font-weight: 600;
}

/* Product Description Section */
.product-description {
    background: #003366;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.product-description .description-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 15px;
}

.product-description .description-brief {
    font-size: 1rem;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Image wrapper with dark edge fade */
.product-description .description-image-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    color: #003366;
    margin-top: 60px;
}

.product-description .description-img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    animation: descriptionFloat 5s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

/* Dark edges overlay */
.product-description .description-image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

/* Floating animation */
@keyframes descriptionFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}
/* LMS Description Section */
.lms-description {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: #f8f9fc;
}
.lms-description-intro,
.lms-description-overview {
    max-width: 90%; /* keeps text neat */
    margin: 0 auto;
}

.lms-description-intro {
    position: relative;
    padding: 20px 0;
}

.lms-description-lines {
    width: 50px;
    height: 3px;
    background: #007bff;
    margin: 15px 0;
}

.lms-description-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.lms-description-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #007bff;
}

.lms-description-short {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

.lms-description-highlight {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    line-height: 1.8;
    margin-top: 10px;
    text-align: justify;
}

.lms-description-subtitle {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.lms-description-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
}

/* ============================= */
/* Responsive Adjustments */
/* ============================= */
@media (max-width: 992px) {
    .lms-description {
        padding: 40px 0;
    }
    .lms-description-title {
        font-size: 2rem;
    }
    .lms-description-subtitle {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .lms-description {
        padding: 20px 10px;
    }
    .lms-description-title {
        font-size: 1.5rem;
    }
    .lms-description-tagline {
        font-size: 1rem;
    }
    .lms-description-subtitle {
        font-size: 1.2rem;
    }
}

/* Features & Benefits */
.lms-features {
    background: #e0e0e0;
}

.lms-features-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #222;
}

.lms-features-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #007bff;
}

.feature-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
/* How It Works */
.lms-how-it-works {
    background: #fff;
}

.lms-how-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
}

.lms-how-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.how-card {
    background: #f8faff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.how-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #007bff;
}

.how-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.how-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Step Number Circle */
.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: #007bff;
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Hover effect for active state */
.how-card:hover .step-number {
    background: #0056b3; /* darker shade or you can use #1e90ff for lighter */
    transform: scale(1.1);
}

/* CTA Section */
.lms-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
        url("../../../assets/home/images/lms-cta-bg.jpg") center/cover no-repeat;
    color: #fff;
    padding: 80px 20px;
    border-radius: 12px;
    margin-top: 60px;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 40px;
}

.cta-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 500px;
}

.cta-text .btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #007bff;
    border: none;
    color: #fff;
}

.btn-primary:hover {
    background: #0056b3;
}
/* Right Image */
.cta-image {
    display: flex;
    justify-content: flex-end; /* push image to the right */
}

.cta-image img {
    max-width: 300px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    margin-right: 10px; /* little breathing space from the edge */
}
/* ===== General Styles ===== */
/* h1,
h2,
h3 {
    text-align: center;
    margin-bottom: 10px;
} */

/* p {
    max-width: 800px;
    margin: 10px auto;
    text-align: center;
} */

/* ===== Sections ===== */
.howit-section {
    padding: 60px 20px;
}

/* ===== Hero Section ===== */
.howit-hero {
    background: #003366;
    color: #fff;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
}
#heroCarousel .carousel-control-prev-icon {
    position: relative;
    left: -50px;
}
#heroCarousel .carousel-control-next-icon {
    position: relative;
    right: -50px;
}
#heroCarousel .carousel-item .btn-custom {
    margin-right: 15px;
}

.howit-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}
.stats-extra-spacing {
    position: relative;
    top: 20px;
}

.howit-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

.howit-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.howit-btn,
.howit-btn-alt {
    padding: 15px 30px;
    font-size: 1rem;
}

/* ===== Cards ===== */
.howit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.howit-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    color: #000; /* card text black */
}

.howit-card:hover {
    transform: translateY(-6px);
}

/* How It Works Section */
/* How It Works Section */
.howitworks-section {
    background: #000; /* Black background */
    width: 100%; /* Full width */
    min-height: 70vh; /* Covers most of viewport */
    color: #fff; /* White text for contrast */

    display: flex; /* Enable flexbox */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center if needed */
    padding: 60px 0; /* Still keep some breathing space */
}

/* How It Works Card */

.howitworks-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #000;
    text-align: left; /* force everything to left */
}

/* Icon sits on its own row */
.howitworks-icon {
    display: block; /* put icon above text */
    font-size: 3rem;
    margin-bottom: 12px; /* space between icon and heading */
    color: inherit;
}

/* Heading */
.howitworks-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    text-align: left;
}

/* Paragraph */
.howitworks-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* ===== Step Numbers ===== */
.howit-step-number {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}
/* Referral Program Section */
/* .how-it-works-referral-program {
    background: #f9fafc;
}

.how-it-works-referral-program h2 {
    font-weight: 700;
    color: #003366;
} */

.chart-card {
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.chart-card:hover {
    transform: translateY(-5px);
}

.chart-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

/* ===== Timeline ===== */
.howit-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.howit-timeline-step {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    color: #000; /* timeline text black */
}

/* ===== FAQ ===== */
.howit-faq {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.howit-faq h4 {
    margin-top: 15px;
    color: #000; /* FAQ headings black */
}

/* ===== How It Works Section ===== */
.howit-howitworks {
    padding-top: 1rem; /* Matches navbar top/bottom spacing */
    padding-bottom: 1rem;
    background: #f8faff;
}

.howit-howitworks .howit-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.howit-howitworks .howit-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.howit-howitworks .howit-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.howit-howitworks .howit-card:hover {
    transform: translateY(-5px);
}

.howit-howitworks .howit-step-number {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

/* Terms & Conditions Hero Section */
.terms-hero {
    background: #0d6efd; /* Bootstrap primary blue */
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 15px;
}

.terms-hero h1 {
    margin-top: 70px;
    font-size: 3rem;
    font-weight: 700;
}

.terms-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}
/* === Terms & Conditions Page Styles === */

.terms-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.terms-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
} /* Terms Hero Section */

.terms-hero h1 {
    font-size: 3rem; /* Larger title */
    font-weight: 700;
    margin-bottom: 20px;
}

.terms-hero p {
    font-size: 1.25rem; /* Larger paragraph */
    line-height: 1.8;
}

/* Global container for Terms & Conditions */
.terms-section {
    background: #111827 !important;
    padding: 60px 30px; /* uniform padding like a document */
    max-width: 85%; /* limits line width for readability */
    border-radius: 10px;
    margin: 60px auto 100px; /* center content horizontally */
    color: #f1f1f1 !important;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: left;
}

/* Headings */
.terms-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: left;
}

.terms-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    text-align: left;
}

/* Paragraphs */
.terms-section p {
    margin-bottom: 20px;
    text-align: left; /* strictly left-aligned */
}

/* Lists */
.terms-section ul {
    padding-left: 1.8rem; /* bullet indentation */
    margin-bottom: 20px;
    text-align: left;
}

.terms-section ul li {
    margin-bottom: 12px;
}

.terms-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.terms-hero p {
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Make sure Force Majeure and Contact Us sections align with main text */
.terms-section .extra-section {
    margin-top: 30px;
}

/* =========================
   Privacy Policy Hero Section
   ========================= */
.privacy-hero {
    background: #007bff; /* Blue background */
    color: #fff;
    padding: 80px 15px;
    text-align: center;
    margin-top: 60px;
}

.privacy-hero h1 {
    font-size: 3rem; /* Larger title */
    font-weight: 700;
    margin-bottom: 20px;
}

.privacy-hero p {
    font-size: 1.25rem; /* Larger paragraph */
    line-height: 1.8;
}

/* Main Privacy Policy Section */
.privacy-section {
    background: #fff;
    padding: 60px 15px; /* uniform padding like a document */
    max-width: 900px; /* limits line width for readability */
    margin: 0 auto; /* center content horizontally */
    color: #333;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: left;
    margin-top: 60px;
}

/* Headings */
.privacy-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: left;
}

.privacy-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    text-align: left;
}

.privacy-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
}

/* Paragraphs */
.privacy-section p {
    margin-bottom: 20px;
    text-align: left; /* strictly left-aligned */
}

/* Lists */
.privacy-section ul {
    padding-left: 1.8rem; /* bullet indentation */
    margin-bottom: 20px;
    text-align: left;
}

.privacy-section ul li {
    margin-bottom: 12px;
}

/* Extra sections (Force Majeure, Contact Us) */
.privacy-section .extra-section {
    margin-top: 60px;
}
/* =========================
   Privacy Policy Hero Section
   ========================= */
.privacy-hero {
    background: #007bff; /* Blue background */
    color: #fff;
    padding: 80px 15px;
    text-align: center;
}

.privacy-hero h1 {
    font-size: 3rem; /* Larger title */
    font-weight: 700;
    margin-bottom: 20px;
}

.privacy-hero p {
    font-size: 1.25rem; /* Larger paragraph */
    line-height: 1.8;
}

/* Main Privacy Policy Section */
.privacy-section {
    background: #111827 !important;
    padding: 60px 30px; /* uniform padding like a document */
    max-width: 85%; /* limits line width for readability */
    border-radius: 10px;
    margin: 60px auto 100px; /* center content horizontally */
    color: #f1f1f1 !important;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: left;
    margin-top: 60px;
}

/* Headings */
.privacy-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.privacy-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
}

.privacy-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Paragraphs */
.privacy-section p {
    margin-bottom: 20px;
}

/* Lists */
.privacy-section ul {
    padding-left: 1.8rem; /* bullet indentation */
    margin-bottom: 20px;
}

.privacy-section ul li {
    margin-bottom: 12px;
}

/* Links */
.privacy-section a {
    color: #007bff;
    text-decoration: underline;
}

.privacy-section a:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Extra spacing for last sections if needed */
.privacy-section .extra-section {
    margin-top: 30px;
}

/* become an instructor */
.instructor-hero {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    color: #fff;
    min-height: 70vh;

    /* Background image with dark overlay */
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.7) 40%,
            rgba(0, 0, 0, 0.1) 100%
        ),
        url("../../../assets/home/images/instructor image.jpg") center/cover
            no-repeat;

    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
}

.instructor-hero .hero-content {
    max-width: 700px;
    text-align: center; /* ensures text inside stays centered */
}

.instructor-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.instructor-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto; /* centers the block */
    opacity: 0.9;
    text-align: center; /* centers the text itself */
}

.why-flow {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #004466;
    border-left: 4px solid #00aaff;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateX(6px);
    box-shadow: 0 0 2px rgba(0, 170, 255, 0.3);
    border-left-color: #ffd700;
}

.why-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.why-text h3 {
    margin-bottom: 6px;
    color: #00aaff;
    text-align: left;
}

.why-text p {
    font-size: 1rem;
    line-height: 1.6; /* improves readability */
    max-width: 600px; /* keeps text from stretching too wide */
    margin: 0;
    color: #f0f0f0;
    text-align: left;
}
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffd700;
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: radial-gradient(
        circle at top left,
        rgba(0, 170, 255, 0.2),
        #1c1c1c
    );
    border: 1px solid #0056a6;
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 18px rgba(0, 170, 255, 0.5);
    border-color: #ffd700;
}

.card h3 {
    color: #00aaff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card p {
    color: #cdd9f5;
    font-size: 0.95rem;
}

.apply-form {
    background: #111827;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #0056a6;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.2);
    margin-top: 40px;
}

.apply-form h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #ffd700;
}
.apply-form legend {
    font-size: 1.6rem; /* larger than labels */
    font-weight: 700; /* bold */
    color: #0051ff; /* blue */
    margin-bottom: 20px;
    padding: 8px 0; /* matches input/label spacing */
    display: block; /* ensures it aligns like labels */
    text-align: left; /* align with form labels */
}

.apply-form label {
    display: block;
    margin: 15px 0 8px;
    font-weight: 600;
    color: #f0f0f0;
}

.apply-form input:not([type="checkbox"]),
.apply-form select,
.apply-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #0056a6;
    background: #1c1c1c;
    color: #fff;
    font-size: 1rem;
}

.apply-form textarea {
    resize: vertical;
    min-height: 100px;
}

:root {
    --fl-bg: #1c1c1c; /* form background (black) */
    --fl-border: #2f2f2f; /* normal border */
    --fl-border-focus: #2ea7ff; /* focus border */
    --fl-label: #bdbdbd; /* label color */
    --fl-label-focus: #e6f7ff; /* focused label color */
    --fl-text: #fff; /* input text color */
    --fl-radius: 12px;
    --fl-transition: 260ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* wrapper containing the visual border */
.floating-label {
    position: relative;
    margin: 18px 0;
    overflow: visible; /* allow label to sit above */
    --bg: var(--fl-bg);
}

/* draw the border with the wrapper so label can mask it */
.floating-label::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--fl-radius);
    border: 1px solid var(--fl-border);
    box-sizing: border-box;
    transition: border-color var(--fl-transition),
        box-shadow var(--fl-transition);
    z-index: 1;
    pointer-events: none;
}

/* the input/select/textarea - no native border */
.floating-label .fl-field,
.floating-label input,
.floating-label textarea,
.floating-label select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    color: var(--fl-text);
    border: none;
    padding: 22px 14px 14px 14px; /* larger top padding so label doesn't overlap text */
    font-size: 16px;
    line-height: 1.2;
    border-radius: calc(var(--fl-radius) - 1px);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    z-index: 2; /* above border but below label */
}

/* select arrow spacing */
.floating-label select {
    padding-right: 40px;
}

/* label aligned to the top-left over the border (the only change requested) */
.floating-label label,
.floating-label .fl-label {
    position: absolute;
    left: 14px; /* anchor to left edge (matches input left padding) */
    top: 50%; /* vertically centered over input initially */
    transform: translateY(-50%) scale(1);
    transform-origin: left center; /* scale from left so it moves nicely to the top-left */
    display: inline-block;
    padding: 0 12px; /* determines gap width; increase for wider gap */
    background: var(--bg); /* masks the border behind the label */
    color: var(--fl-label);
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    transition: transform var(--fl-transition), top var(--fl-transition),
        color var(--fl-transition), padding var(--fl-transition);
    z-index: 3; /* ensure label sits above everything */
    pointer-events: auto;
    border-radius: 6px;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

/* focused / filled states - change border color and drop subtle shadow */
.floating-label.focused::before,
.floating-label.has-value::before {
    border-color: var(--fl-border-focus);
    box-shadow: 0 8px 28px rgba(46, 167, 255, 0.1);
}

/* lift label above the top-left border and shrink it smoothly */
.floating-label.focused label,
.floating-label.has-value label,
.floating-label input:focus + label,
.floating-label textarea:focus + label,
.floating-label select:focus + label {
    top: -10px; /* move label above the border */
    transform: translateY(0) scale(0.82); /* remove vertical translate, shrink */
    color: var(--fl-label-focus);
    padding: 0 9px; /* slightly reduce gap when lifted */
}

/* keyboard focus visual */
.floating-label.focused::before {
    box-shadow: 0 12px 40px rgba(46, 167, 255, 0.12);
}

/* placeholder color and caret visibility */
.floating-label input::placeholder,
.floating-label textarea::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

/* disabled */
.floating-label input:disabled,
.floating-label textarea:disabled,
.floating-label select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* responsive tweaks */
@media (max-width: 420px) {
    .floating-label label {
        padding: 0 10px;
        font-size: 15px;
        left: 12px;
    }
    .floating-label .fl-field {
        padding: 18px 12px 12px 12px;
        font-size: 15px;
    }
}

/* File upload */
.file-line {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 1rem 0;
}

.attach-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #0066cc;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.3s;
}

.attach-label:hover {
    background: #004a99;
}

.attach-label .icon {
    width: 18px;
    height: 18px;
}

.file-status {
    font-size: 0.9rem;
    color: #555;
    min-width: 150px;
}

.file-rules {
    font-size: 0.8rem;
    color: #777;
}

.icon-btn {
    cursor: pointer;
    font-size: 1.1rem;
    color: #444;
    transition: 0.3s;
}

.icon-btn:hover {
    color: #cc0000;
}

/* Submit button */
.submit-btn {
    margin-top: 1rem;
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #218838;
}
.courses-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.courses-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    background: #1c1c1c;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #0056a6;
    cursor: pointer;
}

.courses-options input {
    width: auto;
}

.apply-form button {
    margin-top: 20px;
    padding: 14px;
    width: 100%;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #0056a6, #00aaff);
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.apply-form button:hover {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    transform: translateY(-3px);
}
.form-row {
    display: flex;
    gap: 20px; /* space between the two columns */
    margin-bottom: 15px; /* spacing between rows */
}

.form-group {
    flex: 1; /* make both groups take equal width */
}

.form-group input,
.form-group select {
    width: 100%; /* keep inputs filling their half column */
}

/* ============================
   Hire Talent Page Styles
   ============================ */

/* Hero */
.hire-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../../../assets/home/images/hire\ talent\ or\ request\ for\ sevice.jpg")
            center/cover no-repeat;
    color: #fff;
    /* background-attachment: fixed;
    background-position: center;
    background-size: cover; */
    padding: 120px 20px 20px 20px;
}
.hire-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
}
.hire-hero p {
    font-size: 1.2rem;
    margin-top: 1rem;
}
.hire-hero .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
}

/* Benefits */
.hire-benefits h2 {
    font-weight: 700;
    margin-bottom: 2rem;
}
.hire-benefit-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hire-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.hire-benefit-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f0f0f0;
}
.hire-benefit-card p {
    margin: 0;
    color: #f0f0f0;
    text-align: left;
}

/* How It Works */
.hire-how {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url("../../../assets/home/images/dark-pattern.jpg") center/cover
            no-repeat;
    color: #fff;
    text-align: center;
}
.hire-how h2 {
    font-weight: 700;
    margin-bottom: 2rem;
}
.hire-how h5 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.hire-how p {
    color: #ddd;
}

.hire-form h2 {
    font-weight: 700;
    margin-bottom: 2rem;
    color: #38bdf8; /* light blue */
    text-align: center;
}

/* Form wrapper (transparent, not white) */
.hire-form-box {
    background: transparent; /* ✅ no white background */
    padding: 0;
    border: none;
    box-shadow: none;
}

/* Inputs */
.hire-form-box .form-control,
.hire-form-box .form-select,
.hire-form-box textarea {
    border-radius: 10px;
    border: 1px solid #0056a6;
    background: #1c1c1c;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0;
    padding: 12px;
    font-size: 1rem;
}

.hire-form-box .form-control:focus,
.hire-form-box .form-select:focus,
.hire-form-box textarea:focus {
    border-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
}

/* Labels */
.hire-form-box .form-label,
.hire-form-box label {
    font-weight: 600;
    color: #f0f0f0;
    /* margin: 12px 0 8px; */
}

/* Button */
.hire-form-box button {
    border-radius: 10px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    background-color: #0d6efd;
    border: none;
    transition: background-color 0.3s ease;
    width: 100%;
}

.hire-form-box button:hover {
    background-color: #0b5ed7;
}

.multi-select-dropdown {
    position: relative;
    background: #1c1c1c;
    border: 1px solid #0056a6;
    color: #fff;
    border-radius: 6px;
    padding: 11px;
    cursor: pointer;
}
.multi-select-dropdown .dropdown-header {
    color: #f0f0f0;
    white-space: nowrap;
    overflow: hidden;
}
.multi-select-dropdown .dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #2c2c3c;
    border-radius: 6px;
    margin-top: 5px;
    padding: 10px;
    z-index: 99;
}
.multi-select-dropdown .dropdown-list label {
    display: block;
    padding: 5px;
    cursor: pointer;
}
.multi-select-dropdown.active .dropdown-list {
    display: block;
}
.multi-select-dropdown .tag {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 3px 8px;
    margin: 2px;
    border-radius: 12px;
    font-size: 14px;
}

.yellow-text {
    color: #b7ca0f !important;
}

/* Mobile Responsiveness */
/* responsive styles */
/* Responsive Grid for Footer Columns */
@media (max-width: 768px) {
    #heroCarousel .carousel-item {
        height: auto !important;
        padding: 1rem 0 !important;
    }
    #heroCarousel .carousel-item .carousel-image {
        padding: 0 !important;
    }
    .custom-footer .row > div {
        width: 50%;
        flex: 0 0 50%;
    }
    .navbar-nav .nav-item {
        margin: 0rem 0.5rem 0.5rem 0rem;
    }
    .nav-item.dropdown .dropdown-toggle::after {
        margin-left: 0.5rem !important;
        margin-top: 0.8rem !important;
    }
    .about-us-text {
        padding: 2rem 1rem !important;
        margin-top: 1rem;
    }
    .dropdown-menu.show li {
        border-bottom: 1px solid #444 !important;
        padding: 0.3rem 0.8rem;
    }
    .icon-circle {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }
    .howit-hero {
        padding: 130px 15px !important;
    }
    .howit-hero h1 {
        font-size: 2rem !important;
    }
    .cta-section {
        height: auto !important;
        padding: 3rem 1.5rem !important;
    }
    .cta-sectionxn {
        padding: 3rem 0 !important;
    }
    .cta-sectionxn .cta-content {
        text-align: center !important;
    }
    .cta-sectionxn .cta-content h2 {
        font-size: 2rem !important;
    }
    .btn_groupNx {
        width: 100% !important;
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
    }
    .btn_groupNx .btn {
        border-radius: 8px !important;
    }
    .team-left .team-card {
        width: auto !important;
        height: auto !important;
        bottom: -70px !important;
    }
    .team-left .team-card h3 {
        font-size: 1.2rem !important;
    }
    .team-right {
        margin-top: 4rem !important;
    }
    .team-right h2 {
        font-size: 2rem !important;
    }
    .team-cta {
        margin: 50px 5% !important;
    }
    .dropdown-menu {
        background-color: #2d2d2d !important;
        color: #fff !important;
    }
    .dropdown-menu .dropdown-item {
        color: #fff !important;
    }

    .popup-icon {
        font-size: 1rem;
        padding: 0.3rem 0.6rem;
    }

    .about-us-section .text-white {
        text-align: center;
    }

    .about-us-section .about-us-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .custom-card {
        margin-bottom: 2rem;
    }
    .custom-card .align-items-center{
        order: 1 !important;
    }
    .progress-circle {
        --size: 45px;
        font-size: 12px;
    }
    th,
    td {
        padding: 10px;
    }
    .dashboard {
        overflow-x: auto; /* Enable horizontal scroll */
        -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
    }

    .dashboard table {
        min-width: 600px; /* Ensure table is wider than mobile screen */
    }
    .courses-text-right {
        text-align: center;
    }

    /* Mobile phones */
    .courses-hero {
        padding: 30px 15px;
        background: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.95) 0%,
                rgba(0, 0, 0, 0.7) 50%,
                rgba(0, 0, 50, 0.1) 100%
            ),
            url("../../../assets/home/images/courses image 3.jpeg") no-repeat
                center center / cover;
    }

    .courses-hero-text {
        text-align: center; /* Center-align content for mobile */
        max-width: 100%;
        margin-bottom: 20px !important;
    }

    .courses-hero-text h1 {
        font-size: 2rem; /* Further reduce heading size */
        line-height: 1.3;
    }

    .courses-hero-text h5 {
        font-size: 1rem;
    }

    .courses-hero-text p {
        font-size: 0.95rem;
    }

    .courses-hero-img {
        max-height: 250px;
        width: 100%;
    }

    .courses-hero-rating {
        font-size: 14px;
        padding: 5px 12px;
    }

    .get-started-btn {
        width: 100%; /* Full-width button on mobile */
        justify-content: center;
    }

    .courses-text-right p {
        text-align: justify;
        text-align-last: center; /* center the last line */
    }

    .courses-text-right .btn {
        margin: 0 auto;
    }
    .carousel-text {
        width: 100% !important;
        text-align: center;
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
    /* .carousel-image {
        display: none !important;
    } */
    .get-started-btn {
        font-size: 0.95rem; /* Slightly smaller text */
        padding: 6px 12px; /* Tighten horizontal space */
        margin-top: 5px;
        position: relative;
        top: -10px;
        width: auto; /* Let button fit text */
        display: inline-flex; /* Keeps the icon aligned */
        white-space: nowrap; /* Prevents text wrapping */
        border-width: 1.5px;
    }
    .courses-section .courses-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .courses-section .courses-card .courses-card-content {
        margin-top: 15px !important;
    }
    .courses-section .courses-card .courses-card-content h3,
    .courses-section .courses-card .courses-card-content p,
    .courses-text-right h2,
    .courses-text-right p,
    .highlight-box {
        text-align: center !important;
    }

    .highlight-box {
        margin-bottom: 15px !important;
    }
    .learn-timeline-section-unique {
        padding-bottom: 100px !important;
    }
    .learn-timeline-section-unique .lt-content {
        position: relative;
        top: 150px !important;
        left: 10px !important;
    }
    .blog-hero {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .blog-hero .hero-content h1 {
        font-size: 2rem !important;
    }
    .blog-categories .nav-tabs {
        justify-content: flex-start !important;
    }

    .btn-icon {
        width: 16px;
        height: 16px;
        font-size: 0.75rem;
    }
    .courses-hero {
        padding-top: 120px; /* More padding for mobile nav */
    }
    .carousel-text h1 {
        font-size: 2rem;
        text-align: center !important;
    }
    .section-title p,
    .howit-card,
    .howitworks-card,
    .howitworks-content * {
        text-align: center !important;
    }
    .course-card-small .course-title {
        font-size: 1rem;
    }
    .course-card-small .new-price {
        font-size: 1rem;
    }
    .course-card-small .course-img {
        height: 100px;
    }
    .howit-section .container h2:first-child,
    .howit-section .container h2:first-child + p {
        text-align: center !important;
    }
    .philosophy-text h1 {
        font-size: 2rem;
        text-align: left !important;
        color: #00eaff !important;
        margin-bottom: 1rem !important;
    }
    .philosophy-section {
        height: auto;
        padding: 3rem 1.5rem;
        background-attachment: scroll;
    }

    .philosophy-inner {
        margin-left: 0;
        padding: 1.5rem;
        max-width: 100%;
    }

    .philosophy-text h2 {
        font-size: 6rem;
        text-align: center;
    }

    .philosophy-text p {
        text-align: left !important;
    }

    .philosophy-text .btn {
        margin: 0 auto;
        display: block;
    }
    .ai-service-section .text-success.small,
    .ai-service-section h2,
    .ai-service-section p {
        text-align: center;
    }
    .ai-service-section h2 {
        font-size: 2rem !important;
    }
    .section-title h2 {
        font-size: 2rem !important;
        color: #00eaff !important;
    }
    .ai-service-section h2 br {
        display: none !important;
    }
    .ai-service-section .ai-service-item {
        flex-direction: column !important;
        text-align: center !important;
    }
    .ai-service-section .ai-icon-circle {
        width: 80px !important;
        height: 80px !important;
        margin: 10px auto !important;
    }
    .card-box .icon-box {
        margin: 0 auto 15px 0 !important;
    }
    .image-overlap {
        position: relative !important;
        order: 2 !important;
        right: 200px !important;
        top: 30px !important;
    }
    .promo-text,
    .headline,
    .description,
    .download-buttons,
    .section-heading,
    .custom-lead,
    .testimonial-header {
        text-align: center !important;
    }
    .howitworksbtn {
        display: block !important;
        margin: 10px auto !important;
        width: auto !important;
    }
    .testimonial-info {
        align-items: center !important;
    }
    .quote {
        width: 100% !important;
    }
    .refer_faq_btn {
        display: inline-block;
        margin-top: 15px;
    }
    .service-card-content {
        order: 2 !important;
    }
    .service-card-icon {
        position: relative !important;
        order: 1 !important;
        top: 0 !important;
        transform: none !important;
    }
    .why-choose-us h2 {
        width: 98%;
    }
    .team-hero-content {
        margin-top: 2rem !important;
    }
    .product-hero-text {
        margin-top: 110px !important;
    }
    .product-hero-text h1,
    .hire-hero h1 {
        font-size: 2.2rem !important;
    }
    .build-steps {
        flex-wrap: wrap !important;
        gap: 0px !important;
    }

    .build-steps .step {
        width: 100% !important;
        flex: auto !important;
        margin-bottom: 0px !important;
    }
    .build-steps .step p {
        width: 100% !important;
        text-align: center !important;
        max-width: 90% !important;
    }
    .custom-footer .row > div {
        width: 50%;
        flex: 0 0 50%;
    }
    #navbarNav {
        width: 50% !important;
        background-color: #001225 !important;
    }
    #heroCarousel {
        margin-top: 40px !important;
    }
    .terms-section {
        max-width: 100% !important;
        padding: 50px 20px !important;
    }
    .hire-how .text-center {
        text-align: left !important;
        padding: 0px 20px !important;
    }
    .hire-form .tab-content {
        padding: 10px 0px !important;
    }
    .why-item {
        flex-direction: column !important;
    }

    .apply-form {
        padding: 20px !important;
        margin-top: 0px !important;
    }
    .apply-form h2 {
        font-size: 1.5rem !important;
    }
    .apply-form .form-row {
        flex-direction: column !important;
    }
    .apply-form label {
        margin: 8px 0 8px !important;
    }
    #navbarNav ul {
        text-align: left !important;
        grid-gap: 15px !important;
        text-align: left !important;
        margin-top: 20px;
    }

    .howit-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .howit-cards {
        grid-template-columns: 1fr;
    }

    .lms-description {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
    }
    .lms-description-intro {
        padding: 10px 0;
    }
    .lms-description-lines {
        margin: 10px auto;
    }
    .lms-description-title {
        font-size: 1.8rem;
    }
    .lms-description-tagline {
        font-size: 1.2rem;
    }
    .lms-description-short,
    .lms-description-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .lms-description-highlight {
        font-size: 1rem;
    }
    .cta-overlay {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .cta-buttons a {
        margin: 0.4rem 0;
        width: 70%; /* slightly smaller width */
        font-size: 0.9rem; /* smaller text on mobile */
        padding: 0.5rem 1rem;
    }

    .cta-buttons {
        align-items: center;
        padding: 0;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }

    .services-text {
        padding: 2rem 1rem !important;
        margin-top: 1rem;
    }

    .popup-icon {
        font-size: 1rem;
        padding: 0.3rem 0.6rem;
    }

    .services-section .text-white {
        text-align: center;
    }

    .services-section .services-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding-right: 1rem !important;
    }

    .service-card-content {
        max-width: 100%;
    }

    .signup-wrapper {
        flex-direction: column;
    }

    .signup-left,
    .signup-form {
        padding: 30px 20px;
        border-radius: 12px 12px 0 0;
    }

    .signup-form {
        border-radius: 0 0 12px 12px;
    }

    .core-value-card {
        padding: 1.5rem;
    }
    .we-are-sophajs-section {
        position: relative;
        width: 100vw;
        height: 70vh;
        margin-left: calc(-50vw + 50%);
        background-image: linear-gradient(
                to right,
                rgba(0, 0, 0, 0.7) 30%,
                rgba(0, 0, 0, 0.3) 60%,
                rgba(0, 0, 0, 0) 100%
            ),
            url("../../../assets/home/images/trainings-Do4amNQe.jpg");
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        overflow: hidden;
    }
}

@media (max-width: 576px) {
    .custom-footer .row > div {
        width: 100%;
        flex: 0 0 100%;
    }
}

/* Make footer-bottom text wrap and center on small devices */
@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        text-align: center;
    }
}

/* Even on phones - keep 2 columns instead of stacking all */
@media (max-width: 576px) {
    .custom-footer .row {
        display: flex;
        flex-wrap: wrap;
    }

    .custom-footer .row > div {
        width: 50%;
        flex: 0 0 50%;
    }
    .custom-footer .row > div:nth-child(1),
    .custom-footer .row > div:nth-child(2) {
        width: 100%;
        flex: 0 0 100%;
        /* padding-right: 0; */
    }
    /*     
    .custom-footer .row > div:nth-child(n+3):nth-child(odd) {
        padding-right: 10px;
    } */
}

/* Adjust footer bottom for phones */
@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        text-align: center;
    }
}
