:root {
    --primary: #FFD700;
    /* Vibrant Gold */
    --primary-glow: rgba(255, 215, 0, 0.6);
    --bg-dark: #000000;
    --text-white: #ffffff;
    --text-gray: #e0e0e0;
    --accent: #4CAF50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Particles Background --- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: relative;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    min-height: 100vh;
    position: relative;
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.gradient-text {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%, #fff 200%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: shimmer 10s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.highlight {
    background: linear-gradient(to right, #FFD700, #FDB931, #FFD700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px var(--primary-glow);
    animation: shimmer 10s linear infinite;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

/* --- Buttons --- */
.cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-primary {
    background: linear-gradient(45deg, #FFD700, #FDB931);
    color: #000;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.6);
    animation: none;
    /* Stop pulsing on hover */
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.2);
}

.btn-glass {
    text-decoration: none;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: rgba(255, 215, 0, 0.05);
}

.btn-glass:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* --- Hero Image --- */
.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.glass-mockup {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.floating-card {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.card-1 {
    top: 10%;
    right: -10%;
    color: var(--primary);
    animation-delay: 0s;
}

.card-2 {
    bottom: 10%;
    left: -10%;
    color: #4CAF50;
    animation-delay: 3s;
}

/* --- Features Section --- */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 5rem 5%;
    margin-top: 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, transparent, #000);
}

.feature-card {
    background: rgba(20, 20, 20, 0.8);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    flex: 1;
    max-width: 300px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /* Initial state for scroll animation */
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUpCard 0.8s ease-out forwards;
}

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

/* Stagger the animations */
.feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.8s;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.05) inset;
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.05) inset;
}

/* Unique Icon Animations */
.icon-box i {
    display: inline-block;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.icon-box i.fa-ban {
    animation: icon-pulse 2s infinite;
}

.icon-box i.fa-leaf {
    animation: icon-sway 3s ease-in-out infinite;
    transform-origin: bottom center;
}

.icon-box i.fa-kaaba {
    animation: icon-glow-pulse 3s infinite;
}

@keyframes icon-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px #ff4444);
        color: #ff6b6b;
    }
}

@keyframes icon-sway {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(15deg);
    }

    75% {
        transform: rotate(-15deg);
    }
}

@keyframes icon-glow-pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 10px var(--primary-glow));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 30px var(--primary));
        transform: scale(1.1);
        color: #fff;
    }
}

.feature-card:hover .icon-box {
    transform: scale(1.15) translateY(-10px);
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.feature-card:hover .icon-box i {
    animation: none;
    /* Pause continuous animation on hover to focus on the scale */
    transform: scale(1.2);
}

/* --- Palestine Free Section --- */
.palestine-section {
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 20, 10, 0.8);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.palestine-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(0, 151, 54, 0.2) 25%, transparent 50%, rgba(2ef, 51, 64, 0.1) 75%, transparent 100%);
    animation: rotate-conic 15s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes rotate-conic {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.palestine-flag-bar {
    height: 6px;
    background: linear-gradient(to right, #000 25%, #fff 25%, #fff 50%, #009736 50%, #009736 75%, #EF3340 75%);
    position: relative;
    z-index: 1;
}

.palestine-content {
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.palestine-emoji {
    font-size: 3.5rem;
    animation: float 4s ease-in-out infinite;
}

.palestine-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a8e6a3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.palestine-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 500px;
    margin: 0;
}

.palestine-desc strong {
    color: #a8e6a3;
}

.btn-palestine {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #009736, #006622);
    color: #fff;
    text-decoration: none;
    padding: 14px 38px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    box-shadow: 0 0 0 0 rgba(0, 151, 54, 0.7);
    transition: all 0.3s ease;
    animation: palestine-ripple 2s infinite;
    position: relative;
    overflow: hidden;
    margin-top: 6px;
}

.btn-palestine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.5s;
    animation: btn-shine 3s ease-in-out infinite;
}

@keyframes btn-shine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

@keyframes palestine-ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 151, 54, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0, 151, 54, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 151, 54, 0);
    }
}

.btn-palestine:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 151, 54, 0.65);
    background: linear-gradient(135deg, #00b341, #007a28);
}

.btn-palestine i {
    font-size: 1.3rem;
}

