/* assets/css/style.css */

/* =========================================
   MASTER VARIABLES & BASE TYPOGRAPHY
   ========================================= */
:root {
    --master-primary: #e67e22; /* Websoft Orange */
    --master-secondary: #0b5b9c; /* Websoft Blue */
    --master-dark: #1e293b;
    --master-light: #f8fafc;
    --master-border: #e2e8f0;
    --font-main: 'Poppins', 'Noto Sans Devanagari', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--master-light);
    color: var(--master-dark);
    padding-top: 85px; 
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   PRO LEVEL NAVBAR STYLING & EFFECTS
   ========================================= */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 4px 25px -5px rgba(11, 91, 156, 0.08); /* Subtle blue-tinted shadow */
    border-top: 4px solid var(--master-primary); /* Brand orange highlight bar */
    padding: 12px 0;
    transition: all 0.4s ease;
}

/* Logo & Brand Text Underneath */
.navbar-custom .navbar-brand {
    padding: 0;
    margin-right: 1.5rem;
}

.navbar-custom .navbar-brand img {
    max-height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-custom .navbar-brand:hover img {
    transform: scale(1.02);
}

.brand-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--master-secondary); /* Websoft Blue */
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Change text to orange when hovering over the logo/brand area */
.navbar-custom .navbar-brand:hover .brand-text {
    color: var(--master-primary); /* Websoft Orange */
}

/* Link Base & Color */
.navbar-custom .nav-link {
    color: var(--master-secondary); /* Websoft Blue */
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px !important;
    position: relative;
    transition: color 0.3s ease;
}

/* Link Hover State */
.navbar-custom .nav-link:hover, 
.navbar-custom .nav-link.active {
    color: var(--master-primary); /* Websoft Orange */
}

/* Animated Underline Effect (Center-Out) */
.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: var(--master-primary);
    transition: width 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%);
    border-radius: 2px 2px 0 0;
}

.navbar-custom .nav-link:hover::after, 
.navbar-custom .nav-link.active::after {
    width: 70%;
}

/* Dropdown Menu Enhancements */
.dropdown-menu {
    border: none;
    border-top: 3px solid var(--master-primary);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    padding: 12px 0;
    margin-top: 15px; /* Spacing for the slide-up effect */
    animation: dropFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dropdown Items & Icon Animation */
.dropdown-item {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 24px;
    color: var(--master-secondary);
    transition: all 0.25s ease;
}

.dropdown-item i {
    color: var(--master-primary);
    transition: transform 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(230, 126, 34, 0.05); /* Very light orange tint */
    color: var(--master-primary);
    padding-left: 32px; /* Smooth indent effect */
}

.dropdown-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Client Portal Button - Premium Gradient & Glow */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--master-primary), #d35400);
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 10px 28px !important;
    border-radius: 30px; /* Modern pill shape */
    box-shadow: 0 6px 15px rgba(230, 126, 34, 0.25);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Button Hover Gradient Swap */
.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--master-secondary), #063d6b);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary-custom:hover::before {
    opacity: 1;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 91, 156, 0.3); /* Blue shadow on hover */
}

/* Disable underline effect specifically for the button */
.navbar-custom .nav-item .btn-primary-custom::after {
    display: none;
}

/* =========================================
   MINIMALIST PRO FOOTER STYLING
   ========================================= */
.footer-minimal {
    background-color: #ffffff;
    border-top: 1px solid var(--master-border);
    padding: 24px 0;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: auto;
}

.footer-minimal strong {
    color: var(--master-secondary); /* Websoft Blue */
    font-weight: 600;
}