/* Custom Corporate Stylesheet - Modern Redesign */

/* Base font size for Noto Serif globally */
html {
    font-size: 100%; /* Standard base font size */
    overflow-x: hidden;
    width: 100%;
}

/* Force Noto Serif font style globally */
*, *::before, *::after {
    font-family: 'Noto Serif', serif !important;
}

body {
    font-weight: 400;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6, th, .font-heading {
    font-weight: 600;
}

/* Font Family definitions fallback classes */
.font-heading {
    font-family: 'Noto Serif', serif;
}
.font-body {
    font-family: 'Noto Serif', serif;
}

/* Navbar specific font-size reductions to compensate for the global html size boost */
#main-navbar .text-xs {
    font-size: 12px !important;
}
#top-header-bar {
    font-size: 14px !important; /* Increased from 12px for better visibility of phone/email */
}
#main-navbar .text-sm {
    font-size: 14px !important;
}
#main-navbar .text-lg {
    font-size: 18px !important;
}
#mobile-menu a, #mobile-menu button {
    font-size: 16px !important; /* Slightly increased for better mobile legibility */
}
#mobile-menu .text-\[10px\] {
    font-size: 13px !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #2563eb; /* Cobalt blue */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* Hide scrollbars for specific containers */
.scrollbar-none::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.scrollbar-none {
    -ms-overflow-style: none !important; /* IE and Edge */
    scrollbar-width: none !important; /* Firefox */
}

/* Sleek Scrollbar Indicator for horizontal swipe areas */
.sleek-scrollbar::-webkit-scrollbar {
    height: 3px;
}
.sleek-scrollbar::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}
.sleek-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1; /* slate-300 */
    border-radius: 3px;
}
.dark .sleek-scrollbar::-webkit-scrollbar-thumb {
    background: #334155; /* slate-700 */
}
.sleek-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; /* slate-400 */
}
.sleek-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

/* Nav Link Underline Hover Slide-in Effect */
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, #3b82f6, #2563eb);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Intersection Observer Animations */
.reveal-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-fade.active {
    opacity: 1;
    transform: translateY(0);
}

/* Infinite Marquee Logo Row */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: inline-flex;
    animation: marquee 40s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
}
.dark .glass-panel {
    background: rgba(11, 15, 25, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* Card Lift and Hover Accents */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.08);
}
.dark .hover-lift:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

/* Dynamic Grid Pattern Background */
.bg-grid-pattern {
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
}
.dark .bg-grid-pattern {
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
}

/* Custom Accordion Max-Height transitions */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-content.open {
    max-height: 1000px;
}

/* Accent Mesh Glow Animation */
.bg-mesh {
    background: radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.06) 0, transparent 50%),
                radial-gradient(at 100% 0%, rgba(255, 255, 255, 0.03) 0, transparent 40%),
                radial-gradient(at 50% 100%, rgba(37, 99, 235, 0.04) 0, transparent 50%);
}
.dark .bg-mesh {
    background: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.08) 0, transparent 50%),
                radial-gradient(at 100% 0%, rgba(255, 255, 255, 0.01) 0, transparent 35%),
                radial-gradient(at 50% 100%, rgba(59, 130, 246, 0.05) 0, transparent 50%);
}

/* Float Keyframe */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Neon Glow Outline */
.glow-card-hover {
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.glow-card-hover:hover {
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 0 24px rgba(37, 99, 235, 0.15);
}
.dark .glow-card-hover:hover {
    border-color: rgba(59, 130, 246, 0.2) !important;
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.1);
}

