.feature-section {
    background-image: url('/assets/images/resource/feature-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 110px 0 100px;
}

.feature-single-box {
    padding: 45px 50px 28px;
    margin-bottom: 30px;
    text-align: center;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0px 5px 15px rgba(215, 215, 217, 0.3);
    transition: all 0.5s;
}

.feature-single-box:hover {
    margin-top: -20px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon img {
    width: 73px;
    height: 76px;
}

.feature-content h2 {
    font-size: 24px;
    font-weight: 500;
    padding: 23px 0 20px;
}

.feature-content p {
    font-size: 16px;
    color: #666;
}

/* Dream Shapes */
.dream-shape3 {
    max-height: 1rem;
}

.dream-shape4 {
    position: absolute;
    right: -4rem;
    text-align: right;
    bottom: 11rem;
    animation: dance2 4s alternate infinite;
}

.dream-shape img {
    position: absolute;
    top: -50px;
    left: -90px;
    z-index: -1;
}

.dream-shape2 img {
    position: absolute;
    right: 0;
    top: 4rem;
    animation: bounce 4s alternate infinite;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}

/* About Section */
.about-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.about-thumb img {
    max-width: 100%;
    border-radius: 10px;
}

.about-content h1 {
    font-size: 32px;
    font-weight: bold;
}

.about-content p {
    font-size: 16px;
    color: #666;
}

.about-item-list ul {
    list-style: none;
    padding: 0;
}

.about-item-list ul li {
    margin-bottom: 10px;
}

.about-item-list ul li i {
    color: #4caf50;
    margin-right: 10px;
}

.about-button a {
    margin-top: 1%;
    background-color: transparent;
    /* Green background */
    color: black;
    /* White text */
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    /* Remove underline by default */
    transition: all 0.3s;
    /* Smooth transition */
}

.about-button a:hover {
    background-color: transparent;
    /* Transparent background on hover */
    color: #388e3c;
    /* Change text color to darker green */
    text-decoration: underline;
    /* Underline text on hover */

    /* Optional: Border color change */
}

/* Counter Section */
.counter-bg {
    background-color: #f1f1f1;
    padding: 60px 0;
}

.single-counter-box {
    text-align: center;
}

.counter-title h1 {
    font-size: 40px;
    color: #4caf50;
}

.counter-text p {
    font-size: 16px;
    color: #666;
}

.service-section {
    padding: 135px 0 90px;
    background: url('/assets/images/resource/service-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Single Service Box */
.single-service-box {
    padding: 35px 40px 30px;
    background: #a8ff9c;
    border-radius: 20px;
    margin-bottom: 30px;
    transition: 0.5s;
}

/* Upper Service Boxes with Images */
.single-service-box.upper {
    background: url('/assets/images/resource/box-bg1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 330px;
}

.single-service-box.upper2 {
    background: url('/assets/images/resource/box-bg2.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 500px;
}

.single-service-box.upper3 {
    background: url('/assets/images/resource/box-bg3.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 330px;
}

/* Service Title */
h3.service-title {
    font-size: 26px;
    font-weight: 500;
    transition: .5s;
}

/* Service Description */
p.service-desc {
    color: #101210;
    display: inline-block;
    padding: 15px 0 5px;
}

/* Button with Hover */
a.dexon-button {
    font-weight: 500;
    text-decoration: underline;
    color: #101210;
    transition: .5s;
    position: relative;
    z-index: 2;
}

a.dexon-button:hover {
    color: #ffde5d;
}

/* Upper2 Hover Button */
.single-service-box.upper2 a.dexon-button:hover {
    color: #fff;
}

/* Button Icon */
a.dexon-button i {
    font-size: 28px;
    position: relative;
    top: 5px;
    transform: rotate(-45deg);
    display: inline-block;
}

/* Section Shape */
.service-shape {
    position: absolute;
    top: -45px;
    left: 34rem;
    animation-name: moveleftbounce;
    animation-duration: 6s;
    animation-iteration-count: infinite;
}

.service-shape2 {
    position: absolute;
    left: -14rem;
    top: 75px;
    animation: dance3 4s alternate infinite;
}

/* Animations */
@keyframes moveleftbounce {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-20px);
    }
}

@keyframes dance3 {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(30px);
    }
}

/* Responsive */
@media(max-width: 768px) {
    .single-service-box {
        height: auto;
    }

    .single-service-box.upper2 {
        height: 350px;
    }

    .single-service-box.upper,
    .single-service-box.upper3 {
        height: 250px;
    }

    .service-section {
        padding: 50px 0;
    }
}

/* Basic styles for the container */
.custom-container {
    margin: 0 auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
}

.custom-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInUp 0.8s ease-out forwards;
    white-space: nowrap;
    /* Prevent text from breaking */
}

.custom-feature-item:nth-child(n) {
    animation-delay: calc(0.1s * var(--i));
    /* Dynamic delay */
}

/* Improved tick icon inside circle */
.custom-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #3b82f6, #6366f1);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    flex-shrink: 0;
    /* Prevent icon from shrinking */
}

/* Responsive text */
.custom-text {
    font-size: clamp(18px, 2vw, 22px);
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    /* Prevent text from wrapping */
}

/* Ensure items stay in one line on large screens */
@media (min-width: 1024px) {
    .nav-mega-menu {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        /* Three equal columns */
        width: 100%;
    }

    .nav-column:last-child {
        grid-column: span 3;
        /* Make the last column span the entire width */
        text-align: center;
        /* Center align the content */
    }

    .nav-explore {
        width: 100%;
        padding: 20px;
        background: #6366f1;
        color: #fff;
        border-radius: 8px;
        font-size: 1.2rem;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: background 0.3s ease;
    }

    .nav-explore:hover {
        background: #4f46e5;
    }

    .custom-feature-item {
        flex-wrap: nowrap;
    }

    .lastnavcustomecss {
        display: flex;
        justify-content: center;
        /* Centers horizontally */
        align-items: center;
        /* Centers vertically */
    }
}

/* Adjustments for mobile */
@media (max-width: 768px) {
    .custom-feature-item {
        flex-direction: row;
        align-items: center;
        white-space: normal;
        /* Allow wrapping on small screens */
    }

    .custom-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .custom-text {
        font-size: 18px;
    }
}

/* Animation for fade-in effect */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.container {
    max-width: 1200px;
    margin: auto;
}

.text-center p {
    font-size: 18px;
    font-weight: 500;
    color: #6ba0f3;

    letter-spacing: 1px;
}

.text-center h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.text-center p.text-muted {
    font-size: 16px;
    max-width: 650px;
    margin: auto;
    color: #777;
}

.tab-btn {
    background-color: white;
    color: #000;
    border-radius: 12px;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tab-btn.active {
    background-image: linear-gradient(to right, #6ba0f3, #000);
    color: white;
    transform: translateY(-5px);
}

.tab-btn:hover {
    background-image: linear-gradient(to right, #6ba0f3, #000);
    color: white;
    transform: translateY(-5px);
}

.content-box222 {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    padding: 40px;
    transition: all 0.4s ease;
    transform: translateY(10px);
}

.content-box222 h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.content-box222 p {
    font-size: 16px;
    color: #777;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-box222 button {
    background-color: #000;
    color: white;
    padding: 12px 30px;
    border: none;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.content-box222 button:hover {
    background-color: #6ba0f3;
}

.list-group {
    border: none;
}

.list-group-item {
    border: none;
    background-color: transparent;
}

@media (max-width: 991px) {
    .container {
        padding: 0 20px;
    }

    .tab-btn {
        font-size: 16px;
        padding: 15px 20px;
    }

    .content-box {
        padding: 25px;
    }

    .content-box h3 {
        font-size: 22px;
    }
}

.bg-gradientcustome {
    background-color: #fff;
    padding: 100px 0;
}

/* ======= Card Style ======= */
.card-custom {
    background-color: #121212;
    color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.5s ease;
    position: relative;
    cursor: pointer;
}

/* ======= Image Container ======= */
.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* ======= Image Zoom Effect ======= */
.card-custom:hover img {
    transform: scale(1.1);
}

/* ======= Card Text ======= */
.card-body {
    padding: 25px;
}

.card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    transition: all 0.5s ease;
    color: white;
}

.card-text {
    font-size: 14px;
    color: #cfcfcf;
    line-height: 1.6;
}

/* ======= Card Hover Effect ======= */
.card-custom:hover {
    transform: translateY(-10px) scale(1.03);
    border: 2px solid #6ba0f3;
    box-shadow: 0px 25px 60px rgba(0, 0, 0, 0.2);
}

.card-custom:hover .card-title {
    color: #6ba0f3;
    transform: translateY(-5px);
}

/* ======= Glow Border Effect ======= */
.card-custom:hover::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #6ba0f3, black);
    z-index: -1;
    border-radius: 15px;
    filter: blur(15px);
    opacity: 0.8;
}

/* ======= Subtle Glow Behind the Card ======= */
.card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #6ba0f3, black);
    filter: blur(25px);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
}

.card-custom:hover::before {
    opacity: 1;
}

/* ======= Responsive Design ======= */
@media (max-width: 768px) {
    .card-custom {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .card-title {
        font-size: 18px;
    }

    .card-text {
        font-size: 13px;
    }
}

/* General styles for the FAQ section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 15px;
}

.faq-heading {
    text-align: center;
    font-weight: bold;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.faq-item button {
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    font-weight: 600;
}

.faq-item button:hover {
    color: #007bff;
}

.faq-answer {
    display: none;
    padding-top: 10px;
    font-size: 1rem;
    color: #555;
}

.faq-answer.show {
    display: block;
    animation: slideDown 0.4s ease-in-out;
}

@keyframes slideDown {
    0% {
        max-height: 0;
        opacity: 0;
    }

    100% {
        max-height: 1000px;
        opacity: 1;
    }
}

.faq-item button.active i {
    transform: rotate(45deg);
}

.hero-section {
    background-image: url('/assets/images/resource/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 50px 20px;
}

.hero-content {
    max-width: 800px;
    margin: auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.hero-content p {
    max-width: 500px;
    margin: 20px auto;
    font-size: 1.2rem;
}

.hero-button a {
    display: inline-block;
    background: linear-gradient(90deg, #bbf737 0%, #ffee62 100%);
    color: #101210;
    padding: 12px 38px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.hero-button a:hover {
    background: linear-gradient(90deg, #ffee62 0%, #bbf737 100%);
    transform: translateY(-2px);
}

/* Floating Shapes */
.hero-all-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.shape1 {
    left: 0;
    bottom: 0;
    animation-delay: 0s;
}

.shape2 {
    right: 0;
    bottom: 0;
    animation-delay: 1s;
}

.shape3 {
    top: -4%;
    right: 3%;
    animation-delay: 2s;
    transform: translateX(50%) translateY(-20%);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* RESPONSIVENESS */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 80%;
    }

    .hero-button a {
        padding: 10px 30px;
        font-size: 1rem;
    }

    .hero-shape {
        animation: none;
        /* Disable animation on smaller screens */
    }

    .shape3 {
        bottom: 20%;
        right: 5%;
        transform: translateX(50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        max-width: 90%;
        margin: 10px auto;
    }

    .hero-button a {
        padding: 10px 28px;
        font-size: 1rem;
    }

    .hero-all-shape {
        display: none;
        /* Hide floating shapes on small screens */
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .hero-button a {
        padding: 8px 24px;
        font-size: 0.9rem;
    }
}

.breatcam-section {
    background: url('/assets/images/resource/inner-bg.jpg');
    background-size: cover;
    /* Ensures the image covers the entire element */
    background-position: center;
    /* Centers the image */
    background-repeat: no-repeat;
    /* Prevents repeating */
    width: 100%;
    height: 100vh;
    /* Full viewport height */
    color: white;

}

@media (max-width: 768px) {
    .breatcam-section {
        background-size: contain;
        /* Adjust if necessary */
        height: auto;
        min-height: 100vh;
    }
}

.breatcam-section h1 {
    font-size: clamp(36px, 5vw, 38px);
    /* Responsive font size */
    font-weight: bold;
    line-height: 1.2;
}

.breatcam-section h4 span {
    background: #ffde5d;
    padding: 10px 20px;
    border-radius: 5px;
    color: #101210;
    font-weight: 600;
    text-transform: uppercase;
}

.breatcam-section p {
    max-width: 700px;
    margin: auto;
    padding-top: 15px;
    font-size: clamp(16px, 2vw, 20px);
    /* Responsive font size */
}

.inner-page-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.inner-page-shape img {
    position: absolute;
}

.inner-shape {
    top: 20px;
    left: 50px;
    width: 46px;
    height: 46px;
}

.inner-shape2 {
    top: 100px;
    right: 80px;
    width: 40px;
    height: 40px;
}

.inner-shape3 {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 287px;
    height: 249px;
}

.page-title {
    text-align: center;
    padding: 5rem 1rem 0;
}

/* Adjust image for responsiveness */
.breatcam-section figure.image img {
    max-width: 100%;
    height: auto;
}

/* Media query for better mobile adjustments */
@media (max-width: 768px) {
    .breatcam-section h1 {
        font-size: 32px;
    }

    .breatcam-section p {
        font-size: 16px;
    }

    .inner-page-shape {
        height: auto;
    }

    .inner-shape,
    .inner-shape2,
    .inner-shape3 {
        width: 30px;
        height: 30px;
    }
}

.bggradienttab {
    background: linear-gradient(to bottom, rgb(238, 242, 254) 50%, rgb(255, 255, 255) 50%);
}

.main-footer .footer-bottom .copyright a {
    color: #7ca8f8;
}

/* Reset and base styles */
.nav-header {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 100%;
    /* Changed from 1400px to 100% */
    width: 100%;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(/assets/images/resource/hero-bg.jpg);
    /* Move image here if needed */
}

.nav-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: #6366f1;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo {
    height: auto;
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-link:hover {
    color: #6366f1;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #6366f1;
    left: 0;
    bottom: 0;
    transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown styles */
.nav-dropdown {
    position: relative;
}

.nav-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    width: 800px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    gap: 15px;
    z-index: 1001;
}

/* For smaller dropdowns like About Us and Blog */
.nav-dropdown:nth-child(3) .nav-mega-menu,
.nav-dropdown:nth-child(4) .nav-mega-menu {
    width: 300px;
}

.nav-dropdown:hover .nav-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-column {
    flex: 1;
    position: relative;
}

.nav-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #e5e7eb;
}

.nav-service-item {
    display: flex;
    align-items: center;
    padding: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 10px;
}

.nav-service-item:hover {
    background-color: #f5f7ff;
    color: #6366f1;
    transform: translateX(5px);
}

.nav-service-icon {
    background-color: #f0f1ff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #6366f1;
    transition: all 0.3s ease;
}

.nav-service-item:hover .nav-service-icon {
    background-color: #6366f1;
    color: white;
    transform: scale(1.1);
}

.nav-service-text {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-explore {
    background-color: #f1f2ff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-explore:hover {
    background-color: #e4e5ff;
    transform: translateY(-3px);
}

.nav-explore-text {
    font-weight: 600;
    color: #333;
}

.nav-explore-btn {
    background-color: #6366f1;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-explore-btn:hover {
    transform: scale(1.1);
}

/* Hamburger menu for mobile */
.nav-hamburger {
    display: none;
    cursor: pointer;
}

.nav-bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #333;
}

.nav-dropdown .nav-mega-menu {
    background-color: rgba(255, 255, 255, 0.95);
    /* Semi-transparent white background */
}

/* Responsive design */
@media screen and (max-width: 1024px) {
    .nav-mega-menu {
        width: 90vw;
        max-width: 800px;
    }

    /* For smaller dropdowns like About Us and Blog */
    .nav-dropdown:nth-child(3) .nav-mega-menu,
    .nav-dropdown:nth-child(4) .nav-mega-menu {
        width: 300px;
        max-width: 90vw;
    }
}

@media screen and (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        background-attachment: fixed;
    }

    .nav-logo {
        max-height: 40px;
        /* Smaller logo on mobile */
    }

    .nav-hamburger {
        display: block;
    }

    .nav-hamburger.active .nav-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-hamburger.active .nav-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-hamburger.active .nav-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 5%;
        height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-link {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
    }

    .nav-mega-menu {
        position: static;
        flex-direction: column;
        transform: none;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none;
        padding: 10px 0;
        opacity: 1;
        visibility: hidden;
        display: none;
        height: 0;
        overflow: hidden;
        left: 0;
        /* Ensure alignment */
    }

    .nav-dropdown.active .nav-mega-menu {
        display: block;
        visibility: visible;
        height: auto;
        margin-top: 10px;
        padding-left: 15px;
        position: static;
        /* Ensure it stays in the flow */
        transform: none;
    }

    .nav-column:not(:last-child)::after {
        display: none;
    }

    .nav-column {
        margin-bottom: 20px;
    }

    .nav-service-item {
        padding: 8px;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 4%;
    }

    .nav-logo {
        max-height: 35px;
    }

    .nav-service-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .nav-service-text {
        font-size: 0.85rem;
    }
}

/* Add some content padding to make sure it appears below the navbar */
.content {
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 5px 15px rgba(99, 102, 241, 0.3);
    border: none;
}

.contact-btn i {
    font-size: 1.2rem;
}

.contact-btn:hover {
    background: linear-gradient(45deg, #8b5cf6, #6366f1);
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(99, 102, 241, 0.5);
}


@media (min-width: 768px) and (max-width: 1024px) {
    .shape1 {
        height: 19rem;
    }

    .shape2 {
        height: 15rem;
    }

    .shape3 {
        height: 15rem;
    }

}

.modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(107, 160, 243, 0.2);
}

/* Contact form styling */
.contact-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(107, 160, 243, 0.1);
    z-index: 0;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -150px;
}

.contact-form-container {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.form-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.form-label-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control {
    height: 50px;
    border-radius: 8px;
    padding: 10px 15px 10px 40px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(107, 160, 243, 0.25);
    border-color: #6ba0f3;
}

textarea.form-control {
    height: 120px;
    resize: none;
}

.form-label-group label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 10px 15px;
    pointer-events: none;
    border: 1px solid transparent;
    color: #6c757d;
    transition: all 0.3s ease;
}

.form-label-group input:focus~label,
.form-label-group input:not(:placeholder-shown)~label,
.form-label-group textarea:focus~label,
.form-label-group textarea:not(:placeholder-shown)~label {
    transform: translateY(-30px);
    font-size: 12px;
    color: #6ba0f3;
}

#submit-btn {
    background-color: #6ba0f3;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#submit-btn:hover {
    background-color: #4a8af0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(107, 160, 243, 0.4);
}

#submit-btn i {
    margin-left: 8px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .image-container {
        display: none;
    }

    .col-lg-6:last-child {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@import url('https://fonts.googleapis.com/css?family=Ubuntu:400,700&display=swap');

/* Root variables for animation timing */
:root {
    --dur: all 550ms ease-in-out;
    --dur-a: all 650ms ease-in-out;
    --dur-b: all 750ms ease-in-out;
}

/* Container for card items */
.card-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

/* Individual card item */
.card-item {
    background: #6ba0f3;
    /* Card background color */
    height: 400px;
    position: relative;
    border-radius: 15px;
    padding: 30px;
    box-sizing: border-box;
    color: #fff;
}

/* Card wrapper to position card elements */
.card-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 10;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    transition: var(--dur);
    clip-path: circle(100% at 50% 50%);
}

/* Card image styling */
.card-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 10;
    height: 100%;
    width: auto;
    max-width: 9999px;
    overflow: hidden;
    border-radius: 15px;
    transition: var(--dur);
    clip-path: circle(100% at 50% 50%);
}

