/* S. RAJAN ASSOCIATES - ELITE CORPORATE IDENTITY 
    Theme: Modern Executive (Oxford Blue & Metallic Gold)
    Design: Glassmorphism & Interactive Motion
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary: #002147;           /* Oxford Blue */
    --primary-light: #003366;
    --accent: #c5a059;            /* Deep Gold */
    --gold-gradient: linear-gradient(135deg, #c5a059 0%, #f1d592 50%, #b38f4d 100%);
    
    /* System Colors */
    --bg-page: #f8fafc;           /* Anti-Flash White */
    --white: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    
    /* Animation Constants */
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --glass: rgba(255, 255, 255, 0.85);
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none !important;
    list-style: none;
    outline: none;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-page);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

/* --- 1. Frosted Glass Navigation --- */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 33, 71, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-identity { display: flex; align-items: center; gap: 12px; }

.logo-box { 
    background: var(--primary); 
    color: var(--accent); 
    padding: 8px 14px; 
    border-radius: 10px; 
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.brand-text { font-weight: 800; font-size: 1.25rem; color: var(--primary); letter-spacing: -0.5px; }
.brand-text span { color: var(--accent); }

.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a { 
    color: var(--primary); 
    font-weight: 700; 
    font-size: 0.9rem; 
    transition: 0.3s; 
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-gradient);
    transition: 0.3s;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }

/* --- 2. Live News Ticker --- */
.ticker-wrapper {
    display: flex;
    align-items: center;
    background: var(--primary);
    height: 42px;
    position: sticky;
    top: 78px;
    z-index: 998;
    border-bottom: 2px solid var(--accent);
}

.ticker-label {
    background: var(--gold-gradient);
    color: var(--primary);
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    box-shadow: 10px 0 20px rgba(0,0,0,0.2);
    z-index: 2;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: scrollTicker 35s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
    color: var(--white);
    padding: 0 45px;
    font-size: 0.85rem;
    font-weight: 600;
}

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- 3. Dynamic Hero Section --- */
.hero-v2 {
    height: 95vh;
    background: linear-gradient(rgba(0,33,71,0.85), rgba(0,33,71,0.85)), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070');
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-v2 h1 { 
    font-size: clamp(2.8rem, 7vw, 5rem); 
    font-weight: 800; 
    line-height: 1.1;
    margin-bottom: 20px;
}

.btn-gold-glow {
    background: var(--gold-gradient);
    color: var(--primary);
    padding: 18px 45px;
    border-radius: 60px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.4);
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-gold-glow:hover { 
    transform: translateY(-5px) scale(1.02); 
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.6); 
    color: var(--primary);
}

/* --- 4. Hyper-Interactive Glass Cards --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 100px 0;
}

.glass-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 15px 45px rgba(0,33,71,0.03);
    border: 1px solid rgba(0, 33, 71, 0.05);
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-20px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 45px 90px rgba(0,33,71,0.12);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 6px;
    background: var(--gold-gradient);
    transition: 0.5s ease;
}

.glass-card:hover::before { width: 100%; }

.glass-card i { 
    font-size: 3.5rem; 
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px; 
    display: block; 
}

.glass-card h3 { 
    font-size: 1.6rem; 
    color: var(--primary); 
    margin-bottom: 18px; 
    font-weight: 800; 
}

.glass-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- 5. Article & Progress Bar --- */
#read-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background: var(--gold-gradient);
    z-index: 10001;
    transition: width 0.1s ease;
}

/* --- 6. Mobile Logic --- */
.burger-menu { 
    display: none; 
    cursor: pointer; 
    flex-direction: column; 
    gap: 6px; 
}

.burger-menu span { 
    width: 30px; 
    height: 3px; 
    background: var(--primary); 
    transition: 0.4s; 
    border-radius: 5px;
}

@media (max-width: 992px) {
    .burger-menu { display: flex; }
    .nav-links { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: var(--white); 
        flex-direction: column; 
        padding: 50px 0; 
        gap: 25px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .hero-v2 h1 { font-size: 3rem; }
}

/* --- 7. Animation Helpers --- */
[data-aos] {
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}