:root {
    --primary: #0A192F;
    --primary-light: #172A45;
    --accent: #C5A059;
    --accent-hover: #D4AF37;
    --bg: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-main: #334155;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
}

* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.seo-hidden-h1 {
    position: absolute;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Professional Header & Navigation */
nav {
    background: var(--primary);
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav img { height: 42px; display: block; }

.nav-right-area {
    display: flex;
    align-items: center;
    gap: 35px;
}

#guest-display {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(197, 160, 89, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

/* Hamburger Icon Styles */
.hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    padding: 0;
    z-index: 1002;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger Animation when Active */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Sidebar Navigation Drawer */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(3px);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.sidebar-overlay.active {
    visibility: visible;
    opacity: 1;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--primary);
    box-shadow: -5px 0 25px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    padding: 80px 25px 30px 25px;
    transition: right 0.35s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1001;
    overflow-y: auto;
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-menu ul li a {
    text-decoration: none;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #CBD5E1;
    border-radius: 8px;
    transition: all 0.25s ease;
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-menu ul li a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(197, 160, 89, 0.3);
}

.sidebar-menu ul li:last-child a {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    text-align: center;
    margin-top: 10px;
}
.sidebar-menu ul li:last-child a:hover {
    background: var(--accent-hover);
}

/* Islamic Ticker Bar */
.islamic-ticker {
    background: var(--primary-light);
    color: var(--accent);
    padding: 6px 0;
    font-size: 1.05rem;
    font-family: 'Traditional Arabic', 'Amiri', serif;
    border-bottom: none;
    overflow: hidden;
    white-space: nowrap;
}
.islamic-ticker marquee {
    font-weight: bold;
    letter-spacing: 1px;
    display: block;
}

/* --- Auto Slideshow Banner Styling (Fixed Full-Width & No Gap) --- */
.banner-container {
    width: 100vw;              
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;        
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 25px;
    padding: 0;
    background: var(--primary-light);
}

.slideshow-container {
    width: 100%;
    background: var(--primary-light);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    border-bottom: 3px solid var(--accent);
}

/* Slideshow Initial Load & Transition Fixes */
.slide {
    display: none; 
}

.slide:first-child {
    display: block; 
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: cover;        
    display: block;
    margin: 0 auto;
}

/* Fading transition effect */
.fade {
    animation-name: fadeAnimation;
    animation-duration: 1.5s;
}

@keyframes fadeAnimation {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Slideshow Navigation Dots */
.slide-dots {
    text-align: center;
    position: absolute;
    bottom: 12px;
    width: 100%;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: #ffffff;
}

/* Top Category Cards */
.container {
    padding: 20px 5% 10px 5%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.card {
    background: var(--card-bg);
    padding: 35px 35px;
    border-radius: 30px;
    box-shadow: 0 30px 30px rgba(0,0,0,0.04);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.card:nth-child(1)::before { background: #3B82F6; }
.card:nth-child(2)::before { background: #10B981; }
.card:nth-child(3)::before { background: #F59E0B; }
.card:nth-child(4)::before { background: #8B5CF6; }
.card:nth-child(5)::before { background: #EF4444; }

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 15px;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.08);
}

.card a { text-decoration: none; color: inherit; display: block; }
.card h3 { color: var(--primary); margin: 0 0 8px 0; font-size: 1.15rem; font-weight: 700; }
.card p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* City Filter Section */
.city-filter-section {
margin: 0 auto 20px auto; /* Bottom margin 40px se 20px kar di */
    max-width: 500px;
    padding: 8px 10px;        /* Internal padding thori kam kar di */
    background: var(--card-bg);
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 15px 24px rgba(0,0,0,0.03);
    border: 7px solid var(--border-color);
}

.city-filter-section h2 { color: var(--primary); margin-top: 0; margin-bottom: 2px; font-size: 1.5rem; }
.city-filter-section p { color: var(--text-muted); margin-bottom: 5px; font-size: 0.95rem; }

.city-select {
    padding: 6px 10px;
    font-size: 1rem;
    border-radius: 20px;
    border: 5px solid var(--border-color);
    outline: none;
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    max-width: 380px;
}
.city-select:focus, .city-select:hover { border-color: var(--accent); }

/* Main Content Grid - Equal Height Setup */
.main-content-section {
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto 40px auto;
    display: flex;
    gap: 15px;
    align-items: stretch; /* Yeh dono columns ko barabar height deta hai */
}

.left-column { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    flex: 1;
}

.info-box {
    padding: 25px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    height: 100%;
}

.info-box h2 {
    margin-top: 0;
    color: var(--primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    font-size: 1.25rem;
}

.info-box ul { list-style: none; padding: 0; margin: 0; }
.info-box li { padding: 6px 0; border-bottom: 1px dashed var(--border-color); }
.info-box li:last-child { border-bottom: none; }

.info-box li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.2s;
    display: block;
}
.info-box li a:hover { color: var(--accent); }

/* Today's Latest Jobs Box */
.todays-jobs-box { 
    border-top: 4px solid var(--accent);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.todays-jobs-box .ticker-viewport { 
    flex-grow: 1 !important; /* Yeh viewport ko automatically left side ke end tak khinch leta hai */
    height: auto !important; 
    min-height: 200px;
    overflow-y: auto !important; 
    position: relative; 
    scroll-behavior: smooth;
}

.ticker-content { 
    display: flex; 
    flex-direction: column; 
    animation: scrollUp 14s linear infinite; 
}
.ticker-content:hover { animation-play-state: paused; }

.ticker-item { padding: 6px 0; border-bottom: 1px dashed var(--border-color); }
.ticker-item a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}
.ticker-item a:hover { color: var(--accent); }
.ticker-item span {
    font-size: 0.75rem;
    color: #047857;
    background: #ECFDF5;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Bottom Dual Boxes Section */
.bottom-boxes-section {
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto 40px auto;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.bottom-box-item {
    flex: 1;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary);
}

.bottom-box-item h3 {
    color: var(--primary);
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
}

.box-list { list-style: none; padding: 0; margin: 0; }
.box-list li { margin-bottom: 14px; border-bottom: 1px solid #F1F5F9; padding-bottom: 12px; }
.box-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.box-list li a {
    text-decoration: none;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    transition: color 0.2s;
}
.box-list li a:hover { color: var(--accent); }
.box-list span { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 3px; }

/* Full Width Auto-Scroll Ticker */
.auto-scroll-section { max-width: 1400px; margin: 0 auto 40px auto; padding: 0 5%; }
.auto-scroll-box {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent);
}
.auto-scroll-box h2 {
    color: var(--primary);
    margin-top: 0;
    font-size: 1.25rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
}
.ticker-viewport-full { height: 100px; overflow: hidden; position: relative; }
.ticker-content-full { display: flex; flex-direction: column; animation: scrollUpFull 12s linear infinite; }
.ticker-content-full:hover { animation-play-state: paused; }
.ticker-item-full { padding: 22px 0; border-bottom: 1px dashed var(--border-color); }
.ticker-item-full a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}
.ticker-item-full a:hover { color: var(--accent); }
.ticker-item-full span { font-size: 0.8rem; color: var(--text-muted); font-weight: normal; margin-left: auto; background: #F1F5F9; padding: 3px 8px; border-radius: 4px; }

@keyframes scrollUpFull {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Auth & Profile Section */
.auth-section {
    padding: 40px 5%;
    background: var(--primary-light);
    text-align: center;
    color: #fff;
    margin-top: 50px;
}
.auth-section h2 { color: #fff; margin-bottom: 15px; }
.auth-section input {
    padding: 12px 16px;
    margin: 6px;
    width: 100%;
    max-width: 240px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #fff;
    outline: none;
}
.auth-section input::placeholder { color: #94A3B8; }
.auth-section button {
    padding: 12px 24px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}
.auth-section button:hover { background: var(--accent-hover); }
#msg { margin-top: 10px; font-weight: 600; color: #34D399; }

/* Professional Footer */
footer {
    background: var(--primary);
    color: #94A3B8;
    padding: 35px 5%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}
footer div { margin-bottom: 15px; }
footer a { color: #CBD5E1; text-decoration: none; margin: 0 12px; font-weight: 500; font-size: 0.9rem; transition: color 0.2s; }
footer a:hover { color: var(--accent); }
footer p { margin: 0; font-size: 0.85rem; color: #64748B; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .bottom-boxes-section, .main-content-section { flex-direction: column; display: flex; }
}

/* Yellow Sticky Note / Important Notice Chit */
.sticky-notice-chit {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
    border-left: 20px solid #fbc02d;
    color: #5d4037;
    padding: 10px 22px;
    border-radius: 4px 8px 8px 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    font-family: inherit;
    transform: rotate(-0.3deg);
    transition: transform 0.2s ease;
    margin-top: 5px;
    margin-bottom: 10px;
}

.sticky-notice-chit:hover {
    transform: rotate(0deg) scale(1.005);
}

.sticky-notice-chit h3 {
    margin-top: 0;
    margin-bottom: 6px;
    color: #e65100;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sticky-notice-chit p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.5;
}

.sticky-notice-chit a {
    color: #d84315;
    font-weight: 1000;
    text-decoration: underline;
}