/* ===== BASE ===== */
:root {
    --primary-blue: #0A2540; /* Deep Navy Blue */
    --secondary-blue: #1E3A8A; /* Royal Blue */
    --accent-red: #B91C1C; /* Professional Red */
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --border-color: #E2E8F0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; background: var(--light-bg); color: var(--text-dark); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Merriweather', serif; color: var(--primary-blue); }

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--secondary-blue); color: var(--white); font-weight: 600; padding: 14px 36px;
    border-radius: 4px; display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; text-decoration: none; border: 2px solid var(--secondary-blue); cursor: pointer;
    transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}
.btn-primary:hover {
    background: var(--primary-blue); border-color: var(--primary-blue);
    transform: translateY(-2px); box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}
.btn-red { background: var(--accent-red); border-color: var(--accent-red); }
.btn-red:hover { background: #991b1b; border-color: #991b1b; box-shadow: 0 8px 25px rgba(185, 28, 28, 0.3); }
.btn-outline {
    border: 2px solid var(--secondary-blue); color: var(--secondary-blue); background: transparent;
    padding: 12px 34px; border-radius: 4px; font-weight: 600; transition: all 0.3s ease;
    display: inline-block; text-decoration: none;
}
.btn-outline:hover { background: var(--secondary-blue); color: var(--white); }

/* ===== HEADER ===== */
.sticky-header {
    background: var(--white); border-bottom: 1px solid var(--border-color); padding: 15px 0;
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.sticky-header .container { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.logo-text { font-size: 26px; font-weight: 900; font-family: 'Merriweather', serif; display: flex; align-items: center; gap: 10px; color: var(--primary-blue); text-decoration: none; }
.logo-text .icon { color: var(--accent-red); font-size: 28px; }
.logo-text .highlight { color: var(--accent-red); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--primary-blue); text-decoration: none; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-red); }

.nav-phone { color: var(--white) !important; background: var(--accent-red); padding: 8px 20px; border-radius: 4px; font-weight: 700 !important; transition: all 0.3s !important; }
.nav-phone:hover { background: #991b1b; transform: translateY(-2px); }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; color: var(--primary-blue); font-size: 24px; cursor: pointer; }
.mobile-menu { display: none; background: var(--white); padding: 20px 24px; border-top: 1px solid var(--border-color); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: var(--primary-blue); text-decoration: none; padding: 12px 0; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--border-color); }

/* ===== HERO ===== */
.hero { min-height: 90vh; display: flex; align-items: center; position: relative; background: url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; padding-top: 80px; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10, 37, 64, 0.95) 0%, rgba(30, 58, 138, 0.8) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 40px 24px; margin: 0 auto; text-align: center; }
.hero-badge { display: inline-block; background: rgba(220, 38, 38, 0.15); color: #fca5a5; padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: 700; letter-spacing: 1px; border: 1px solid rgba(220, 38, 38, 0.3); margin-bottom: 24px; text-transform: uppercase; }
.hero h1 { font-size: 52px; font-weight: 900; line-height: 1.2; margin-bottom: 24px; color: var(--white); }
.hero h1 .highlight { color: #fca5a5; }
.hero p { font-size: 18px; color: #e2e8f0; line-height: 1.8; margin-bottom: 35px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== STATS ===== */
.stats-section { background: var(--white); padding: 40px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: relative; z-index: 10; transform: translateY(-40px); margin: 0 24px; border-radius: 8px; border-bottom: 3px solid var(--accent-red); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.stat-item { text-align: center; border-right: 1px solid var(--border-color); }
.stat-item:last-child { border-right: none; }
.stat-item .number { font-size: 42px; font-weight: 900; color: var(--secondary-blue); display: block; font-family: 'Merriweather', serif;}
.stat-item .label { font-size: 14px; color: var(--text-gray); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ===== COMMON SECTION ===== */
.section { padding: 80px 0; max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section-alt { background: var(--white); padding: 80px 24px; max-width: 100%; }
.section-alt .container { max-width: 1280px; margin: 0 auto; }
.section-title { font-size: 38px; font-weight: 900; margin-bottom: 16px; text-align: center; }
.section-title .highlight { color: var(--accent-red); }
.section-subtitle { color: var(--text-gray); text-align: center; max-width: 700px; margin: 0 auto 48px; font-size: 18px; line-height: 1.7; }
.section-divider { width: 80px; height: 4px; background: var(--accent-red); margin: 0 auto 30px; border-radius: 2px; }

/* ===== INNER PAGES CSS (Extra CSS for Contact, About, Terms etc.) ===== */
.page-header { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%); padding: 140px 24px 70px; text-align: center; color: var(--white); }
.page-header h1 { font-size: 46px; font-weight: 900; margin-bottom: 20px; color: var(--white); }
.page-header p { font-size: 18px; max-width: 800px; margin: 0 auto; color: #cbd5e1; }

.content-section { padding: 80px 24px; max-width: 1000px; margin: 0 auto; background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.05); border-radius: 8px; margin-top: -30px; position: relative; z-index: 10; margin-bottom: 80px; }
.content-section h2 { font-size: 28px; border-bottom: 3px solid var(--accent-red); padding-bottom: 10px; margin-top: 30px; margin-bottom: 20px; display: inline-block; color: var(--primary-blue); }
.content-section p { margin-bottom: 20px; font-size: 16px; color: var(--text-gray); line-height: 1.8; }
.content-section ul { margin-left: 20px; margin-bottom: 20px; color: var(--text-gray); line-height: 1.8; }
.content-section li { margin-bottom: 10px; }

/* ===== PRACTICE AREAS & OTHERS ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--white); padding: 40px 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid var(--border-color); transition: all 0.4s ease; border-top: 4px solid transparent; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(30,58,138,0.1); border-top-color: var(--accent-red); }
.service-card .icon { width: 70px; height: 70px; background: rgba(30,58,138,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--secondary-blue); margin-bottom: 24px; transition: all 0.3s; }
.service-card:hover .icon { background: var(--secondary-blue); color: var(--white); }
.service-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 15px; }
.service-card p { color: var(--text-gray); font-size: 15px; line-height: 1.7; }

/* ===== PROCESS, ADVANTAGES, FAQ, TEAM ===== */
/* (Keeping your original CSS structure intact) */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-card { text-align: center; padding: 30px 20px; background: var(--light-bg); border-radius: 8px; border: 1px solid var(--border-color); transition: all 0.3s ease; }
.advantage-card:hover { background: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.advantage-card .icon { font-size: 40px; color: var(--accent-red); margin-bottom: 20px; }
.advantage-card h4 { font-size: 18px; margin-bottom: 12px; }

.process-wrapper { display: flex; flex-direction: column; gap: 20px; }
.process-step { display: flex; align-items: flex-start; gap: 24px; background: var(--white); padding: 30px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); border-left: 5px solid var(--secondary-blue); transition: all 0.3s; }
.process-step:hover { transform: translateX(10px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.step-number { font-size: 36px; font-weight: 900; color: rgba(30,58,138,0.1); font-family: 'Merriweather', serif; min-width: 60px; }
.step-content h4 { font-size: 20px; margin-bottom: 8px; }
.step-content p { color: var(--text-gray); }

.faq-item { background: var(--white); border: 1px solid var(--border-color); margin-bottom: 15px; border-radius: 6px; overflow: hidden; }
.faq-question { padding: 20px; font-weight: 700; color: var(--primary-blue); cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--light-bg); }
.faq-answer { padding: 0 20px 20px; color: var(--text-gray); display: none; border-top: 1px solid var(--border-color); margin-top: 15px; padding-top: 15px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; border: 1px solid var(--border-color); }
.team-card .avatar { height: 250px; background: #e2e8f0; display: flex; align-items: center; justify-content: center; }
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card .info { padding: 24px; }
.team-card h4 { font-size: 20px; margin-bottom: 5px; }
.team-card .role { color: var(--accent-red); font-weight: 600; font-size: 14px; margin-bottom: 15px; }

/* ===== CTA & FOOTER ===== */
.cta-section { background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)); padding: 80px 24px; text-align: center; color: var(--white); }
.cta-section h2 { color: var(--white); font-size: 42px; margin-bottom: 20px; }
.cta-section p { font-size: 18px; max-width: 700px; margin: 0 auto 35px; color: #cbd5e1; }

.footer { background: var(--primary-blue); padding: 70px 0 30px; color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer p, .footer a { color: #94a3b8; text-decoration: none; display: block; margin-bottom: 12px; transition: color 0.3s; }
.footer a:hover { color: var(--white); }
.footer .contact-item { display: flex; gap: 12px; margin-bottom: 15px; align-items: flex-start; }
.footer .contact-item i { color: var(--accent-red); margin-top: 5px; }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(10, 37, 64, 0.85); backdrop-filter: blur(5px); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal { background: var(--white); max-width: 550px; width: 100%; border-radius: 8px; position: relative; max-height: 95vh; overflow-y: auto; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); border-top: 5px solid var(--accent-red); }
.modal-close { position: absolute; top: 15px; right: 15px; background: #f1f5f9; border: none; width: 35px; height: 35px; border-radius: 50%; font-size: 18px; cursor: pointer; color: var(--text-dark); transition: all 0.3s; }
.modal-close:hover { background: #e2e8f0; color: var(--accent-red); }
.modal-header { padding: 30px 30px 20px; text-align: center; background: var(--light-bg); border-bottom: 1px solid var(--border-color); }
.modal-header h2 { font-size: 24px; margin-bottom: 10px; }
.modal-body { padding: 30px; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; text-transform: uppercase; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 15px; font-family: inherit; transition: all 0.3s; background: var(--white); }
.form-control:focus { outline: none; border-color: var(--secondary-blue); box-shadow: 0 0 0 3px rgba(30,58,138,0.1); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ===== FLOATING BUTTONS (WhatsApp & Call) ===== */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; z-index: 900; background: #25D366; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); transition: all 0.3s; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-5px); color: #fff; }

.call-float { position: fixed; bottom: 105px; right: 30px; z-index: 900; background: var(--accent-red); color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 4px 20px rgba(185, 28, 28, 0.4); transition: all 0.3s; text-decoration: none; }
.call-float:hover { transform: scale(1.1) translateY(-5px); color: #fff; background: #991b1b; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .stats-section { margin: 0; border-radius: 0; transform: none; }
    .services-grid, .advantages-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-menu.open { display: block; }
    .hero h1 { font-size: 36px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
    .services-grid, .advantages-grid, .team-grid, .footer-grid { grid-template-columns: 1fr; }
    .page-header { padding: 120px 20px 50px; }
    .page-header h1 { font-size: 32px; }
}



/* ===== CUSTOM SCROLLBAR (Patla aur Red) ===== */

/* Firefox ke liye */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-red) var(--light-bg);
}

/* Chrome, Edge, Safari ke liye */
::-webkit-scrollbar {
    width: 6px; /* Scrollbar ko patla karne ke liye */
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg); /* Scrollbar ke piche ka background */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-red); /* Scrollbar ka Red color */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #991b1b; /* Hover karne par dark red */
}