

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--body-bg);
    color: var(--text);
    line-height: 1.6;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 0.625rem; }

ul, ol {
    margin: 0.625rem 0 0.9375rem 1.25rem;
}

a {
    text-decoration: none;
    color: var(--text);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 1.25rem;*/
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
header {
    background: var(--header-bg);
    box-shadow: 0 2px 15px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3125rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo .lazy-bg {
    width: 160px;
    height: 40px;
    display: block;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: var(--light-gray);
    border: none;
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 3px;
    transition: var(--transition);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--card-bg);
    transition: var(--transition);
    transform: translateX(0);
}

.dark-mode .theme-toggle::before {
    transform: translateX(24px);
}

.dark-mode .theme-toggle {
    background: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.lang-dropdown-select {
    width: 100%;
    padding: 5px 10px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text);
    font-size: 16px;
}

.lang-dropdown-select:focus {
    outline: none;
    border-color: var(--primary);
}
.ad-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.ad-banner-bottom {
    text-align: center;
    border-radius: 10px;
}
/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--footer-bg);
    color: var(--light);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column h3 {
    width: fit-content;
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: #fff;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-column p {
    color: #fff;
}

.footer-links {
    list-style: none;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a i {
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
	.container {
		padding: 1.25rem;
	}
    .header-container {
        flex-direction: row;
        gap: 0;
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--header-bg);
        box-shadow: -5px 0 15px var(--shadow);
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 100;
        padding: 80px 30px 30px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
    }
    
    nav.active {
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    nav a {
        font-size: 18px;
    }
    
    .header-actions {
        margin-left: auto;
        margin-right: 15px;
    }
		#header-actions {
			position: fixed;
			bottom: 30px;
			right: 30px;
			z-index: 101;
			opacity: 0;
			visibility: hidden;
			pointer-events: none; 
			transition: opacity 0.3s ease, visibility 0.3s ease;
		  }

		  /* Active Class (Jab Toggle On Ho) */
		  #header-actions.active {
			opacity: 1;
			visibility: visible;
			pointer-events: auto; /* Click allow karein */
		  }
    
}