/* High-End Tweaks */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

body {
    font-family: 'Cairo', sans-serif;
    /* Smooth scrolling */
    scroll-behavior: smooth;
}

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Card Hover Glow Effect */
.job-card {
    transition: all 0.3s ease;
}

.job-card:hover {
    cursor: pointer;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.2);
    /* Emerald glow */
}

/* Modal Animations */
#job-modal {
    transition: opacity 0.3s ease;
}

/* Glass effect for modal backdrop */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* AdSense Placeholders */
.ad-banner {
    width: 100%;
    height: 90px;
    background-color: #1e293b;
    border: 1px dashed #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.ad-rectangle {
    width: 100%;
    height: 250px;
    background-color: #1e293b;
    border: 1px dashed #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.8rem;
    margin-top: 2rem;
    border-radius: 8px;
}

.ad-responsive {
    width: 100%;
    min-height: 120px;
    background-color: #0f172a;
    border: 1px dashed #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.8rem;
    margin: 2rem 0;
    border-radius: 12px;
}

/* Sticky Bottom Ad */
.sticky-ad-container {
    position: fixed;
    bottom: -150px;
    /* Initially hidden below viewport */
    left: 0;
    width: 100%;
    height: 110px;
    /* Fixed height for animation calculation */
    background-color: #1e293b;
    border-top: 2px solid #F59E0B;
    z-index: 40;
    padding: 10px;
    box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.3);
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-ad-container.visible {
    bottom: 0px;
}

.sticky-ad-container.collapsed {
    bottom: -110px;
    /* Hide content, keep tab visible */
}

/* Toggle Tab Button */
.toggle-ad-btn {
    position: absolute;
    top: -30px;
    /* Sits on top of the border */
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    /* White tab as requested */
    color: #0F172A;
    width: 60px;
    height: 30px;
    border-radius: 12px 12px 0 0;
    /* Rounded top corners */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    border-bottom: none;
    z-index: 60;
    transition: background-color 0.2s;
}

.toggle-ad-btn:hover {
    background-color: #f8fafc;
}

/* CTA Button Styling */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2), 0 2px 4px -1px rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    margin: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3), 0 4px 6px -2px rgba(16, 185, 129, 0.1);
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
}