.palestine-sub {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* --- WhatsApp Section --- */
.whatsapp-section {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.whatsapp-divider {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
    gap: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.whatsapp-divider::before,
.whatsapp-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.whatsapp-hint {
    font-size: 1rem;
    opacity: 0.85;
    margin: 0;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
    background: linear-gradient(135deg, #2be374, #1aad6b);
}

.btn-whatsapp i {
    font-size: 1.3rem;
}

.whatsapp-sub {
    font-size: 0.85rem;
    opacity: 0.55;
    margin: 0;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px;
    color: var(--text-gray);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
    position: relative;
    z-index: 2;
}

/* --- Payment Section --- */
.payment-section {
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    margin: 2rem 0;
}

.payment-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.payment-desc {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.paypal-container {
    max-width: 400px;
    margin: 0 auto;
}

/* --- Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

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

.float-animation {
    animation: float 8s ease-in-out infinite;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-down {
    animation: fadeInDown 1s ease-out forwards;
    opacity: 0;
    transform: translateY(-30px);
}

.fade-in-left {
    animation: fadeInLeft 1s ease-out forwards;
    opacity: 0;
    transform: translateX(30px);
}

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

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

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 5rem 5%;
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(20, 20, 20, 0.6);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(40, 40, 40, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stars {
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-gray);
    flex-grow: 1;
    font-style: italic;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.user-details h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-white);
}

.user-details span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Footer Links --- */
.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* --- Suggestion Form Section --- */
.suggestion-section {
    padding: 4rem 5%;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.suggestion-container {
    background: rgba(20, 30, 20, 0.6);
    border: 1px solid rgba(0, 151, 54, 0.2);
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 151, 54, 0.05) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.suggestion-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 151, 54, 0.1) inset;
}

.suggestion-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.suggestion-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 1rem;
}

.suggestion-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.suggestion-form input,
.suggestion-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 50px 15px 20px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.suggestion-form textarea {
    min-height: 120px;
    resize: vertical;
}

.suggestion-form input:focus,
.suggestion-form textarea:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(0, 151, 54, 0.2);
}

.suggestion-form input:focus~.input-icon,
.suggestion-form textarea:focus~.input-icon {
    color: var(--primary);
}

.btn-submit-suggestion {
    background: linear-gradient(135deg, var(--primary), #006622);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 151, 54, 0.3);
    margin-top: 10px;
}

.btn-submit-suggestion:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 151, 54, 0.5);
}

.btn-submit-suggestion:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.suggestion-message {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 20px;
}

.suggestion-message.success {
    color: #4CAF50;
}

.suggestion-message.error {
    color: #f44336;
}

/* --- Interactive 3D Cursor Spotlight Cards --- */
.interactive-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.interactive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
            rgba(255, 215, 0, 0.06),
            transparent 40%);
    z-index: 1;
    pointer-events: none;
    transition: background 0.3s ease;
}

/* Elevate content above spotlight */
.interactive-card>* {
    position: relative;
    z-index: 2;
}

/* --- Heartbeat & Glowing Border Animations --- */
.heartbeat-icon {
    color: #4CAF50;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite both;
    filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.5));
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

.glowing-border-section {
    position: relative;
    /* Optional: extra inner shadow for depth */
}

.glowing-border-section::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    border-radius: 32px;
    background: linear-gradient(45deg, #FFD700, transparent, #FDB931, transparent, #FFD700);
    background-size: 300%;
    animation: glowing-border 12s linear infinite;
    opacity: 0.7;
    pointer-events: none;
}

@keyframes glowing-border {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 300% 0;
    }
}

/* === Naqa Chatbot Widget === */
#naqa-chat-bubble {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FDB931);
    border: none;
    cursor: pointer;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4), 0 0 0 0 rgba(255, 215, 0, 0.5);
    animation: chat-pulse 2.5s infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#naqa-chat-bubble:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.6);
    animation: none;
}

#naqa-chat-bubble .bubble-icon {
    transition: transform 0.3s ease;
}

#naqa-chat-bubble.open .bubble-icon {
    transform: rotate(90deg);
}

@keyframes chat-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4), 0 0 0 0 rgba(255, 215, 0, 0.4);
    }

    70% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4), 0 0 0 18px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4), 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

#naqa-chat-window {
    position: fixed;
    bottom: 100px;
    left: 24px;
    width: 380px;
    max-height: 520px;
    border-radius: 20px;
    background: rgba(10, 14, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.05) inset;
    z-index: 99998;
    display: none;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

#naqa-chat-window.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.02));
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FDB931);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.chat-header-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

.chat-header-info span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.chat-header-close {
    margin-right: auto;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px;
}

.chat-header-close:hover {
    color: #fff;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 340px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.2) transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.2);
    border-radius: 10px;
}

.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.6;
    animation: msg-fade-in 0.4s ease-out;
    word-wrap: break-word;
}

@keyframes msg-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.chat-msg.bot {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.1);
    color: #e8e8e8;
    align-self: flex-start;
    border-bottom-right-radius: 4px;
}

.chat-msg.user {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(253, 185, 49, 0.15));
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: #fff;
    align-self: flex-end;
    border-bottom-left-radius: 4px;
}

.chat-typing {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 12px 16px;
    align-self: flex-start;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.5);
    animation: typing-bounce 1.4s infinite;
}

.chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.chat-input-area {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.3);
}

.chat-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 10px 18px;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.chat-input-area input:focus {
    border-color: rgba(255, 215, 0, 0.4);
}

.chat-input-area input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FDB931);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #000;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
    animation: msg-fade-in 0.5s ease-out;
}

.chat-suggestions button {
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #ddd;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.chat-suggestions button:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    color: #FFD700;
    transform: translateY(-1px);
}

#naqa-chat-bubble .bubble-icon {
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.chat-header-avatar img {
    border-radius: 50%;
}

/* === End Chatbot Widget === */

@media (max-width: 768px) {
    .interactive-card {
        transform: none !important;
        /* Disable 3D tilt on mobile */
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .features,
    .testimonials-grid {
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        width: 100%;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
    }

    /* Chatbot responsive */
    #naqa-chat-window {
        left: 8px;
        right: 8px;
        bottom: 90px;
        width: auto;
        max-height: 70vh;
    }

    #naqa-chat-bubble {
        bottom: 16px;
        left: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
}