/* --- Google Fonts Import (MALLANNA) --- */
@import url('https://fonts.googleapis.com/css2?family=Mallanna&display=swap');

/* --- General Body Styles --- */
body {
    font-family: 'Mallanna', sans-serif !important;
    padding-top: 0; /* Top bar వచ్చింది కాబట్టి పాడింగ్ తీసేసాం, నావిగేషన్ చూసుకుంటుంది */
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* అన్నింటికీ మల్లన్న ఫాంట్ */
h1, h2, h3, h4, h5, h6, a, p, span, div, li, ul {
    font-family: 'Mallanna', sans-serif !important;
}

a { text-decoration: none; transition: 0.3s; }

/* --- 1. Top Header Bar (New Feature) --- */
.top-bar {
    background-color: #000060; /* Darker Navy Blue */
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar a { color: white; margin-left: 15px; }
.top-bar a:hover { color: #FF9933; }
.top-bar i { color: #FF9933; margin-right: 5px; }

/* --- 2. Navbar Styling --- */
.navbar {
    background-color: #000080 !important; /* SATA Blue */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 55px !important; /* లోగో సైజు కొంచెం పెంచాం */
    width: auto !important;
    margin-right: 12px;
}
.navbar-brand span {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.nav-link {
    color: rgba(255,255,255,0.95) !important;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 16px !important;
    text-transform: uppercase;
}
.nav-link:hover, .nav-link.active {
    color: #FF9933 !important;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

/* Mobile Toggler */
.navbar-toggler { border: 1px solid rgba(255,255,255,0.6); }

/* --- 3. Hero Slider (Big & Bold) --- */
.carousel-item { position: relative; }
.carousel-item::after {
    /* ఇమేజ్ మీద నల్లటి నీడ (Overlay) టెక్స్ట్ బాగా కనిపించడానికి */
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}
.carousel-item img {
    height: 650px !important; /* హైట్ పెంచాం */
    object-fit: cover;
    width: 100%;
}
.carousel-caption {
    bottom: 30%; /* టెక్స్ట్ కొంచెం పైకి జరిపాం */
    z-index: 10;
}
.hero-title {
    font-size: 4rem; /* చాలా పెద్ద టైటిల్ */
    font-weight: 900;
    color: #fff;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
    margin-bottom: 15px;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    background: rgba(255, 153, 51, 0.9); /* Orange background */
    color: #000;
    padding: 5px 20px;
    display: inline-block;
    border-radius: 50px;
}

/* Mobile Slider Adjustments */
@media (max-width: 768px) {
    .carousel-item img { height: 280px !important; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; padding: 3px 15px; }
    .top-bar { display: none; } /* మొబైల్ లో టాప్ బార్ హైడ్ చేయొచ్చు లేదా ఉంచొచ్చు */
}

/* --- 4. Scrolling News --- */
.news-ticker-container {
    background: #000080; border-bottom: 4px solid #FF9933;
    color: white; padding: 10px 0; overflow: hidden; position: relative;
}
.news-ticker-title {
    background: #FF9933; color: black; font-weight: bold;
    position: absolute; left: 0; top: 0; bottom: 0;
    padding: 10px 20px; z-index: 20; display: flex; align-items: center;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%); /* స్టైలిష్ కటింగ్ */
}
.news-ticker-content { display: inline-block; padding-left: 160px; animation: scrollLeft 30s linear infinite; }
.news-item { margin-right: 40px; font-size: 1.1rem; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* --- 5. Social Icons (10 Types) --- */
.social-btn {
    width: 45px; height: 45px; border-radius: 50%;
    display: inline-flex; justify-content: center; align-items: center;
    color: white !important; margin: 5px; font-size: 1.3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.social-btn:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

/* Brand Colors */
.fb { background: #3b5998; } .tw { background: #1DA1F2; } .insta { background: #E1306C; }
.yt { background: #FF0000; } .lnk { background: #0077b5; } .wa { background: #25D366; }
.tele { background: #0088cc; } .snap { background: #FFFC00; color: black !important; }
.pin { background: #E60023; } .tik { background: #000000; }

/* --- 6. Footer --- */
footer { background: #111; color: #ddd; padding-top: 60px; }
footer h5 { color: #fff; font-weight: bold; border-left: 4px solid #FF9933; padding-left: 10px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #bbb; }
.footer-links a:hover { color: #FF9933; padding-left: 5px; }

/* Preloader */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 99999; display: flex; justify-content: center; align-items: center; }
.loader-logo { width: 100px; animation: pulse 2s infinite; }
.loader-ring { width: 120px; height: 120px; border: 4px solid transparent; border-top-color: #FF9933; border-radius: 50%; position: absolute; animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.1); } }
/* NEWS SECTION STYLES */
.news-card {
    transition: all 0.3s ease;
    border: none;
    background: #fff;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}
.news-card img {
    transition: transform 0.5s ease;
}
.news-card:hover img {
    transform: scale(1.05);
}
.news-date {
    font-size: 0.85rem;
    color: #888;
}