* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
@media screen and (max-width: 768px) {
    /* .full-page {
        background-color: white;
        background-image: url('./public/background-sec2.jpg');
        background-size: cover;
        max-width: 100%;
        max-height: 100%;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: auto;
        position: relative;
        z-index: 1;
        padding: 20px;
    } */
    .full-page {
        background-color: white;
        background-image: url('./public/background-sec2.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        min-height: 100vh;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 20px;
        position: relative;
        z-index: 1;
    }
    .form-box {
        position: relative;
        width: 100%;
        /* height: auto; */
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 1px 22px rgba(0, 0, 0, 0.2);
        border-radius: 16px;
        border: 1px solid rgb(255, 255, 255);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        z-index: 2;
    }

    .form-image {
        width: 100%;
        height: 200px;
        background-image: url('./public/image2.jpg');
        background-size: cover;
        background-position: center;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        border-bottom-left-radius: 0;
    }

    .form-image1 {
        position: relative;
        top: 0;
    }

    .form-details {
        width: 100%;
        padding: 20px;
        color: #fff;
        position: relative;
    }

    .form-group {
        position: relative;
        width: 100%;
    }

    .custom-input {
        position: relative;
        width: 100%;
        margin-bottom: 25px;
        background: transparent;
        border: none;
        border-bottom: 1px solid #ccc;
        font-size: 16px;
        color: #ffffff;
        outline: none;
        padding: 5px 0;
        box-shadow: none;
        caret-color: #fff;
    }

    .custom-input::placeholder {
        color: #aaa;
        font-size: 14px;
        font-style: italic;
    }

    .custom-input:focus {
        border-bottom: 1px solid #fff;
        box-shadow: none;
    }

    .custom-input:-webkit-autofill {
        -webkit-box-shadow: 0 0 0px 1000px transparent inset;
        -webkit-text-fill-color: #fff;
        transition: background-color 5000s ease-in-out 0s;
    }

    .submit-input {
        padding: 10px;
        background-color: #000000;
        color: white;
        border: none;
        cursor: pointer;
        border-radius: 5px;
        width: 100%;
        text-align: center;
    }

    .submit-input:hover {
        background-color: #ffffff;
        box-shadow: 0 1px 22px #ffffff;
        color: rgb(0, 0, 0);
    }

    .form-subheading {
        text-align: center;
        font-size: 12px;
        color: #ccc;
        margin-bottom: 20px;
    }

    .result-section {
        padding: 20px;
        background-image: url('./public/background-sec2.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: auto;
        color: white;
        text-align: center;
        display: none;
        position: relative;
    }

    .video-container {
        display: none;
    }

    .result-section h2 {
        font-size: 1.5rem;
        margin-top: 0px;
    }

    .result-card {
        padding: 20px;
        /* background: rgba(255, 255, 255, 0.1); */
        backdrop-filter: blur(12px);
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
        color: white;
        width: 100%;
        text-align: left;
        /* margin: 20px 0; */
        margin-top: 10vh;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .result-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .result-card p {
        font-size: 1rem;
        margin: 8px 0;
    }

    /* Mobile styles for dynamic result content */
    .result-data {
        padding: 15px !important;
        color: white !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        flex-wrap: nowrap !important;
    }

    .service-section {
        flex: none !important;
        min-width: auto !important;
        margin-bottom: 20px !important;
        padding: 15px !important;
        background: rgba(255,255,255,0.1) !important;
        border-radius: 12px !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255,255,255,0.2) !important;
        width: 100% !important;
    }

    .service-title {
        font-size: 18px !important;
        font-weight: bold !important;
        margin-bottom: 12px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .resource-card {
        background: rgba(255,255,255,0.15) !important;
        border-radius: 10px !important;
        padding: 12px !important;
        margin: 8px 0 !important;
        border-left: 4px solid #00ff88 !important;
        transition: transform 0.2s ease !important;
        width: 100% !important;
    }

    .resource-card:hover {
        transform: translateY(-1px) !important;
        background: rgba(255,255,255,0.2) !important;
    }

    .resource-id {
        font-weight: bold !important;
        font-size: 14px !important;
        color: #00ff88 !important;
        margin-bottom: 6px !important;
        word-break: break-all !important;
    }

    .cpu-meter {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 6px 0 !important;
    }

    .cpu-value {
        font-size: 16px !important;
        font-weight: bold !important;
        min-width: 50px !important;
    }

    .cpu-bar {
        flex: 1 !important;
        height: 6px !important;
        background: rgba(255,255,255,0.2) !important;
        border-radius: 3px !important;
        overflow: hidden !important;
    }

    .cpu-fill {
        height: 100% !important;
        transition: width 0.3s ease !important;
        border-radius: 3px !important;
    }

    .status-badges {
        display: flex !important;
        gap: 8px !important;
        margin-top: 8px !important;
        flex-wrap: wrap !important;
    }

    .status-badge {
        padding: 3px 8px !important;
        border-radius: 15px !important;
        font-size: 10px !important;
        font-weight: bold !important;
        text-transform: uppercase !important;
    }

    .empty-state {
        text-align: center !important;
        padding: 20px !important;
        color: #888 !important;
        font-style: italic !important;
        font-size: 14px !important;
    }

    .icon {
        font-size: 18px !important;
    }

    .comp-tittle {
        z-index: 2;
        position: relative;
        font-size: 1.2rem;
    }


    #resultSection {
        display: none;
        transition: opacity 0.5s ease;
    }
    .loader {
        animation: rotate 1s infinite;
        height: 50px;
        width: 50px;
        position: absolute;
        top: 47%;
        left: 43%;
        transform: translate(-50%, -50%);
    }
    .loader:before,
    .loader:after {
        border-radius: 50%;
        content: "";
        display: block;
        height: 20px;
        width: 20px;
    }
    .loader:before {
        animation: ball1 1s infinite;
        background-color: #fff;
        box-shadow: 30px 0 0 #1b3161;
        margin-bottom: 10px;
    }
    .loader:after {
        animation: ball2 1s infinite;
        background-color: #1b3161;
        box-shadow: 30px 0 0 #fff;
    }
    @keyframes rotate {
        0% { transform: rotate(0deg) scale(0.8) }
        50% { transform: rotate(360deg) scale(1.2) }
        100% { transform: rotate(720deg) scale(0.8) }
    }
    @keyframes ball1 {
        0% {
        box-shadow: 30px 0 0 #1b3161;
        }
        50% {
        box-shadow: 0 0 0 #1b3161;
        margin-bottom: 0;
        transform: translate(15px, 15px);
        }
        100% {
        box-shadow: 30px 0 0 #1b3161;
        margin-bottom: 10px;
        }
    }
    @keyframes ball2 {
        0% {
        box-shadow: 30px 0 0 #fff;
        }
        50% {
        box-shadow: 0 0 0 #fff;
        margin-top: -20px;
        transform: translate(15px, 15px);
        }
        100% {
        box-shadow: 30px 0 0 #fff;
        margin-top: 0;
        }
    }
    #loader1 {
        display: none; /* This should be toggled via JS */
        position: absolute; /* Important if overlaying the page */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        flex-direction: column; /* or row, as needed */
        align-items: center;
        justify-content: center;
        color: #555;
        /* background: rgba(255, 255, 255, 0.1); */
        backdrop-filter: blur(12px);
        font-size: 16px;
        text-align: center;
        background-size: cover;
    }
    .loader-text {
        margin-top: 10px;
        color: #fff;
        font-size: 16px;
        z-index: 100;
        position: absolute;
        top: 52%;
        left: 28%;
    }
}

@media screen and (min-width: 769px) {
    .full-page { 
            background-color: white; 
        background-image: url('./public/background-sec2.jpg');
        /* /* Replace with your image path */
        background-size: cover; 
        max-width: 100%;
        margin: auto;
        display: flex; 
        justify-content: center;   
        align-items: center;       
        height: 100vh;
        z-index: 1;
        position: relative;
        
    }
    .form-box {     
        position: absolute;
        font-size:  30px;
        height: 46%;
        width: 50%;
        /* background-color: #ff000000; */
        backdrop-filter: blur(20px);
        z-index: 2;
        display: flex;
        /* backdrop-filter: blur(20px); */
        box-shadow: 0 1px 22px rgba(0, 0, 0, 0.2);
        font-size: unset;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        box-shadow:
        -8px -8px 15px #172b9000, /* top-left */
        8px 8px 15px #000000;  /* bottom-right */
        border: 1px solid rgb(255, 255, 255);
    }
    .form-image{
        left: 0px;
        width: 50%;
        height: 100%;
        background-image: url('./public/image2.jpg');
        background-size: cover;
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
        /* background: linear-gradient(to top, rgba(0, 0, 0, 0.113), transparent); */
    }       
    .form-image1{
        position: absolute;
        top :-50px;
    }                    
    .form-details {
        padding: 10px;
        color: #fff;
        position: relative;
        right: 0px;
        height: 100%;
        width: 50%;
        /* font-weight: bold; */
        z-index: 2;
        
        
    }
    .form-group {
        position: relative;
        right: 0px;
    }
    .custom-input {
        position: absolute;
        right: 0;
        width: 100%;
        margin-bottom: 25px;
        background: transparent;
        border: none;
        border-bottom: 1px solid #ccc;
        font-size: 16px;
        color: #ffffff; /* Set to visible white */
        outline: none;
        padding: 5px 0;
        box-shadow: none;
        caret-color: #fff; /* White blinking cursor */
    }
    .custom-input::placeholder {
        color: #aaa; /* Light gray placeholder */
        font-size: 14px;       /* smaller than input text (adjust as needed) */
        font-style: italic;
        
    }
    .custom-input:focus {
        border-bottom: 1px solid #fff; /* White line on focus */
        box-shadow: none; /* Remove glow/shadow if any */
    }
    .custom-input:-webkit-autofill {
        -webkit-box-shadow: 0 0 0px 1000px transparent inset;
        -webkit-text-fill-color: #fff;
        transition: background-color 5000s ease-in-out 0s;
    }
    .submit-input {
        /* font-size: 30px; */
        padding: 10px;
        /* border-radius: 20px; */
        background-color: #000000;
        color: white;
        border: none;
        cursor: pointer;
        /* position: relative;
        left: 25px; */
        display: block;
        margin: 0 auto;
        border-radius: 5px;
    }
    .submit-input:hover {
        background-color: #ffffff;
        box-shadow: 0 1px 22px #ffffff;
        color: rgb(0, 0, 0);
    }
    .form-subheading {
        text-align: center;
        font-size: 14px;
        color: #ccc;
        margin-bottom: 30px;
    }
    .result-section {
        display: none;
        padding: 50px;
        background: transparent;
        min-height: 100vh;
        position: relative;
        overflow: hidden;
    }
    .result-section h2 {
        margin-top: 0;
    }
    .result-section {
        position: relative;
        width: 100%;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
        text-align: center;
    }
    .comp-tittle{
        z-index: 2;
        position: relative;
    }

    .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
        display: block;
    }
    #resultSection {
        display: none;
        /* opacity: 0; */
        transition: opacity 0.5s ease;
    }
    .result-section {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }
    .result-card {
        position: relative;
        z-index: 2;
        margin: auto;
        top: 50%;
        transform: translateY(-50%);
        width: fit-content;
        padding: 30px 40px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(12px);
        border-radius: 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
        color: white;
        text-align: left;
        animation: fadeIn 0.8s ease-in-out;
    }
    .result-title {
        font-size: 2rem;
        margin-bottom: 20px;
        font-weight: 700;
    }
    .result-card p {
        font-size: 1.2rem;
        margin: 10px 0;
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(30px);
    }
        to {
            opacity: 1;
            transform: translateY(-50%);
        }
    }
    .loader {
        animation: rotate 1s infinite;
        height: 50px;
        width: 50px;
        position: absolute;
        top: 50%;
        left: 50%;
    }
    .loader:before,
    .loader:after {
        border-radius: 50%;
        content: "";
        display: block;
        height: 20px;
        width: 20px;
    }
    .loader:before {
        animation: ball1 1s infinite;
        background-color: #fff;
        box-shadow: 30px 0 0 #1b3161;
        margin-bottom: 10px;
    }
    .loader:after {
        animation: ball2 1s infinite;
        background-color: #1b3161;
        box-shadow: 30px 0 0 #fff;
    }
    @keyframes rotate {
        0% { transform: rotate(0deg) scale(0.8) }
        50% { transform: rotate(360deg) scale(1.2) }
        100% { transform: rotate(720deg) scale(0.8) }
    }
    @keyframes ball1 {
        0% {
        box-shadow: 30px 0 0 #1b3161;
        }
        50% {
        box-shadow: 0 0 0 #1b3161;
        margin-bottom: 0;
        transform: translate(15px, 15px);
        }
        100% {
        box-shadow: 30px 0 0 #1b3161;
        margin-bottom: 10px;
        }
    }
    @keyframes ball2 {
        0% {
        box-shadow: 30px 0 0 #fff;
        }
        50% {
        box-shadow: 0 0 0 #fff;
        margin-top: -20px;
        transform: translate(15px, 15px);
        }
        100% {
        box-shadow: 30px 0 0 #fff;
        margin-top: 0;
        }
    }
    #loader1{
        /* display: flex; */
        position: absolute;
        height: 100%;
        /* width: 50%; */
        width: 100%;
        z-index: 10;
        display: flex;
        /* flex-direction: column; */
        align-items: center;
        justify-content: center;
        color: #555;
        /* opacity: 0.8; */
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(12px);
        font-size: 16px;
        display: none;
        text-align: center;
        background-size: cover;
    }
    .loader-text {
        margin-top: 10px;
        color: #fff;
        font-size: 16px;
        z-index: 100;
        position: absolute;
        top: 55%;
        left: 47%;
    }
}