/* index.css - Custom Modern Corporate Healthcare Brand Style Sheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #e1e4ec;
    --accent-fill-rest: #006cbe;
    --accent-fill-hover: #0078d4;
    --accent-fill-active: #005ca3;
    --neutral-fill-rest: #f6f7f9;
    --neutral-fill-hover: #ffffff;
    --neutral-fill-active: #f0f2f5;
    --neutral-fill-selected: #f6f7f9;
    --neutral-foreground-rest: #00153c;
    --neutral-fill-stealth-rest: #e1e4ec;
    --neutral-fill-stealth-hover: #f0f2f5;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.25);
    --font-primary: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 21, 60, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 21, 60, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 21, 60, 0.12);
}

body {
    background-color: var(--bg-primary);
    color: var(--neutral-foreground-rest);
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Microsoft Segoe UI Web Typography Standards */
h1, .h1 {
    font-size: 2.25rem; /* 36px */
    font-weight: 600 !important; /* Microsoft Segoe UI SemiBold */
    color: #00153c !important;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h2, .h2 {
    font-size: 1.75rem; /* 28px */
    font-weight: 600 !important;
    color: #00153c !important;
    line-height: 1.25;
    letter-spacing: -0.005em;
}

h3, .h3 {
    font-size: 1.25rem; /* 20px */
    font-weight: 600 !important;
    color: #00153c !important;
    line-height: 1.3;
}

h4, .h4 {
    font-size: 1rem; /* 16px */
    font-weight: 600 !important;
    color: #00153c !important;
    line-height: 1.4;
}

h5, .h5 {
    font-size: 0.875rem; /* 14px */
    font-weight: 600 !important;
    color: #00153c !important;
    line-height: 1.4;
}

h6, .h6 {
    font-size: 0.75rem; /* 12px */
    font-weight: 600 !important;
    color: #00153c !important;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

p, .lead-body, .card-text {
    font-size: 14px;
    line-height: 1.55;
    color: #201f1e !important; /* Microsoft neutralPrimary */
    font-weight: 400 !important; /* Microsoft Regular Weight */
}

/* Fix text legibility on muted and secondary text classes across all pages */
.text-muted, .text-secondary {
    color: #605e5c !important; /* Microsoft neutralSecondary */
    font-weight: 400 !important; /* Microsoft Regular Weight */
}

/* Hero Section Background & Text Contrast */
.hero-section {
    background: linear-gradient(135deg, #dbe2ef 0%, #f1f5f9 100%) !important;
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 21, 60, 0.12);
}

.hero-section h1, .hero-section .display-4 {
    color: #00153c !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em;
}

.hero-section p, .hero-section .lead, .hero-section .text-muted {
    color: #1e293b !important;
    font-weight: 500 !important;
    font-size: 1.05rem;
    line-height: 1.6;
}

.compliancy-badge {
    background-color: #ffffff !important;
    color: #00153c !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 5px solid #10b981 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(0, 21, 60, 0.06);
}

/* Microsoft Azure Top Navigation Bar */
.custom-navbar {
    background: var(--neutral-fill-hover);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 21, 60, 0.1);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 21, 60, 0.04);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 56px;
}

.navbar-brand {
    font-weight: 600;
    font-size: 14px;
    color: var(--neutral-foreground-rest) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.navbar-brand img {
    height: 38px;
    width: auto;
}

.brand-text {
    font-family: var(--font-primary) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.nav-link {
    color: var(--neutral-foreground-rest) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em;
    transition: color 0.15s ease, border-color 0.15s ease;
    padding: 16px 14px !important;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link:focus, .nav-item.show > .nav-link {
    color: var(--accent-fill-rest) !important;
    font-weight: 600 !important;
    border-bottom-color: var(--accent-fill-rest);
}

/* Microsoft Azure Dropdown Menus */
.dropdown-menu {
    font-size: 14px !important;
    border-radius: 2px !important;
    border: 1px solid rgba(0, 21, 60, 0.12) !important;
    box-shadow: 0 4px 16px rgba(0, 21, 60, 0.12) !important;
    padding: 6px 0 !important;
    background-color: var(--neutral-fill-hover) !important;
    margin-top: 0 !important;
}

.dropdown-item {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--neutral-foreground-rest) !important;
    padding: 8px 20px !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--neutral-fill-active) !important;
    color: var(--accent-fill-rest) !important;
    font-weight: 600 !important;
}

.navbar .dropdown-toggle::after {
    display: none !important;
}

.dropdown-divider {
    margin: 4px 0;
    border-top-color: var(--neutral-fill-stealth-rest);
}

/* Custom corporate buttons */
.btn {
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
}

.btn-accent {
    background-color: var(--accent-fill-rest);
    color: var(--neutral-fill-hover) !important;
    font-weight: 600;
    border-radius: 2px;
    padding: 8px 20px;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 108, 190, 0.2);
}

.btn-accent:hover {
    background-color: var(--accent-fill-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.35);
}

.btn-accent:active {
    background-color: var(--accent-fill-active);
    transform: translateY(0);
}

