﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f8f9fa;
    position: relative;
}

    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/Images/bgimg.jpg') center/cover no-repeat;
        filter: blur(8px) brightness(0.7);
        z-index: -1;
    }


/*========================================================*/
/*                 HEADER – FINAL VERSION                 */
/*========================================================*/

/* HEADER BASE */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LEFT SIDE = BACK BUTTON + LOGO */
.header-left {
    display: flex;
    align-items: center;
    gap: 1.2rem; /* spacing between back button and logo */
}

/*--------------------------------------------------------*/
/* BACK BUTTON — GLASSMORPHIC PREMIUM DESIGN              */
/*--------------------------------------------------------*/
.header-back-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10), 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.22s ease;
}

    .header-back-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14), 0 12px 28px rgba(0, 0, 0, 0.16);
    }

/*--------------------------------------------------------*/
/* LOGO                                                   */
/*--------------------------------------------------------*/
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 200px;
    height: 60px;
    background-image: url('/Images/Logo/AskPa_bgremoved_elongated.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/*--------------------------------------------------------*/
/* NAVIGATION (unchanged)                                 */
/*--------------------------------------------------------*/
nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

    nav a {
        text-decoration: none;
        color: #555;
        font-weight: 500;
        transition: color 0.3s;
    }

        nav a:hover {
            color: #3b82f6;
        }

.btn-get-started {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.back-svg {
    width: 22px;
    height: 22px;
    color: #1f2937; /* Dark navy-grey for a premium look */
    margin-left: -1px; /* visually centers the arrow perfectly */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 5% 4rem;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    margin: 2rem 5%;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .hero h1 {
        font-size: 3rem;
        color: #f0f4f8;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

    .hero .subtitle {
        color: #dfe8ed;
        font-size: 1.1rem;
        margin-bottom: 1rem;
        font-style: italic;
    }

    .hero .description {
        color: #cae4f0;
        max-width: 600px;
        margin: 0 auto 2rem;
        line-height: 1.8;
    }

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}

    .btn-primary:hover {
        transform: translateY(-2px);
    }

.btn-secondary {
    background: white;
    color: #3b82f6;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    border: 2px solid #3b82f6;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

    .btn-secondary:hover {
        background: #3b82f6;
        color: white;
    }
/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    margin: 2rem auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .services h2 {
        text-align: center;
        font-size: 2.5rem;
        color: #f0f4f8;
        margin-bottom: 0.5rem;
    }

    .services .subtitle {
        text-align: center;
        color: #dfe8ed;
        margin-bottom: 3rem;
    }

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.service-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(59, 130, 246, 0.1);
    height: 100%;
    box-sizing: border-box;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(59, 130, 246, 0.2);
    }

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
    .service-icon img {
        width: 40px; /* adjust size as needed */
        height: 40px;
        object-fit: contain;
    }

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
}

    .service-features li {
        color: #555;
        padding: 0.4rem 0;
        font-size: 0.9rem;
        position: relative;
        padding-left: 1.5rem;
    }

        .service-features li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #3b82f6;
            font-weight: bold;
        }

/* Process Section */
.process {
    padding: 4rem 5%;
    background: rgba(255, 255, 255, 0.35); /* More transparent */
    backdrop-filter: blur(20px) saturate(180%); /* Stronger glass effect */
    -webkit-backdrop-filter: blur(20px) saturate(180%); /* Safari fix */
    border-radius: 20px;
    margin: 2rem 5%;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Soft glass border */
}

    .process h2 {
        text-align: center;
        font-size: 2.5rem;
        color: #f0f4f8;
        margin-bottom: 3rem;
    }


.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #666;
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 4rem 5%;
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.about h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about strong {
    color: #3b82f6;
}

/* ── CONTACT ── */
.me-contact-section {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 3.5rem 5%;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

    .me-contact-section h2 {
        text-align: center;
        font-size: 2.2rem;
        font-weight: 700;
        color: #f0f4f8;
        margin-bottom: 0.4rem;
    }

    .me-contact-section .subtitle {
        text-align: center;
        color: #cae4f0;
        margin-bottom: 2.5rem;
    }

.me-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.me-contact-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.me-contact-item {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(59, 130, 246, 0.08);
}

.me-ci-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.me-ci-title {
    font-weight: 600;
    color: #0b1220;
    font-size: 0.95rem;
}

.me-ci-sub {
    color: #475569;
    font-size: 0.88rem;
}

.me-contact-form {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.me-form-row {
    margin-bottom: 1rem;
}

    .me-form-row input,
    .me-form-row textarea {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid #dde1e7;
        border-radius: 8px;
        font-size: 0.95rem;
        font-family: inherit;
        background: #f8fafc;
        transition: border 0.2s, background 0.2s;
        color: #1e293b;
    }

        .me-form-row input:focus,
        .me-form-row textarea:focus {
            outline: none;
            border-color: #3b82f6;
            background: #fff;
        }

    .me-form-row textarea {
        resize: vertical;
        min-height: 110px;
    }

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s;
}

    .btn-submit:hover {
        transform: translateY(-2px);
    }

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 5%;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

    .footer-links a {
        color: white;
        text-decoration: none;
        font-size: 0.9rem;
    }

        .footer-links a:hover {
            color: #3b82f6;
        }

/* Responsive */
@media (max-width: 768px) {
    .stats,
    .service-grid,
    .process-steps,
    .me-contact-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    nav {
        display: none;
    }
}

/* --- Futuristic Glassmorphism SweetAlert --- */
.swal2-popup {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37) !important;
    color: #fff !important;
    animation: macosPop 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 2.5rem 2rem !important;
}

/* macOS style popup animation */
@keyframes macosPop {
    0% {
        transform: scale(0.85) translateY(10px);
        opacity: 0;
        filter: blur(5px);
    }

    60% {
        transform: scale(1.02);
        opacity: 1;
        filter: blur(0px);
    }

    100% {
        transform: scale(1);
    }
}

.swal2-title {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.75rem !important;
}

.swal2-html-container {
    font-size: 1rem !important;
    color: #eaeaea !important;
    margin: 1rem 0 1.5rem 0 !important;
}

/* Buttons */
.swal2-actions {
    margin-top: 1.5rem !important;
}

.swal2-confirm {
    border-radius: 12px !important;
    padding: 12px 30px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    background: linear-gradient(135deg, #007bff, #0055ff) !important;
    border: none !important;
    box-shadow: 0 0 12px rgba(0, 123, 255, 0.6) !important;
    transition: all 0.3s ease !important;
}

    .swal2-confirm:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.8) !important;
    }

