/* ========Marquee CSS========== */

/* ============================================= */
/* 4. TRENDING SECTION                           */
/* ============================================= */
.main-content {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.trending-container {
  margin-top: 35px;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}
.trending-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.t-box {
  position: relative;
  flex: 1;
  min-height: 100px;
  height: 100%;
  display: block;
  padding: 10px 10px 25px 12px;
  color: white !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  overflow: hidden;
  box-sizing: border-box;
}

.t-box:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.t-time {
  position: absolute;
  right: 5px;
  bottom: 5px;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 10px;
}

/* ============================================= */
/* 4. MAIN GRID & ORDER LOGIC (FIXED TABLET)     */
/* ============================================= */
.main-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}


/* Desktop View */
@media (min-width: 1025px) {

  .main-grid .box {
        width: calc(33.33% - 10px);
        flex: none;
    }
  
}

/* Tablet View (FIXED: Admit Card Left, Latest Job Right, Result Bottom) */
@media (min-width: 769px) and (max-width: 1024px) {
  
}

/* Mobile View */

/* Common Box Styling */
.box {
  flex: 1 1 300px;
  min-width: 0;
  border: 1px solid #008080;
  background: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  margin-bottom: 10px;
}
.box-header {
  color: white;
  background-color: #008080;
  text-align: center;
  padding: 8px;
  font-weight: bold;
  font-size: 20px;
}

.box-header a{
  color: white;
  text-decoration: none;

}
.box-item {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
}
.box-item a {
  display: block;
  text-decoration: none;
  color: #008080;
  font-weight: bold;
  font-size: 15px;
}

.box-item a .jobTitle {
color: #008080;
font-weight: 700;
margin-bottom: 5px;
}

.badgeDate{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badgeDate span{
  color: red;
  font-size: 10px;
  font-weight: bold;
}



.view-more {
  margin-top: auto;
  display: block;
  text-align: right;
  padding: 8px;
  background: #f1f1f1;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Trending Colors */
.t-red {
  background-color: #6dc0f1;
}
.t-blue {
  background-color: #abc4ff;
}
.t-green {
  background-color: #cac7ff;
}
.t-orange {
  background-color: #ff8fab;
}
.t-purple {
  background-color: #92ba92;
}
.t-teal {
  background-color: #bc5090;
}
.t-brown {
  background-color: #809bce;
}
.t-darkblue {
  background-color: #43b0f1;
}


/* ====== Social Icons ======== */

.social-join-section {
  text-align: center;
  padding: 10px 15px;
  background: #ffffff; /* Clean White Background */
  width: 100%;
  margin-top: 5px;
  min-height: 130px;
  contain: layout style;
  display: block;
}

.join-title {
  font-size: 14px;
  font-weight: 800;
  color: #333;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 24px;
}

.social-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* Mobile par buttons niche aa jayenge */
  padding: 0 10px;
  min-height: 50px;
  contain: layout style;
}

.social-btn {
  text-decoration: none;
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px; /* Capsule Shape */
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Brand Colors */
.whatsapp {
  background-color: #25d366;
}
.telegram {
  background-color: #0088cc;
}
.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.social-btn:hover {
  transform: translateY(-3px); /* Hover par thoda upar uthega */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  color: white;
}

/* Mobile Fix */

@media (max-width: 480px) {
  .social-join-section {
    min-height: 150px;  
    display: block; 
  }
  .social-flex {
    min-height: 80px;           /* ✅ 2 rows ke liye extra height */
  }
  .social-btn {
    font-size: 11px;
    padding: 6px 12px;
    flex: 1 1 auto;
    justify-content: center;
  }
  .join-title {
    font-size: 12px;
  }
}


/* =========Home Page About Govt Exam Study========= */

.home-intro-footer {
  background-color: #fcfcfc;
  padding: 40px 15px;
  border-top: 1px solid #eee;
  margin-top: 30px;
}

.intro-box {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.intro-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15px;
  margin-bottom: 20px;
}



.intro-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: #000080;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.2;
}

.intro-header svg {
    transition: transform 0.3s ease;
}

.intro-header:hover svg {
    transform: scale(1.1); /* Hover par halka sa bada hoga, cool lagega */
}

.intro-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  flex-wrap: wrap;
}

/* mocktest button */

.home-hero-cta {
        text-align: center;
        padding: 20px 10px;
        background: none; /* Very light teal tint for background */
        border-bottom: 2px solid #e0eeee;
        margin-bottom: 5px;
        min-height: 200px;
    }
    .hero-text {
        font-size: 15px;
        color: #2c3e50; /* Deep blue-grey for readability */
        margin-bottom: 15px;
        font-weight: 500;
        line-height: 1.5;
    }
    .hero-btn {
        display: inline-block;
        background-color: #008080; /* Perfect match with your site */
        color: white !important;
        padding: 12px 28px;
        border-radius: 5px; /* Clean rectangular look with slight curve */
        text-decoration: none !important;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        transition: all 0.3s ease;
        border: none;
        box-shadow: 0 2px 5px rgba(0, 128, 128, 0.2);
    }
    /* Hover effect: Only color change, no blinking */
    .hero-btn:hover {
        background-color: #006666; /* Slightly darker teal */
        box-shadow: 0 4px 8px rgba(0, 128, 128, 0.3);
        transform: translateY(-1px); /* Very subtle lift */
    }

    /* Sirf Heading aur uske SVG ke liye mobile adjustment */