/* Hover effect on card image */
.card-item:hover .card-img {
    clip-path: circle(0% at 50% 50%);
}

/* Circle elements inside the card */
.card-circle {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transition: var(--dur-a);
    clip-path: circle(100% at 50% 50%);
}

/* Outer circle styling */
.circle-outer {
    background: #1101E8;
    transition: var(--dur-b);
    clip-path: circle(100% at 50% 50%);
}

/* Inner circle styling */
.circle-inner {
    background: #8E01E8;
}

/* Hover effects on circle elements */
.card-item:hover .card-wrapper .card-circle {
    clip-path: circle(0% at 75% 60%);
}

.card-item:hover .card-wrapper .circle-outer {
    clip-path: circle(0% at 35% 20%);
}

/* Content section inside the card */
.card-content {
    position: relative;
    z-index: 0;
    display: inline;
    align-items: center;
    height: 100%;
    text-align: center;
}

.card-heading {
    color: #333;
    /* Darker gray for better contrast */
    font-size: 1.25rem;
    /* Larger font size for better readability */
    font-weight: 600;
    /* Bold to make it stand out */
    letter-spacing: 0.5px;
    /* Slightly increase letter spacing for a cleaner look */
    margin-bottom: 15px;
    /* Space between heading and paragraph */
    text-transform: uppercase;
    /* Capitalize each word for a bold look */
    font-family: 'Ubuntu', sans-serif;
    /* Match the font with the rest of the content */
    text-align: center;
    /* Center align the heading for uniformity */
    position: relative;
}

/* Add a subtle underline effect when hovered over */
.card-heading:hover {
    text-decoration: underline;
    color: #6ba0f3;
    /* Change the color on hover for emphasis */
}

/* Paragraph styling inside content */
.card-content p {
    color: #fff;
    /* White text for contrast */
    font-size: 16px;
    /* Standard readable size */
    line-height: 1.5;
    text-align: center;
    /* Center aligned text for better visual consistency */
    margin: 0;
}

/* Media Queries for responsive design */
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .card-container {
        grid-template-columns: 1fr;
    }

    .card-item {
        height: 300px;
    }

    .card-content p {
        font-size: 14px;
    }
}