/* ============================================
   PM SECURITY - Premium Design System
   Inspired by enterprise patterns (HashiCorp, Stripe, Vercel)
   ============================================ */

:root {
    --color-brand-base: #f6f8fb;
    --color-brand-surface: #e9eef6;
    --color-brand-navy: #0b2d56;
    --color-brand-navy-90: #0b2d56e6;
    --color-brand-navy-dark: #071b36;
    --color-brand-accent: #c80d2c;
    --color-brand-accent-90: #c80d2ce6;
    --color-brand-accent-dark: #a30b23;
    --color-text-primary: #1e293b;
    --color-text-secondary: #475569;
    --color-text-muted: #94a3b8;
    --shadow-whisper: 0 1px 3px rgba(11,45,86,0.04), 0 4px 12px rgba(11,45,86,0.03);
    --shadow-card: 0 0 0 1px rgba(11,45,86,0.06), 0 4px 16px rgba(11,45,86,0.06);
    --shadow-card-hover: 0 0 0 1px rgba(200,13,44,0.15), 0 8px 30px rgba(11,45,86,0.1);
    --shadow-elevated: 0 0 0 1px rgba(11,45,86,0.08), 0 12px 40px rgba(11,45,86,0.12), 0 2px 6px rgba(11,45,86,0.04);
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-brand-base);
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.03em;
    color: var(--color-brand-navy);
    line-height: 1.18;
}
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3, h4 { font-weight: 700; }

/* ── Utility Classes ── */
.text-brand-accent { color: var(--color-brand-accent); }
.text-brand-navy { color: var(--color-brand-navy); }
.bg-brand-surface { background-color: var(--color-brand-surface); }
.bg-brand-navy { background-color: var(--color-brand-navy); color: white; }
.bg-brand-accent { background-color: var(--color-brand-accent); color: white; }

/* ── Section Labels (uppercase markers) ── */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand-accent);
}

/* ── Buttons ── */
.btn-primary {
    background-color: var(--color-brand-navy);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(11,45,86,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-primary:hover {
    background-color: var(--color-brand-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200,13,44,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background-color: transparent;
    color: var(--color-brand-accent);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--color-brand-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.btn-secondary:hover {
    background-color: var(--color-brand-accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200,13,44,0.2);
}

/* ── Cards (enterprise whisper-shadow approach) ── */
.card {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
    border: none;
}
.card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.card-dark {
    background: var(--color-brand-navy);
    border-radius: var(--radius-md);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 12px 40px rgba(0,0,0,0.2);
    color: white;
}

/* ── Navigation ── */
.nav-bar {
    position: fixed;
    width: 100%;
    z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11,45,86,0.06);
    box-shadow: 0 1px 3px rgba(11,45,86,0.04);
    transition: box-shadow var(--transition-normal);
}
.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 0.375rem 0;
    position: relative;
    transition: color var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
    color: var(--color-brand-accent);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-brand-accent);
    transition: width var(--transition-normal);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* ── Mobile Menu ── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 60;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-brand-navy);
    border-radius: 2px;
    transition: all var(--transition-fast);
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 100px 32px 40px;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}
.mobile-menu.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-brand-navy);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid rgba(11,45,86,0.06);
    transition: color var(--transition-fast);
}
.mobile-menu a:hover { color: var(--color-brand-accent); }
.mobile-menu .btn-primary { margin-top: 16px; text-align: center; justify-content: center; }

@media (max-width: 1023px) {
    .desktop-nav { display: none !important; }
    .mobile-menu-btn { display: flex; }
}

/* ── Hero Section ── */
.hero-parallax {
    background-image:
        linear-gradient(to right, rgba(7,27,54,0.97) 0%, rgba(11,45,86,0.88) 40%, rgba(11,45,86,0.65) 100%),
        linear-gradient(135deg, #0b2d56 0%, #163d6e 50%, #0b1121 100%);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media (max-width: 768px) {
    .hero-parallax { background-attachment: scroll; }
}

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }

/* Staggered children animation */
.stagger-children > *:nth-child(1) { animation-delay: 0ms; }
.stagger-children > *:nth-child(2) { animation-delay: 100ms; }
.stagger-children > *:nth-child(3) { animation-delay: 200ms; }
.stagger-children > *:nth-child(4) { animation-delay: 300ms; }
.stagger-children > *:nth-child(5) { animation-delay: 400ms; }

/* ── Client Logo Slider ── */
.logo-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 1.5rem 0;
}
.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.logo-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: logo-scroll 38s linear infinite;
}
.logo-slide {
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-whisper);
    border: 1px solid rgba(11, 45, 86, 0.06);
    transition: box-shadow var(--transition-fast);
}
.logo-slide:hover {
    box-shadow: var(--shadow-card);
}
.logo-slide img {
    max-height: 56px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.15) brightness(0.97);
    transition: filter var(--transition-fast);
}
.logo-slide:hover img {
    filter: grayscale(0) brightness(1);
}
@keyframes logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Text Ticker ── */
@keyframes text-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 4)); }
}
.text-ticker-track {
    animation: text-scroll 30s linear infinite;
    display: flex;
    width: calc(250px * 8);
}
.text-ticker-item {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Footer ── */
.footer {
    background-color: var(--color-brand-navy-dark);
    color: rgba(255,255,255,0.6);
}
.footer a {
    transition: color var(--transition-fast);
}
.footer a:hover {
    color: white;
}
.footer-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-heading::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-brand-accent);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── Focus States (accessibility) ── */
*:focus-visible {
    outline: 3px solid var(--color-brand-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ── Selection ── */
::selection {
    background: rgba(200, 13, 44, 0.15);
    color: var(--color-brand-navy);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-brand-base); }
::-webkit-scrollbar-thumb { background: rgba(11,45,86,0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(11,45,86,0.35); }




nav h4 {
    margin-bottom: 4px;
}

nav h6, footer h6{
    letter-spacing: 4px !important;
}

/* Primary Button (Request Proposal) */
.btn-primary {
    background-color: #135BCC;
    color: #ffffff;
    border: 2px solid #135BCC;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: none !important; /* remove glow */
}

/* Hover */
.btn-primary:hover {
    background-color: #0f4bb0;
    color: #ffffff;
    border-color: #0f4bb0;
    transform: translateY(-2px);
}


/* Outline Button (Submit Tender Inquiry) */
a.border-\[rgba\(255\,255\,255\,0\.3\)\] {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Hover */
a.border-\[rgba\(255\,255\,255\,0\.3\)\]:hover {
    background-color: #ffffff;
    color: #0b1c3f;
    border-color: #ffffff;
    transform: translateY(-2px);
}


/* Remove unwanted effects from Tailwind utilities */
.shadow-\[0_0_20px_rgba\(212\,175\,55\,0\.4\)\] {
    box-shadow: none !important;
}

.backdrop-blur-sm {
    backdrop-filter: none !important;
}

.sec-inner-banner {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    background-image: url(https://www.thirumal.co.in/assets/img/gallery/7-1.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}
.sec-inner-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 45, 86, 0.6);  
}
.sec-inner-banner .inner-banner-content {
    position: relative;
    color: white;
    text-align: center;
    z-index: 1;
}
.sec-inner-banner .inner-banner-content h1, .sec-inner-banner .inner-banner-content p {
    color: #ffffff !important;
}
.sec-inner-banner .inner-banner-content p {
    width: 70%;
    margin: 20px auto;
}