/* ===================================
   Base CSS Setup
   =================================== */
/* ===================================
   Bootstrap-like Color Setup
   =================================== */

/* 1. Root Variables */
:root {
  /* Primary Colors */
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;

  /* Text Colors */
  --bs-body-color: #212529;
  --bs-body-bg: #fff;

  /* Shades / Gray */
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
}

/* 2. Utility Classes */
.text-primary { color: var(--bs-primary) !important; }
.text-secondary { color: var(--bs-secondary) !important; }
.text-success { color: var(--bs-success) !important; }
.text-info { color: var(--bs-info) !important; }
.text-warning { color: var(--bs-warning) !important; }
.text-danger { color: var(--bs-danger) !important; }
.text-light { color: var(--bs-light) !important; }
.text-dark { color: var(--bs-dark) !important; }

.bg-primary { background-color: var(--bs-primary) !important; }
.bg-secondary { background-color: var(--bs-secondary) !important; }
.bg-success { background-color: var(--bs-success) !important; }
.bg-info { background-color: var(--bs-info) !important; }
.bg-warning { background-color: var(--bs-warning) !important; }
.bg-danger { background-color: var(--bs-danger) !important; }
.bg-light { background-color: var(--bs-light) !important; }
.bg-dark { background-color: var(--bs-dark) !important; }


/* 1. CSS Reset / Normalize */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* You can adjust base font size */
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Remove default list styles */
ul, ol {
    list-style: none;
}

/* Remove default link styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Form elements */
input, textarea, select {
    font: inherit;
    color: inherit;
}

/* 2. Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* 5. Default Link Hover */
a:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Fix for overlapping containers */
.container {
    margin-top: 0 !important;
}


/* --- 1. News Ticker Bar Styles --- */
.news-ticker-wrap {
    overflow: hidden; 
}

.news-ticker-content {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap; 
    position: absolute; 
    animation: scroll-left 25s linear infinite; /* Adjusted speed for better looks */
    font-size: 0.85rem; /* Slightly smaller for a ticker */
}

.news-ticker-content a {
    transition: color 0.3s;
}

.news-ticker-content a:hover {
    color: #ffd700 !important; /* Brighter gold hover */
}

@keyframes scroll-left {
    0% {
        transform: translateX(0); 
    }
    100% {
        transform: translateX(-3000px); 
    }
}


/* --- 2. Social Icon Colors --- */
/* (Added 'text-linkedin' since it was included in your HTML) */
.social-icons a {
    transition: transform 0.2s;
    display: inline-block;
}
.social-icons a:hover {
    transform: translateY(-2px);
}

.social-icons .text-facebook {
    color: #1877F2 !important; 
}
.social-icons .text-facebook:hover {
    color: #0c4a9e !important; 
}

.social-icons .text-twitter {
    color: #1DA1F2 !important;
}
.social-icons .text-twitter:hover {
    color: #0d83c2 !important;
}

.social-icons .text-instagram {
    color: #E4405F !important;
}
.social-icons .text-instagram:hover {
    color: #a32c45 !important;
}

.social-icons .text-linkedin {
    color: #0A66C2 !important;
}
.social-icons .text-linkedin:hover {
    color: #06407d !important;
}


/* --- 3. Language Switcher (Google Translate Cleanup) --- */
.language-switcher .dropdown-menu {
    border: 1px solid #ccc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- 4. Main Navigation Bar Styles --- */

/* Fix white text color for toggler and links in the red bar */
.navbar-wrapper {
    margin-top: 1px; /* Small separation from the top bar */
}
.navbar-wrapper .navbar-toggler-icon,
.navbar-wrapper .navbar-nav .nav-link {
    color: white !important; 
}

/* Custom Hover and Active Effect for all main nav items */
.custom-nav-link {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
    border-radius: 0.25rem;
    transition: background-color 0.2s, color 0.2s;
    font-weight: 500;
}

/* Hover and Active State */
.custom-nav-link:hover,
.custom-nav-link.active {
    background-color: black !important; /* Black background */
    color: white !important; /* White text */
}

/* Dropdown Menu Customization */
.custom-dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    padding: 0;
}

.custom-dropdown-menu .dropdown-item {
    color: #333; /* Dark gray default text */
    transition: background-color 0.2s, color 0.2s;
}