.btn-neutral-outline {
    background-color: transparent;
    color: var(--neutral-foreground-rest) !important;
    border: 2px solid var(--neutral-foreground-rest);
    font-weight: 600;
    border-radius: 0;
    padding: 8px 24px;
    transition: all 0.3s ease;
}

.btn-neutral-outline:hover {
    background-color: var(--neutral-foreground-rest);
    color: var(--neutral-fill-hover) !important;
}

/* Modern Card Layouts */
.premium-card {
    background: var(--neutral-fill-hover);
    border: 1px solid var(--neutral-fill-stealth-rest);
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-fill-rest);
}

.badge-recommended {
    background-color: var(--accent-fill-rest);
    color: #fff;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 0;
    font-weight: 600;
}

/* Chatbot styles */
.chatbot-trigger {
    position: fixed;
    bottom: 30px;
    right: 90px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-fill-rest);
    box-shadow: 0 4px 15px rgba(0, 108, 190, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.chatbot-trigger:hover {
    background-color: var(--accent-fill-hover);
    transform: scale(1.1);
}

.whatsapp-trigger {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-trigger:hover {
    transform: scale(1.1);
}

.chatbot-window {
    position: fixed;
    bottom: 105px;
    right: 90px;
    width: 350px;
    height: 480px;
    background: var(--neutral-fill-hover);
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--neutral-fill-stealth-rest);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.chatbot-header {
    background-color: var(--accent-fill-rest);
    color: white;
    padding: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 0;
    max-width: 80%;
    font-size: 0.9rem;
}

.chat-bubble.bot {
    background-color: var(--neutral-fill-active);
    color: var(--neutral-foreground-rest);
    align-self: flex-start;
}

.chat-bubble.user {
    background-color: var(--accent-fill-rest);
    color: white;
    align-self: flex-end;
}

.chatbot-input {
    border-top: 1px solid var(--neutral-fill-stealth-rest);
    padding: 12px;
    display: flex;
    gap: 8px;
    background-color: var(--neutral-fill-rest);
}

.chatbot-input input {
    flex: 1;
    border: 1px solid var(--neutral-fill-stealth-rest);
    border-radius: 0;
    padding: 6px 16px;
    font-size: 0.9rem;
    outline: none;
}

.chatbot-input input:focus {
    border-color: var(--accent-fill-rest);
}

.chatbot-input button {
    border: none;
    background-color: var(--accent-fill-rest);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Premium footer */
.footer-corporate {
    background: linear-gradient(135deg, #0f172a 0%, #005ca3 100%);
    color: #ffffff;
    padding: 60px 0 30px 0;
}

.footer-corporate p,
.footer-corporate .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-corporate a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-corporate a:hover {
    color: var(--accent-fill-hover) !important;
}

/* Animations */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown Submenu hover styling for desktop and mobile */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

/* Desktop hover */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block !important;
        animation: fadeIn 0.2s ease;
    }
}

/* Mobile tap toggles */
@media (max-width: 991.98px) {
    .dropdown-submenu .dropdown-menu {
        position: static;
        margin-left: 1.5rem;
        border-left: 2px solid var(--accent-fill-rest) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    
    .dropdown-submenu.show > .dropdown-menu {
        display: block !important;
    }
}

.dropdown-submenu > .dropdown-toggle::after {
    display: inline-block;
    margin-left: auto;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
    float: right;
    margin-top: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Global sharp 0px design system override across ALL cards, panels & components */
*,
.card,
.card-detail,
.about-card,
.contact-card,
.dept-card,
.mission-pill,
.building-item,
.building-icon,
.mission-icon,
.contact-info-icon,
.premium-card,
.spec-table-container,
.arch-card,
.hero-card,
.modal-content,
.modal-header,
.form-control,
.form-select,
.btn,
.badge,
.rounded,
.rounded-1,
.rounded-2,
.rounded-3,
.rounded-4,
.rounded-circle,
.rounded-pill,
.feature-icon,
.exclusion-icon,
.card-header-icon,
.input-group,
.input-group-text,
.launch-notice-box,
.ai-philosophy-box {
    border-radius: 0 !important;
}

/* Ensure panels & cards use clean, crystal-clear website color theme (no odd blue blocks) */
.about-hero,
.contact-hero,
.services-hero {
    background: #f1f5f9 !important;
    color: #00153c !important;
    border-bottom: 1px solid #cbd5e1 !important;
    padding: 3.5rem 1.5rem !important;
}

.about-hero h1,
.contact-hero h1,
.services-hero h1 {
    color: #00153c !important;
}

.about-hero p,
.contact-hero p,
.services-hero p {
    color: #1e293b !important;
}

.ai-philosophy-box {
    background: #f8fafc !important;
    color: #00153c !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 5px solid #006cbe !important;
}

.ai-philosophy-box h5,
.ai-philosophy-box p {
    color: #00153c !important;
}

.vision-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 5px solid #006cbe !important;
}

/* Wide Layout Extension */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px !important;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1550px !important;
    }
}