.swal2-cancel {
    border-radius: 12px !important;
    padding: 12px 30px !important;
    background: rgba(255, 0, 0, 0.4) !important;
    border: none !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
}

    .swal2-cancel:hover {
        background: rgba(255, 0, 0, 0.5) !important;
        transform: translateY(-2px) !important;
    }

/* -------------------------------------------------- */
/*  FUTURISTIC NEON SUCCESS ICON - CUSTOM REPLACEMENT */
/* -------------------------------------------------- */

/* Completely remove SweetAlert's default success graphics */
.swal2-icon.swal2-success .swal2-success-ring,
.swal2-icon.swal2-success .swal2-success-line-tip,
.swal2-icon.swal2-success .swal2-success-line-long,
.swal2-icon.swal2-success [class^='swal2-success-'] {
    display: none !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Neon Success Icon Container */
.swal2-icon.swal2-success {
    width: 90px !important;
    height: 90px !important;
    border: none !important;
    background: none !important;
    position: relative !important;
    margin: 0 auto 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

    /* Neon glowing circle (Golden Neon) */
    .swal2-icon.swal2-success::before {
        content: "";
        width: 100%;
        height: 100%;
        border-radius: 50%;
        position: absolute;
        top: 0;
        left: 0;
        /* Golden radial glow */
        background: radial-gradient(circle, rgba(253, 189, 1, 0.4), rgba(253, 189, 1, 0.08));
        border: 3px solid #FDBD01;
        /* Golden neon glow */
        box-shadow: 0 0 20px rgba(253, 189, 1, 0.9), 0 0 40px rgba(253, 189, 1, 0.6), 0 0 60px rgba(253, 189, 1, 0.4), inset 0 0 25px rgba(253, 189, 1, 0.3);
        animation: pulseGlow 2s ease-in-out infinite;
    }

    /* Neon glowing checkmark (Golden Neon) */
    .swal2-icon.swal2-success::after {
        content: "✓";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 48px;
        font-weight: 700;
        color: #FDBD01;
        /* Golden neon glow */
        text-shadow: 0 0 12px rgba(253, 189, 1, 1), 0 0 25px rgba(253, 189, 1, 0.8), 0 0 45px rgba(253, 189, 1, 0.6);
        line-height: 1;
        animation: checkmarkPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
    }

/* Animation for glowing circle */
@keyframes pulseGlow {
    0% {
        transform: scale(0.98);
        box-shadow: 0 0 20px rgba(253, 189, 1, 0.9), 0 0 40px rgba(253, 189, 1, 0.6), 0 0 60px rgba(253, 189, 1, 0.4), inset 0 0 25px rgba(253, 189, 1, 0.3);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(253, 189, 1, 1), 0 0 60px rgba(253, 189, 1, 0.8), 0 0 90px rgba(253, 189, 1, 0.5), inset 0 0 35px rgba(253, 189, 1, 0.4);
    }

    100% {
        transform: scale(0.98);
        box-shadow: 0 0 20px rgba(253, 189, 1, 0.9), 0 0 40px rgba(253, 189, 1, 0.6), 0 0 60px rgba(253, 189, 1, 0.4), inset 0 0 25px rgba(253, 189, 1, 0.3);
    }
}

/* Animation for popping checkmark */
@keyframes checkmarkPop {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}


/* -------------------------------------------------- */
/*  ERROR ICON (optional minimal neon tint)          */
/* -------------------------------------------------- */
.swal2-icon.swal2-error {
    border-color: rgba(255, 80, 80, 0.6) !important;
    box-shadow: 0 0 20px rgba(255, 80, 80, 0.5) !important;
}

    .swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
        background-color: #ff5050 !important;
        box-shadow: 0 0 10px rgba(255, 80, 80, 0.8) !important;
    }

/* -------------------------------------------------- */
/*  ADDITIONAL POLISH                                 */
/* -------------------------------------------------- */

/* Remove default SweetAlert borders on icon */
.swal2-icon {
    border: none !important;
}

/* Smooth transitions */
.swal2-popup * {
    transition: all 0.3s ease;
}

.field-error {
    border: 2px solid #e74c3c !important;
    background-color: #fff5f5 !important;
    outline: none;
    transition: border 0.2s ease, background-color 0.2s ease;
}

.btn-login {
    color: #3b82f6 !important;
    padding: 0.6rem 1.4rem;
    border-radius: 5px;
    border: 1.5px solid #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

    .btn-login:hover {
        background: #3b82f6;
        color: #ffffff !important;
    }