/*========================================================================
  Anandabazar Patrika Advertising Portal - Premium Styling
  Brand Colors: Modernized ABP Colors (Crimson Red, Deep Charcoal, Crisp White)
========================================================================*/
:root {
    --primary-color: #d32f2f;
    --primary-hover: #b71c1c;
    --secondary-color: #1a1a2e;
    --accent-color: #ffca28;
    
    --bg-light: #f8f9fa;
    --bg-dark: #121212;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #757575;
    
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 25px 50px rgba(211, 47, 47, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Typography & Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--secondary-color); color: var(--text-light); }
.text-primary { color: #0d6efd; }
.text-danger { color: #dc3545; }
.text-warning { color: #ffc107; }
.text-success { color: #198754; }
.text-info { color: #0dcaf0; }
.text-secondary { color: #6c757d; }
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}
.btn-secondary {
    background: var(--text-light);
    color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}
.btn-block {
    display: flex;
    width: 100%;
}
/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 15px 0;
}
.navbar.scrolled {
    padding: 10px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 50px;
    transition: var(--transition);
}
.navbar.scrolled .logo img {
    height: 40px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary-color);
    transition: var(--transition);
    position: relative;
}
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a:not(.btn):hover,
.nav-links a.active {
    color: var(--primary-color);
}
.admin-link {
    color: var(--text-muted) !important;
}
.admin-link:hover {
    color: var(--primary-color) !important;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}
/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(211,47,47,0.1) 0%, rgba(26,26,46,0) 60%);
    z-index: 1;
    pointer-events: none;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    z-index: 2;
}
.hero-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content {
    color: var(--text-light);
}
.badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255, 202, 40, 0.15);
    color: var(--accent-color);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 202, 40, 0.3);
}
.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-title span {
    color: var(--primary-color);
    display: inline-block;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: #b0b0c0;
    margin-bottom: 30px;
    max-width: 550px;
}
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #e0e0e0;
}
.feature-item i {
    color: var(--primary-color);
}
.hero-buttons {
    display: flex;
    gap: 20px;
}
/* Glassmorphism Form Card */
.glass-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    color: var(--text-light);
    transform: translateY(0);
    transition: var(--transition);
}
.glass-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.3);
}
.glass-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.glass-form-card p {
    font-size: 0.9rem;
    color: #b0b0c0;
    margin-bottom: 25px;
}
/* Forms */
.lead-form .form-group {
    position: relative;
    margin-bottom: 20px;
}
.lead-form .form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 2;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}
.lead-form select {
    appearance: none;
    cursor: pointer;
}
.lead-form select option {
    background: var(--secondary-color);
    color: var(--text-light);
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.1);
}
.lead-form input::placeholder,
.lead-form textarea::placeholder {
    color: #999;
}
/* Info Section */
.info-section {
    padding: 30px 0;
    background: #ffffff;
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.info-card {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}
.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}
.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(211, 47, 47, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}
.info-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: #fff;
}
.info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}
.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
/* 28 Categories Section */
.categories-section {
    padding: 30px 0;
}
.categories-grid-28 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.cat-card-small {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #eaedf1;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
}
.cat-card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}
.cat-img {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.cat-details h4 {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 2px;
}
.cat-details p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}
/* Steps Section */
.steps-section {
    padding: 30px 0;
    background: #fff;
}
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}
.step-card {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(211,47,47,0.3);
}
.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}
.step-content p {
    color: var(--text-muted);
    padding: 0 20px;
}
.step-line {
    height: 2px;
    background: #eee;
    flex: 1;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}
/* FAQ Section */
.faq-section {
    padding: 30px 0;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid #eaedf1;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: var(--transition);
}
.faq-question h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0;
}
.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-item.active .faq-answer {
    padding: 0 20px 20px;
}
.faq-answer p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}
/* Contact Section */
.contact-section {
    padding: 30px 0;
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.contact-info p {
    color: #b0b0c0;
    font-size: 1.1rem;
    margin-bottom: 40px;
}
.method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}
.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
}
.method-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.method-details a {
    color: #b0b0c0;
    font-size: 1.1rem;
    transition: var(--transition);
}
.method-details a:hover {
    color: var(--primary-color);
}
.main-form {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
}
.main-form h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-row .form-group {
    flex: 1;
}
.main-form .form-group {
    margin-bottom: 20px;
}
.main-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}
.main-form input,
.main-form select,
.main-form textarea {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: var(--text-dark);
    padding: 15px;
}
.main-form input:focus,
.main-form select:focus,
.main-form textarea:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(211,47,47,0.1);
}
/* Footer */
.footer {
    background: #0a0a14;
    color: #b0b0c0;
    padding: 80px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}
.footer-about p {
    max-width: 400px;
}
.footer h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 25px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}
.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-contact i {
    color: var(--primary-color);
}
.footer-bottom {
    background: #05050a;
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}
/* Form Status Messages */
.form-status {
    margin-top: 15px;
    font-weight: 500;
    text-align: center;
    display: none;
}
.form-status.success {
    color: #00d084;
    display: block;
}
.form-status.error {
    color: #cf2e2e;
    display: block;
}
/* ==========================================================================
   Ad Types Section
   ========================================================================== */
.ad-types-section {
    padding: 30px 0;
    background: #fdfdfd;
}
.ad-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.ad-type-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #eaedf1;
    display: flex;
    flex-direction: column;
}
.ad-type-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}
.ad-type-img {
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-type-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.ad-type-card:hover .ad-type-img img {
    transform: scale(1.05);
}
.ad-type-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.ad-type-content h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.ad-type-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}
/* ==========================================================================
   SEO Content Section
   ========================================================================== */
.seo-content-section {
    padding: 30px 0;
}
.seo-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.seo-text-block h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}
.seo-text-block p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}
.seo-text-block ul {
    list-style: none;
    margin-top: 20px;
}
.seo-text-block ul li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    color: var(--text-muted);
    line-height: 1.6;
}
.seo-text-block ul li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
    font-size: 1.1rem;
}
/* Responsive Design */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-subtitle { margin: 0 auto 30px; }
    .hero-features { justify-content: center; }
    .hero-buttons { justify-content: center; }
    
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid-28 { grid-template-columns: repeat(3, 1fr); }
    .ad-types-grid { grid-template-columns: repeat(2, 1fr); }
    .seo-content-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .contact-container { grid-template-columns: 1fr; }
    .contact-info { text-align: center; }
    .method { justify-content: center; }
    
    .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-btn { display: block; }
    
    .info-grid { grid-template-columns: 1fr; }
    .categories-grid-28 { grid-template-columns: repeat(2, 1fr); }
    .ad-types-grid { grid-template-columns: 1fr; }
    
    .steps-container { flex-direction: column; align-items: center; gap: 40px; }
    .step-line { width: 2px; height: 50px; margin: 0; }
    
    .form-row { flex-direction: column; gap: 0; }
    
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-about p { margin: 0 auto; }
}
@media (max-width: 480px) {
    .categories-grid-28 { grid-template-columns: 1fr; }
}
