/*
Theme Name: Poddar Legal
Theme URI: http://poddarlegal.com
Author: Your Name
Author URI: http://yourwebsite.com
Description: Custom theme for Poddar Legal Associates built with Elementor support.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: poddar-legal
*/

/* Basic Reset */
body { margin: 0; padding: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ===============================
   HEADER STYLES FOR INNER PAGES
   =============================== */

/* Top Bar */
.top-bar {
    background-color: #0d1b2a; /* Dark Navy */
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-contact span {
    margin-right: 20px;
}
.top-contact i {
    color: #d32f2f; /* Red Accent */
    margin-right: 5px;
}
.top-social a {
    color: #fff;
    margin-left: 15px;
    transition: color 0.3s;
}
.top-social a:hover {
    color: #d32f2f;
}

/* Main Header Wrapper (Sticky) */
.main-header-wrapper {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: all 0.3s ease;
}

/* Main Header Layout */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logo Styling */
.logo h1 {
    font-size: 26px;
    margin: 0;
    color: #0d1b2a;
    font-weight: 800;
    letter-spacing: 1px;
}
.logo p {
    font-size: 11px;
    margin: 0;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Navigation Menu */
.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav ul li a {
    font-size: 14px;
    font-weight: 700;
    color: #0d1b2a;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}
/* Underline Animation */
.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d32f2f;
    transition: width 0.3s;
}
.main-nav ul li a:hover::after {
    width: 100%;
}
.main-nav ul li a:hover {
    color: #d32f2f;
}

/* CTA Button */
.header-cta .btn-consult {
    background-color: #d32f2f;
    color: #fff;
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
    display: inline-block;
}
.header-cta .btn-consult:hover {
    background-color: #b71c1c;
}

/* Mobile Toggle (Hidden on Desktop) */
.mobile-toggle {
    display: none;
    font-size: 24px;
    color: #0d1b2a;
    cursor: pointer;
}

/* ===============================
   INNER PAGE CONTENT STYLING
   =============================== */
.page-content-wrapper {
    padding: 60px 0;
    background: #fff;
}
.page-title {
    font-size: 36px;
    color: #0d1b2a;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #d32f2f;
    margin-top: 10px;
}
.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* ===============================
   RESPONSIVE HEADER
   =============================== */
@media (max-width: 991px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .main-header {
        flex-wrap: wrap;
    }
    .main-nav {
        display: none; /* Hide menu on mobile */
        width: 100%;
        order: 3;
        margin-top: 15px;
        background: #f9f9f9;
        padding: 15px;
        border-radius: 5px;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .header-cta {
        display: none; /* Hide CTA on mobile */
    }
    .mobile-toggle {
        display: block; /* Show Hamburger */
    }
    /* JS will toggle this class */
    .main-nav.active {
        display: block;
    }
}


/* ===============================
   DARK HEADER STYLES
   =============================== */

/* 1. Top Bar */
.top-bar {
    background-color: #0a1128; /* Very Dark Navy */
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.top-contact span {
    margin-left: 20px;
    color: #ffffff;
}
.top-contact i {
    color: #ffffff;
    margin-right: 5px;
}

/* 2. Main Header Wrapper */
.main-header-wrapper {
    background-color: #0d1b2a; /* Dark Navy Blue */
    border-bottom: 2px solid #d32f2f; /* Red Bottom Border */
    position: relative;
    z-index: 999;
}

/* Main Header Layout */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logo Styling - RED + WHITE */
.logo h1 {
    font-size: 28px;
    margin: 0;
    color: #d32f2f; /* RED */
    font-weight: 800;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
}
.logo p {
    font-size: 11px;
    margin: 0;
    color: #ffffff; /* WHITE */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

/* Navigation Menu */
.main-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav ul li a {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff; /* WHITE */
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

/* Hover: WHITE with RED Underline */
.main-nav ul li a:hover {
    color: #ffffff;
}
.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d32f2f; /* RED Underline */
    transition: width 0.3s;
}
.main-nav ul li a:hover::after {
    width: 100%;
}

/* Active Menu Item: RED */
.main-nav ul li.current-menu-item a {
    color: #d32f2f; /* RED for active */
}
.main-nav ul li.current-menu-item a::after {
    width: 100%;
    background-color: #d32f2f;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
}

/* ===============================
   INNER PAGE HERO
   =============================== */
.inner-page-hero {
    background-color: #0d1b2a;
    background-image: linear-gradient(rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.9)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: #fff;
    border-bottom: 4px solid #d32f2f; /* RED */
}
.inner-page-hero h1 {
    font-size: 42px;
    color: #ffffff; /* WHITE */
    margin: 0;
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
}

/* ===============================
   INNER PAGE CONTENT (White Box)
   =============================== */
.page-content-wrapper {
    padding: 60px 0;
    background: #f4f4f4;
}
.page-content-box {
    background: #fff;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border-radius: 5px;
    border-left: 5px solid #d32f2f; /* RED Border */
}
.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* ===============================
   RESPONSIVE HEADER
   =============================== */
@media (max-width: 991px) {
    .top-bar-inner {
        justify-content: center;
    }
    .main-header {
        flex-wrap: wrap;
    }
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
        background: #0a1128;
        padding: 15px;
        border-radius: 5px;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .mobile-toggle {
        display: block;
    }
    .main-nav.active {
        display: block;
    }
}

/* Navigation */
.main-nav ul { display: flex; gap: 20px; }
.main-nav a { font-weight: 600; font-size: 14px; color: #1a2a4a; text-transform: uppercase; transition: color 0.3s; }
.main-nav a:hover { color: #d32f2f; }

/* Hero Section */
.hero-section { display: flex; min-height: 600px; background: #1a2a4a; color: #fff; }
.hero-content { width: 40%; padding: 80px 40px; display: flex; flex-direction: column; justify-content: center; }
.hero-content h2 { font-size: 36px; margin-bottom: 20px; line-height: 1.2; }
.hero-content p { margin-bottom: 30px; font-size: 14px; opacity: 0.9; }
.hero-image { width: 60%; background-size: cover; background-position: center; }
.btn-red { background: #d32f2f; color: #fff; padding: 12px 30px; border: none; font-weight: bold; cursor: pointer; display: inline-block; width: fit-content; border-radius: 3px; }
.btn-red:hover { background: #b71c1c; }

/* Services Section */
.services-section { padding: 60px 0; text-align: center; background: #fff; }
.section-title { font-size: 32px; color: #1a2a4a; margin-bottom: 10px; position: relative; display: inline-block; }
.section-title::after { content: ''; display: block; width: 50px; height: 3px; background: #d32f2f; margin: 10px auto 0; }
.section-subtitle { font-size: 14px; color: #666; margin-bottom: 40px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; padding: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-radius: 4px; transition: transform 0.3s; text-align: left; border: 1px solid #eee; }
.service-card:hover { transform: translateY(-5px); }
.service-card h3 { font-size: 18px; color: #1a2a4a; margin-bottom: 15px; }
.service-card a { font-size: 12px; font-weight: bold; color: #1a2a4a; text-transform: uppercase; }

/* Practice Areas */
.practice-section { padding: 60px 0; background: #f9f9f9; text-align: center; }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.practice-card { background: #fff; padding: 25px; border: 1px solid #eee; text-align: center; }
.practice-card h3 { font-size: 16px; color: #1a2a4a; margin-bottom: 10px; }
.practice-card p { font-size: 13px; color: #666; }

/* About & Contact Section */
.about-contact-section { display: flex; }
.about-half { width: 50%; background: #1a2a4a; color: #fff; padding: 60px; }
.contact-half { width: 50%; background: #fff; padding: 60px; }
.about-half h2 { font-size: 32px; margin-bottom: 20px; }
.about-half h3 { font-size: 18px; margin-top: 20px; margin-bottom: 10px; border-bottom: 1px solid #d32f2f; display: inline-block; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; background: #fafafa; border-radius: 3px; box-sizing: border-box; }
.contact-form h2 { font-size: 32px; color: #1a2a4a; margin-bottom: 20px; }

/* Footer */
.site-footer { background: #4a148c; color: #fff; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 18px; }
.footer-col p, .footer-col li { font-size: 13px; opacity: 0.8; margin-bottom: 10px; }
.footer-col a { color: #fff; opacity: 0.8; }
.footer-col a:hover { opacity: 1; color: #d32f2f; }
.subscribe-btn { background: #d32f2f; border: none; color: #fff; padding: 10px 20px; cursor: pointer; width: 100%; font-weight: bold; }
.copyright { text-align: center; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 12px; opacity: 0.6; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section { flex-direction: column; }
    .hero-content, .hero-image { width: 100%; }
    .hero-image { height: 300px; }
    .services-grid, .practice-grid, .footer-grid { grid-template-columns: 1fr; }
    .about-contact-section { flex-direction: column; }
    .about-half, .contact-half { width: 100%; padding: 30px; }
    .main-header { flex-direction: column; gap: 15px; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; }
}