/* ==========================================================================
   ANANT LAW COLLEGE - PREMIUM DESIGN SYSTEM (CU ARCHITECTURE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #0d233a;     /* Deep University Navy */
    --secondary-color: #1e3d59;   /* Royal Blue Accent */
    --accent-gold: #ff9900;       /* High-Visibility Conversion Gold */
    --accent-orange: #ff5e00;     /* Alert/CTA Highlight Orange */
    --text-dark: #1e293b;         /* Slate Slate */
    --text-light: #f8fafc;        /* Off-White */
    --bg-light: #f1f5f9;          /* Section Light Gray */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px -5px rgba(13, 35, 58, 0.15);
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* --- Top Utility Bar --- */
.top-bar {
    background-color: #071421;
    font-size: 0.85rem;
}

/* --- Sticky Modern Navigation --- */
.main-navbar {
    background-color: rgba(13, 35, 58, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    border-bottom: 2px solid var(--accent-gold);
}
.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-gold) !important;
}
.btn-cta-glow {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: #ffffff !important;
    font-weight: 600;
    border: none;
    box-shadow: 0 0 15px rgba(255, 153, 0, 0.4);
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(255, 153, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0); }
}

/* --- Conversion Hero Container --- */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(13, 35, 58, 0.85), rgba(7, 20, 33, 0.9)), 
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    min-height: 90vh;
    padding-top: 120px;
    padding-bottom: 60px;
}
.conversion-form-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-top: 5px solid var(--accent-gold);
}

/* --- Floating Right Social Dock --- */
.social-dock {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
    display: flex;
    flex-direction: column;
}
.social-dock-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 50px;
    height: 48px;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-smooth);
    overflow: hidden;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    margin-bottom: 2px;
}
.social-dock-item i {
    width: 50px;
    text-align: center;
    font-size: 1.25rem;
}
.social-dock-text {
    display: inline-block;
    width: 0;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition-smooth);
    font-weight: 500;
    font-size: 0.9rem;
}
.social-dock-item:hover {
    width: 160px;
    padding-right: 15px;
}
.social-dock-item:hover .social-dock-text {
    width: 110px;
    opacity: 1;
}
.sd-fb { background-color: #3b5998; }
.sd-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.sd-ln { background-color: #0077b5; }
.sd-yt { background-color: #ff0000; }

/* --- Interactive Core Tabs & Components --- */
.nav-custom-tabs .nav-link {
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    margin-right: 10px;
    border-radius: 6px;
}
.nav-custom-tabs .nav-link.active {
    background-color: var(--primary-color) !important;
    color: var(--accent-gold) !important;
}

/* --- Floating System Widgets --- */
.widget-container-left {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.floating-widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}
.floating-widget-btn:hover {
    transform: scale(1.1) rotate(5deg);
    color: white;
}
.wa-widget { background-color: #25d366; font-size: 1.8rem; }
.ai-widget { background-color: var(--secondary-color); font-size: 1.6rem; }

/* --- AI Chat Panel Window --- */
.ai-chat-panel {
    position: fixed;
    bottom: 95px;
    left: 25px;
    width: 360px;
    height: 480px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 1070;
    display: none;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
}
.ai-chat-header {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ai-chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-msg {
    padding: 10px 14px;
    border-radius: 10px;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
}
.msg-bot { background-color: #ffffff; align-self: flex-start; border-left: 4px solid var(--accent-gold); }
.msg-user { background-color: var(--secondary-color); color: #ffffff; align-self: flex-end; }
.ai-chat-footer {
    padding: 10px;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    gap: 8px;
}

/* Footer UI Overhauls */
footer {
    background-color: #071421;
    color: #94a3b8;
}
.navbar-logo {
  height: 95px;          /* Desktop par logo bada aur ekdam clear dikhega */
  width: auto;           /* Proportion maintain rahega */
  object-fit: contain;
  display: block;
  transition: all 0.3s ease; /* Smooth scaling */
}

/* Tablet screen par size */
@media (max-width: 991px) {
  .navbar-logo {
    height: 55px;
  }
}

/* Mobile screen par size */
@media (max-width: 576px) {
  .navbar-logo {
    height: 45px;
  }
}
/* --- FIXES FOR NAVBAR MENU VISIBILITY --- */

/* 1. Ensure navbar overlay stays above all hero content */
.main-navbar {
    z-index: 1080 !important;
}

/* 2. Fix mobile & tablet collapsible menu background & text visibility */
@media (max-width: 991px) {
    .main-navbar .navbar-collapse {
        background-color: var(--primary-color);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }
    
    .navbar-logo {
        height: 60px !important; /* Mobile par layout maintain rakhne ke liye */
    }
}

/* 3. Explicit alignment fix for dropdown list items */
.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}