/*
Theme Name: DSBC Group Corporate Portal
Theme URI: https://dsbc.co.in/
Author: DSBC Group
Description: DSBC Group corporate portal theme, converted from the supplied HTML and prepared for WordPress upload.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: dsbc-group
*/

:root {
            --primary-navy: #09111e;
            --secondary-navy: #132238;
            --accent-blue: #00b4d8;
            --accent-cyan: #90e0ef;
            --text-dark: #0f172a;
            --text-muted: #64748b;
            --bg-light: #f8fafc;
            --white: #ffffff;
            --glow-color: rgba(0, 180, 216, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Plus Jakarta Sans', sans-serif;
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* --- TOP BAR --- */
        .top-bar {
            background: var(--primary-navy);
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85rem;
            padding: 10px 8%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .top-bar .contact-info span {
            margin-right: 25px;
        }

        .top-bar i {
            color: var(--accent-blue);
            margin-right: 6px;
        }

        .social-icons a {
            color: rgba(255, 255, 255, 0.7);
            margin-left: 15px;
            text-decoration: none;
            transition: 0.3s;
        }

        .social-icons a:hover {
            color: var(--accent-blue);
        }

        /* --- NAVIGATION & DROPDOWN --- */
        nav {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 18px 8%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .brand-logo {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--primary-navy);
            letter-spacing: -0.5px;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .brand-logo span {
            color: var(--accent-blue);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 28px;
            align-items: center;
        }

        .nav-item {
            position: relative;
        }

        .nav-menu a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            font-size: 0.95rem;
            transition: 0.3s;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav-menu a:hover {
            color: var(--accent-blue);
        }

        /* Dropdown Menu */
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            width: 260px;
            background: var(--white);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-radius: 12px;
            padding: 12px 0;
            list-style: none;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
        }

        .nav-item:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu li a {
            padding: 10px 20px;
            font-size: 0.88rem;
            color: var(--text-dark);
            display: block;
        }

        .dropdown-menu li a:hover {
            background: var(--bg-light);
            color: var(--accent-blue);
        }

        .btn-portal {
            background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
            color: var(--white) !important;
            padding: 10px 24px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(9, 17, 30, 0.2);
            transition: all 0.3s ease !important;
        }

        .btn-portal:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
            background: var(--accent-blue);
        }

        /* --- HERO SECTION --- */
        .hero {
            background: radial-gradient(circle at 50% 20%, #172a46 0%, var(--primary-navy) 100%);
            color: var(--white);
            padding: 110px 8% 130px;
            text-align: center;
            position: relative;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 60px;
            background: var(--bg-light);
            clip-path: polygon(0 100%, 100% 100%, 100% 0);
        }

        .hero-badge {
            background: rgba(0, 180, 216, 0.12);
            color: var(--accent-cyan);
            border: 1px solid rgba(144, 224, 239, 0.25);
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 25px;
        }

        .hero h1 {
            font-size: 3.6rem;
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 25px;
            max-width: 950px;
            margin-left: auto;
            margin-right: auto;
            letter-spacing: -1px;
        }

        .hero h1 span {
            background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero p {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.75);
            max-width: 750px;
            margin: 0 auto 35px;
        }

        /* Live Entity Search Bar */
        .search-container {
            max-width: 550px;
            margin: 0 auto;
            position: relative;
        }

        .search-container input {
            width: 100%;
            padding: 16px 25px 16px 50px;
            border-radius: 30px;
            border: 1px solid rgba(255,255,255,0.2);
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            color: #fff;
            font-size: 0.95rem;
            outline: none;
            transition: 0.3s;
        }

        .search-container input::placeholder {
            color: rgba(255,255,255,0.6);
        }

        .search-container input:focus {
            background: rgba(255, 255, 255, 0.2);
            border-color: var(--accent-cyan);
        }

        .search-container i {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--accent-cyan);
        }

        /* --- METRICS / STATS --- */
        .stats-wrapper {
            max-width: 1100px;
            margin: -50px auto 70px;
            padding: 0 20px;
            position: relative;
            z-index: 10;
        }

        .stats-grid {
            background: var(--white);
            border-radius: 16px;
            padding: 35px 40px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
            border: 1px solid #e2e8f0;
            text-align: center;
        }

        .stat-item h3 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary-navy);
        }

        .stat-item h3 span { color: var(--accent-blue); }

        .stat-item p {
            font-size: 0.88rem;
            color: var(--text-muted);
            font-weight: 600;
            margin-top: 4px;
        }

        /* --- SECTION HEADER --- */
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-header h2 {
            font-size: 2.4rem;
            color: var(--primary-navy);
            font-weight: 800;
            letter-spacing: -0.5px;
        }

        .section-header p {
            color: var(--text-muted);
            font-size: 1.05rem;
            margin-top: 8px;
        }

        /* --- GROUP COMPANIES GRID --- */
        .companies-section {
            padding: 20px 8% 80px;
        }

        .companies-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .company-card {
            background: var(--white);
            border-radius: 16px;
            border: 1px solid #e2e8f0;
            padding: 40px;
            transition: all 0.4s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
        }

        .company-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.08), 0 0 20px var(--glow-color);
            border-color: var(--accent-blue);
        }

        .card-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 25px;
        }

        .company-icon {
            width: 60px;
            height: 60px;
            background: rgba(0, 180, 216, 0.08);
            color: var(--accent-blue);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            transition: 0.3s;
        }

        .company-card:hover .company-icon {
            background: var(--accent-blue);
            color: var(--white);
        }

        .entity-tag {
            font-size: 0.75rem;
            font-weight: 700;
            padding: 6px 14px;
            background: var(--bg-light);
            border-radius: 20px;
            color: var(--text-muted);
            text-transform: uppercase;
        }

        .company-card h3 {
            font-size: 1.5rem;
            color: var(--primary-navy);
            margin-bottom: 12px;
            font-weight: 700;
        }

        .company-card p {
            color: var(--text-muted);
            font-size: 0.98rem;
            margin-bottom: 35px;
        }

        .card-link {
            text-decoration: none;
            color: var(--accent-blue);
            font-weight: 700;
            font-size: 0.95rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: 0.3s;
        }

        .company-card:hover .card-link {
            gap: 15px;
            color: var(--primary-navy);
        }

        /* --- LEADERSHIP / STRUCTURE --- */
        .leadership-section {
            background: var(--white);
            padding: 80px 8%;
            border-top: 1px solid #e2e8f0;
        }

        .leadership-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .leader-card {
            background: var(--bg-light);
            border-radius: 12px;
            padding: 30px;
            text-align: center;
            border: 1px solid #e2e8f0;
        }

        .leader-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--primary-navy);
            color: var(--accent-cyan);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin: 0 auto 20px;
        }

        .leader-card h4 {
            color: var(--primary-navy);
            font-size: 1.2rem;
            font-weight: 700;
        }

        .leader-card span {
            color: var(--accent-blue);
            font-size: 0.85rem;
            font-weight: 600;
            display: block;
            margin-bottom: 12px;
        }

        .leader-card p {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* --- FOOTER --- */
        footer {
            background: var(--primary-navy);
            color: var(--white);
            padding: 80px 8% 30px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 50px;
            margin-bottom: 60px;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .footer-brand h3 {
            font-size: 1.8rem;
            margin-bottom: 18px;
            font-weight: 800;
        }

        .footer-brand span { color: var(--accent-blue); }

        .footer-brand p {
            color: rgba(255, 255, 255, 0.65);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .newsletter-form {
            display: flex;
            gap: 10px;
        }

        .newsletter-form input {
            padding: 10px 15px;
            border-radius: 6px;
            border: 1px solid rgba(255,255,255,0.2);
            background: rgba(255,255,255,0.05);
            color: #fff;
            outline: none;
            width: 100%;
        }

        .newsletter-form button {
            background: var(--accent-blue);
            color: #fff;
            border: none;
            padding: 10px 18px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
        }

        .footer-links h4 {
            font-size: 1.1rem;
            margin-bottom: 22px;
            color: var(--accent-cyan);
            font-weight: 700;
        }

        .footer-links ul { list-style: none; }
        .footer-links ul li { margin-bottom: 14px; }

        .footer-links ul li a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.92rem;
            transition: 0.3s;
        }

        .footer-links ul li a:hover {
            color: var(--accent-blue);
            padding-left: 5px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 35px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.88rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Mobile Responsiveness */
        @media (max-width: 992px) {
            .companies-grid, .leadership-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .hero h1 { font-size: 2.7rem; }
            .top-bar { display: none; }
            .footer-bottom { flex-direction: column; gap: 15px; }
        }

/* --- WordPress/mobile deployment additions --- */
.mobile-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--primary-navy);
    font-size: 1.35rem;
    cursor: pointer;
}
@media (max-width: 992px) {
    nav { position: sticky; }
    .mobile-menu-toggle { display: block; }
    .nav-menu {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--white);
        padding: 18px 8%;
        box-shadow: 0 12px 25px rgba(0,0,0,0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        border-top: 1px solid #e2e8f0;
    }
    .nav-menu.is-open { display: flex; }
    .nav-menu .nav-item > a { justify-content: space-between; }
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: 0;
        padding: 4px 0 4px 12px;
    }
    .nav-item.dropdown-open .dropdown-menu { display: block; }
    .nav-menu a { padding: 8px 0; }
    .btn-portal { text-align: center; justify-content: center; }
}