.custom-dropdown-menu .dropdown-item:hover,
.custom-dropdown-menu .dropdown-item:focus {
    background-color: black !important;
    color: white !important;
}

    /* Carousel Banner Styling */
    .carousel-item {
      height: 600px;
      position: relative;
      color: #fff;
    }

    .carousel-item img {
      object-fit: cover;
      height: 100%;
      width: 100%;
      filter: brightness(50%);
    }

    .carousel-caption {
      bottom: 20%;
    }

    .carousel-caption h5 {
      font-size: 2.5rem;
      font-weight: bold;
    }

    .carousel-caption p {
      font-size: 1.2rem;
    }

    @media (max-width: 768px) {
      .carousel-caption h5 {
        font-size: 1.8rem;
      }
      .carousel-caption p {
        font-size: 1rem;
      }
    }

    .vertical-menu {
        padding: 1rem;
        width: 220px;
        border: 1px solid #ccc; /* Light gray border */
        border-radius: 0.5rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        background-color: #fff;
    }
    .vertical-menu .nav-link {
        color: #000;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        border-radius: 0.25rem;
    }
    .vertical-menu .nav-link i {
        color: #ff0000;
    }
    .vertical-menu .nav-link:hover,
    .vertical-menu .nav-link.active {
        color: #000;
    }
    /* Right content column styling */
    .content-column {
        border: 1px solid #ccc;
        border-radius: 0.5rem;
        padding: 10px;
        background-color: #f9f9f9;
        margin-bottom: 1rem;
        margin-right: 10px; /* add space between columns */
    }

.state-news-ticker {
    height: 300px; /* visible area */
    overflow: hidden;
    position: relative;
    border-radius: 0.5rem;
    background-color: #fff;
}

/* News list wrapper for animation */
.state-news-list {
    display: flex;
    flex-direction: column;
    animation: scroll-up 10s linear infinite;
}

/* Duplicate wrapper to enable infinite loop */
.state-news-list > .state-news-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

/* Image styling */
.state-news-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.25rem;
    margin-right: 0.75rem;
}

/* Smooth infinite scroll animation */
@keyframes scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* move half height because of duplication */
}

.verticalnewsh4{
    background-color: #ff0000;
    color: #fff;
    padding-left: 10px;
    padding-top: 5px;
}

.blog-card {
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card-body {
    padding: 0.75rem;
}

.blog-card-body h5 {
    font-size: 1rem;
    margin: 0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* News buttons for live, youtube, whatsapp*/
.news-connect-wrapper {
    display: flex;
    flex-wrap: nowrap;     /* prevent wrapping */
    column-gap: 10px;         /* remove gap between buttons */
    margin-top: 1rem;
}

/* Buttons (fit content only) */
.news-connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    border-radius: 0.6rem;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Uncommon color class names */
.btn-streamtv { background-color: #e53935; }
.btn-msgwhatsapp { background-color: #25D366; }
.btn-streamtube { background-color: #FF0000; }
.btn-tvchannel { background-color: #1e88e5; }


.adposter-box {
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.adposter-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Footer Background */
.fastestnews-footer {
    background: #111; /* deep modern black */
    color: #e9e9e9;
    font-family: "Inter", Arial, sans-serif;
    letter-spacing: 0.3px;
}

/* Footer Titles */
.fastestnews-footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    border-left: 4px solid #ff3838;
    padding-left: 8px;
}

/* Footer Links */
.fastestnews-footer-links li {
    margin-bottom: 8px;
}

.fastestnews-footer-links a {
    color: #cfcfcf;
    text-decoration: none;
    transition: 0.2s ease;
}

.fastestnews-footer-links a:hover {
    color: #ff3838;
    padding-left: 4px;
}

/* Social Icons */
.fastestnews-social-icons a {
    color: #ffffff;
    font-size: 1.3rem;
    margin-right: 14px;
    transition: 0.2s ease;
}

.fastestnews-social-icons a:hover {
    color: #ff3838;
    transform: translateY(-3px);
}

/* Divider */
.fastestnews-footer-divider {
    border-color: #444;
    margin-top: 20px;
    margin-bottom: 15px;
}