@media (max-width: 600px) {
    .intro-header {
        display: flex;
        flex-direction: column; /* SVG ko H2 ke upar le jayega */
        align-items: center;    /* Dono ko center mein rakhega */
        gap: 10px;              /* SVG aur Text ke beech thoda gap */
        text-align: center;     /* Heading text ko center karega */
    }

    .intro-header svg {
        margin-bottom: 5px;     /* Thoda extra space niche */
    }

    /* Agar badges ko side-by-side hi rakhna hai toh ye line mat chhedna */
    .trust-badges {
        justify-content: center;
        flex-wrap: nowrap;      /* Mobile par bhi badges ek hi line mein rahenge */
    }
}

    /* ========= SEO Section Based on Your Theme ========= */

.home-seo-article {
    background-color: #fcfcfc; /* Match with your intro footer */
    padding: 50px 0;
    border-top: 1px solid #eee;
}

.seo-main-title {
    font-size: 24px;
    font-weight: 800;
    color: #000080; /* Your Navy Blue */
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.seo-intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}

/* Grid like your main-grid */
.seo-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background: #fff;
    border: 1px solid #008080; /* Your Teal Border */
    border-radius: 5px;
    overflow: hidden;
    transition: 0.3s;
}

.info-card:hover {
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.1);
}

.info-card-header {
    background: #008080; /* Your Teal Background */
    color: white;
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.info-card-body {
    padding: 15px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.trust-footer-note {
    background: #fff;
    padding: 25px;
    border-radius: 5px;
    border-left: 5px solid #000080; /* Navy accent */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.trust-footer-note h3 {
    color: #000080;
    font-size: 18px;
    margin-bottom: 10px;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .seo-main-title {
        font-size: 20px;
    }
    .seo-info-grid {
        grid-template-columns: 1fr;
    }
}

.hindi-alert {
    background: #fff4e5;
    color: #664d03;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    border-left: 4px solid #ffc107;
}

.new-badge {
    background: #ff0000;
    color: white;
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 4px;
    margin-right: 5px;
    vertical-align: middle;
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

/* Mobile par title thoda chota */
@media (max-width: 600px) {
    .hero-title { font-size: 18px !important; }
    .hindi-alert { font-size: 12px; }
}


.faq-main-container {
        max-width: 1200px;
        margin: 30px auto;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .faq-box {
        border: 1px solid #008080; /* Your Teal Border */
        background: #fff;
        border-radius: 5px;
        overflow: hidden;
    }

    .faq-header {
        color: white;
        background-color: #000080; /* Your Navy Blue for FAQ Header */
        text-align: center;
        padding: 12px;
        font-weight: 800;
        font-size: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .faq-content {
        display: flex;
        flex-direction: column;
    }

    .faq-item {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        transition: background 0.3s ease;
    }

    .faq-item:last-child {
        border-bottom: none;
    }

    .faq-item:hover {
        background-color: #f9fdfd; /* Very light teal tint */
    }

    .faq-question {
        display: block;
        color: #008080; /* Your Teal Color */
        font-weight: 800;
        font-size: 17px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .faq-answer {
        font-size: 15px;
        color: #444;
        line-height: 1.6;
        margin: 0;
    }

    .faq-answer b {
        color: #000;
        font-weight: 700;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .faq-header {
            font-size: 18px;
            padding: 10px;
        }
        .faq-question {
            font-size: 15px;
        }
        .faq-answer {
            font-size: 14px;
        }
        .faq-main-container {
            margin: 20px auto;
        }
    }

  
/* Mobile Responsive Fix */
@media (max-width: 600px) {
    .hero-btns-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .hero-btn-pro {
        margin-left: 0;
        width: 100%; /* Mobile par full width */
        justify-content: center;
    }
    .hero-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
  .navbar a {
    padding: 12px 15px;
    font-size: 14px;
  }
  .main-grid {
    display: flex;
    flex-wrap: wrap;   /* column hata */
    gap: 10px;
  }
  
  .box {
    min-width: 100%;
    margin: 0 0 15px 0;
  }
  .trending-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .t-box {
    min-height: 75px;
    font-size: 12px;
  }
 .social-join-section { min-height: 150px; }
 .hero-btns-group { display: flex; flex-direction: column; gap: 12px; }
}
