﻿/* --------- Global Reset & Base --------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/*white - > #ffffff, black - > #0f1626, blue - > #38bdf8*/

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
/*            background: #0f1626;*/
    background: linear-gradient(90deg, #121c33, #121c33, #121c33);
    color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
* {
    box-sizing: border-box;
    max-width: 100%; 
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --------- Typography --------- */
h1, h2, h3, h4  {
    text-align: center;
    color: #ffffff;
    margin-bottom: 1rem;
}

p {
    line-height: 1.6;
    color: #ffffff;
    font-size: 22px; 
}
/* --------- Footer --------- */
footer.footer {
    background: linear-gradient(90deg, #0f1626, #1e293b, #334155);
    color: #ffffff !important;
    padding: 1.5rem 1rem;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.3);
    margin-top: auto;
    text-align: center;
    position: relative;
    z-index: 10;
    animation: footerFadeIn 1s ease forwards;
}

    /* Footer Text Styling */
    footer.footer p {
        margin: 0.5rem 0 0;
        font-size: 0.875rem;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    /* Footer Links Styling */
    footer.footer a {
        color: #ffffff !important;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        /* Footer Links Hover Effect */
        footer.footer a:hover {
            color: #38bdf8;
        }

    /* Footer Separator Line */
    footer.footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 120%;
        height: 2px;
        background: linear-gradient(90deg, #38bdf8, #818cf8, #a78bfa);
        opacity: 0.7;
        animation: glowLine 3s infinite alternate ease-in-out;
    }

    /* Footer Section Styling (Each section of the footer) */
    footer.footer .footer-section {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 0.5rem;
    }

/* Footer Animations */
@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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



/* --------- Form Styling --------- */
form {
    max-width: 600px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #0f1626, #0f1626);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
    animation: slideIn 0.8s ease-out;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.form-group2 {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 10px;
    justify-content: center;  
    flex-wrap: wrap;
}

    .form-group label {
        font-weight: bold;
        display: block;
        margin-bottom: 0.5rem;
        color: #38bdf8;
    }

.form-control {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #38bdf8;
    border-radius: 10px;
    background: #ffffff;
    font-size: 1rem;
    color: #0f1626;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

    .form-control:focus {
        border-color: #0ea5e9;
        outline: none;
        box-shadow: 0 0 8px #0ea5e9aa;
    }

/* --------- Buttons --------- */
.btn-primary {
    background: linear-gradient(90deg, #06b6d4, #0f1626);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s ease;
    display: block;
    margin: 1.5rem auto 0;
}

    .btn-primary:hover {
        background: linear-gradient(90deg, #0f1626, #06b6d4);
        transform: scale(1.08);
        box-shadow: 0 0 15px #0ea5e9aa;
    }





/* --------- Navbar --------- */
.navbar {
    background: linear-gradient(90deg, #38bdf8, #3878f8, #3842f8); 
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    animation: navbarFadeIn 1s ease forwards;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(6px); /* Optional: subtle glass effect */
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    transition: transform 0.4s ease, color 0.4s ease;
}

    .navbar-brand:hover {
        transform: scale(1.1);
        color: #d1d5db;               
    }

.nav-link {
    color: #ffffff;
    font-weight: 600;
    margin-left: 1.5rem;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

    .nav-link::after {
        content: "";
        display: block;
        width: 0%;
        height: 2px;
        background: #bae6fd; 
        transition: width 0.4s;
        margin-top: 4px;
    }

    .nav-link:hover {
        color: #bae6fd; 
        transform: translateY(-3px);
    }

        .nav-link:hover::after {
            width: 100%;
        }

/* --------- Navbar Animation --------- */
@keyframes navbarFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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


/* --------- Content Fade-in --------- */
.container main {
    animation: fadeInPage 0.6s ease-in-out;
}

/* --------- Animations --------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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




/* --------- Main Button --------- */
.btn-main {
    background: linear-gradient(90deg, #d7e4fa, #619bfa, #2b7cff); /* bright to deep blue */
    color: #ffffff;
    font-weight: 700;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease, transform 0.4s ease;
    box-shadow: 0 6px 18px rgb(10, 10, 213);
    display: inline-block;
    text-align: center;
}

    .btn-main:hover {
        background: linear-gradient(90deg, #026ef7, #026ef7, #026ef7);
        transform: scale(1.10) translateY(-3px);
        box-shadow: 0 8px 24px rgb(10, 10, 213);
    }


/* --------- Blinking Attention Button --------- */
.blink {
    animation: blinker 1.5s infinite ease-in-out;
    font-weight: bold;
    color: white;
    border-radius: 10px;
    background: #3b82f6; /* solid blue */
}

@keyframes blinker {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}


/* --------- Contact Section --------- */
.contact-section {
    background: linear-gradient(135deg, #0f1626, #334155);
    padding: 3rem 2rem;
    border-radius: 18px;
    max-width: 700px;
    margin: 2rem auto;
    box-shadow: 0 12px 40px rgba(0, 217, 255, 0.2);
    animation: fadeInSlide 1s ease-out;
}

    .contact-section h2 {
        color: #0f1626;
        margin-bottom: 2rem;
    }

/* ------------------------------------ Home Index -------------------------------------------- */

/* --------- Intro Section --------- */
.intro-section {
    background: linear-gradient(90deg, #38bdf8, #3842f8);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 40px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.4);
    animation: fadeInSlide 1s ease-out;
    transition: all 0.4s ease;
    font-size: 1.2rem;
}

    .intro-section:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 50px rgba(0, 217, 255, 0.4);
    }

/* --------- Features Section --------- */
.features-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    background: linear-gradient(90deg, #0f1626, #011f63);
/*        background: #0f1626;*/
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
    width: 300px;
    text-align: center;
    transition: all 0.3s ease;
}

    .feature:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 50px rgba(0, 217, 255, 0.4);
    }

/* --------- Call To Action --------- */
.call-to-action {
    background: linear-gradient(90deg, #38bdf8, #3b82f6);
    color: white;
    padding: 4rem 2rem;
    border-radius: 18px;
    text-align: center;
    margin: 4rem 0 2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

    .call-to-action h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }



@keyframes glowLine {
    0% {
        opacity: 0.5;
        transform: translateX(-50%) scaleX(1);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.2);
    }
}


/* ---------------------------------------------- ShowTable ----------------------------------------- */

/* --------- Checkbox --------- */
main {
    flex-grow: 1;
}

input[type="radio"] {
    display: none;
}

    input[type="radio"] + label {
        display: inline-block;
        padding: 8px 16px;
        background-color: #95c2fc; 
        color: #fff;
        border-radius: 6px;
        font-size: 1rem;
        cursor: pointer;
        margin: 5px;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(173, 216, 230, 0.4);  
    }

    input[type="radio"]:checked + label {
        background-color: #026ef7;
        box-shadow: 0 20px 24px rgba(41, 128, 185, 0.5);
        transform: scale(1.1);
    }

    input[type="radio"]:focus + label {
        outline: 3px solid #74b9ff;  
    }

    input[type="radio"]:active + label {
        transform: scale(1.1);  
    }

.revealed-content {
    display: none;
    background-color: #34495e;
    color: #f8fafc;
    padding: 1rem;
    border-radius: 30px;
    margin-top: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
}

input[type="radio"]:checked + label + .revealed-content {
    display: block;
    opacity: 1;
    background-color: #2c3e50;
    border: 2px solid #2980b9;  
}

@keyframes revealContent {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

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

.revealed-content {
    animation: revealContent 0.5s ease-out;
}

@media (max-width: 600px) {
    input[type="radio"] + label {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        margin: 8px 0;
    }

    input[type="radio"]:checked + label {
        transform: none; 
    }

    input[type="radio"]:active + label {
        transform: none;
    }
}

@media (max-width: 768px) {
    .custom-result-table thead {
        display: none;
    }

    .custom-result-table,
    .custom-result-table tbody,
    .custom-result-table tr,
    .custom-result-table td {
        display: block;
        width: 100%;
    }

        .custom-result-table tr {
            margin-bottom: 1rem;
            border: 1px solid #ccc;
            border-radius: 8px;
            padding: 0.5rem;
            background-color: #f9f9f9;
        }

        .custom-result-table td {
            text-align: left;
            padding: 0.5rem;
            position: relative;
        }

            .custom-result-table td::before {
                content: attr(data-label);
                font-weight: bold;
                display: block;
                margin-bottom: 0.25rem;
                color: #333;
            }

    .zoom-button {
        width: 100%;
    }
}

.radio-group {
    max-width: 600px;
    margin: 0 auto;
}


.zoom-button {
    transition: transform 0.3s ease;
}

.zoom-in {
    transform: scale(1.1);
}

/* --------- Top 3 Companies Table (Blue Version) --------- */
.table-area .custom-result-table {
    width: 100%;
    background: #ffffff !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.2);
    animation: fadeIn 0.6s ease-in-out;
    border: none;
}

    .table-area .custom-result-table thead {
        background: linear-gradient(90deg, #38bdf8, #1976d2);
        color: white !important;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 1rem;
    }

    .table-area .custom-result-table th,
    .table-area .custom-result-table td {
        padding: 1.2rem;
        text-align: center;
        border-bottom: 1px solid #b3e5fc;
        color: #0f1626 !important;
        font-size: 1rem;
    }

    .table-area .custom-result-table tbody tr {
        background: #ffffff !important;
        transition: background 0.3s ease, transform 0.3s ease;
    }

        .table-area .custom-result-table tbody tr:hover {
            background: #b3e5fc !important;
            transform: scale(1.01);
            box-shadow: 0 4px 16px rgba(33, 150, 243, 0.2);
        }

        .table-area .custom-result-table tbody tr:first-child {
            background: #38bdf8 !important;
            font-weight: bold;
            color: #01579b;
        }

    .table-area .custom-result-table .blink {
        animation: blinker 2s infinite ease-in-out;
        background: #38bdf8 !important;
        color: #01579b !important;
    }


@keyframes blinker {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}


/*--------------------------------------------------- PRIVACY ------------------------------------------------- */
/* === GENERAL CONTAINERS === */
.privacy-box,
.about-us-container,
.contact-info-container {
    background: linear-gradient(90deg, #38bdf8, #3842f8) !important;
    color: #ffffff !important;
    max-width: 1000px !important;
    width: 100% !important;
    padding: 2.5rem 1.5rem !important;
    border-radius: 60px !important;
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.4) !important;
    transition: all 0.4s ease !important;
    text-align: left !important;
}

    .privacy-box:hover {
        color: #1e3a8a !important;
        transform: translateY(-5px) !important;
        box-shadow: 0 18px 50px rgba(0, 217, 255, 0.4) !important;
    }

    /* === HEADINGS === */
    .privacy-box h2,
    .about-us-heading,
    .contact-info-heading {
        font-size: 2.4rem !important;
        font-weight: 700 !important;
        margin-bottom: 1rem !important;
        color: #ffffff !important;
        transition: color 0.3s ease !important;
    }

    .privacy-box h4,
    .contact-info-subheading {
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        margin: 1.5rem 0 1rem 0 !important;
        color: #ffffff !important;
        transition: color 0.3s ease !important;
    }

    /* === TEXT & LISTS === */
    .privacy-box p,
    .privacy-box li,
    .about-us-description,
    .about-us-paragraph,
    .contact-info-description {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 0.8rem !important;
        color: #e0f2fe !important;
    }

    .privacy-box ul {
        padding-left: 1.5rem !important;
        list-style: disc;
    }

    /* === LINKS === */
    .privacy-box a {
        color: #ffffff !important;
        text-decoration: underline;
        font-weight: 600;
    }

        .privacy-box a:hover {
            color: #1e3a8a !important;
            background-color: #ffffff !important;
            padding: 0 0.2rem;
            border-radius: 4px;
        }

/* === BUTTONS === */
.contact-info-btn {
    background: #ffffff !important;
    color: #2563eb !important;
    border: none !important;
    padding: 0.6rem 1.5rem !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    margin-top: 0.5rem;
}

    .contact-info-btn:hover {
        background-color: #e0e7ff !important;
        color: #1e3a8a !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2) !important;
    }


.top-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 20px;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden; 
}

.btn-on-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, #ffd966, #ffb347, #ff8800);
    color: #333;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.image-container:hover .top-image {
    transform: scale(1.00);
    filter: brightness(1.1);
}

.image-container:hover .btn-on-image {
    transform: translate(-50%, -50%) scale(1.1);
    background: linear-gradient(90deg, #ffb347, #ff8800, #ff7000);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

@media (max-width: 480px) {
    .top-image {
        width: 100%;
        margin: 10px auto;
        border-radius: 15px;
    }

    .btn-on-image {
        font-size: 16px;
        padding: 10px 18px;
    }
}

@media (max-width: 768px) {
    .top-image {
        width: 100%;
        margin: 15px auto;
    }

    .btn-on-image {
        font-size: 17px;
        padding: 12px 22px;
    }
}


.btn-to-contact {
    display: inline-block;
    background: linear-gradient(90deg, #ffd966, #ffb347, #ff8800); /* friendly yellow-orange gradient */
    color: #333;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 30px;
    border: none;
    border-radius: 30px; /* rounded & friendly */
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    backdrop-filter: blur(4px); /* modern frosted look */
}

    .btn-to-contact:hover {
        background: linear-gradient(90deg, #ffb347, #ff8800, #ff7000);
        color: #fff;
        transform: scale(1.05);
        box-shadow: 0 10px 24px rgba(0,0,0,0.3);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-to-contact {
        font-size: 16px;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .btn-to-contact {
        font-size: 15px;
        padding: 10px 20px;
        width: 100%; /* full width for small screens */
    }
}


/* Center the button under the h2 */
.btn-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0; /* space between h2 and button */
}

    /* Optional: adjust hover & mobile behavior */
    .btn-container .btn-to-contact {
        transition: all 0.3s ease, transform 0.3s ease;
    }

        .btn-container .btn-to-contact:hover {
            transform: scale(1.06);
            box-shadow: 0 12px 28px rgba(0,0,0,0.35);
        }

/* Mobile adjustments */
@media (max-width: 480px) {
    .btn-container {
        margin: 1rem 0;
    }

        .btn-container .btn-to-contact {
            width: 90%; /* almost full width on small screens */
            font-size: 15px;
            padding: 12px 0;
        }
}
