/*
Theme Name: PrepCampusPlus Child
Theme URI: https://prepcampusplus.com
Author: PrepCampusPlus
Template: astra
Version: 1.0
*/

/* =======================================================
   PREPCAMPUSPLUS GLOBAL HEADER
======================================================= */
#pcp-header {
  width: 100%;
  position: relative;
  z-index: 9999;
}

/* TOP NAV */
.pcp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e0ebfa;
  padding: 12px 24px;
}

.pcp-nav-left {
  display: flex;
  align-items: center;
}

.pcp-logo {
  height: 55px;
}

/* SEARCH */
.pcp-search {
  flex: 1;
  display: flex;
  justify-content: center;
}

.pcp-search input {
  width: 55%;
  max-width: 600px;
  padding: 10px 16px;
  border-radius: 25px;
  border: none;
  outline: none;
  background: #fff;
}

.pcp-search button {
  margin-left: -40px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 18px;
}

/* HAMBURGER */
.pcp-hamburger {
  font-size: 26px;
  display: none;
  cursor: pointer;
}

/* MAIN MENU */
.pcp-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  padding-top: 10px;
}

.pcp-menu li a {
  font-size: 17px;
  font-weight: 600;
  color: black;
  text-decoration: none;
}

.pcp-menu li a:hover {
  color: #7a3bff;
}

/* PROFILE DROPDOWN */
.pcp-profile {
  position: relative;
}

.pcp-dropdown {
  display: none;
  position: absolute;
  background: white;
  right: 0;
  top: 32px;
  width: 210px;
  border-radius: 10px;
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 99999;
  list-style: none;
}

.pcp-profile:hover .pcp-dropdown {
  display: block;
}

.pcp-dropdown li a {
  display: block;
  padding: 8px 14px;
  color: #000;
}

.pcp-dropdown li a:hover {
  background: #f5f5f5;
}

.pcp-caret {
  font-size: 12px;
  margin-left: 4px;
}



/* =========================================================
   INTERVIEW DROPDOWN – FINAL SAFE VERSION (NO CONFLICT)
========================================================= */

/* 👉 ONLY interview li relative (NOT all li) */
#pcp-menu > li:has(#pcp-interview-dropdown) {
  position: relative;
}

/* Dropdown box */
#pcp-interview-dropdown {
  position: absolute;
  top: calc(100% + 4px); /* no visible gap */
  left: 50%;
  transform: translateX(-50%);

  min-width: 300px;
  max-width: 340px;

  background: #ffffff;
  padding: 14px 16px;
  border-radius: 14px;

  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
  display: none;
  z-index: 99999;
  max-height: 70vh;
  overflow-y: auto;
}

/* Hover open (desktop) */
#pcp-menu > li:hover > #pcp-interview-dropdown {
  display: block;
}

/* Hover bridge ONLY for interview */
#pcp-menu > li:has(#pcp-interview-dropdown)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}

/* Category heading */
#pcp-interview-dropdown > div {
  font-size: 13px;
  font-weight: 600;
  color: #777;
  margin: 10px 0 6px;
}

#pcp-interview-dropdown > div:first-child {
  margin-top: 0;
}

/* Links */
#pcp-interview-dropdown a {
  display: block;
  padding: 7px 10px;
  margin: 2px 0;

  font-size: 14px;
  font-weight: 500;
  color: #1f2937;

  text-decoration: none;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}

#pcp-interview-dropdown a:hover {
  background: #eef2ff;
  color: #4f46e5;
}

/* ---------------- MOBILE SAFETY ---------------- */
@media (max-width: 900px) {
  #pcp-interview-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 10px 0;
  }

  #pcp-menu > li:hover > #pcp-interview-dropdown {
    display: none;
  }
}



/* COLOR PICKER */
.pcp-colors {
    display: flex;
    align-items: center;
    gap: 10px;          /* sabke beech spacing */
    flex-wrap: nowrap; /* same line force */
}

/* Color dots */
.pcp-colors .c {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #ddd;
}

/* Gradient color picker */
.color-picker-wrap {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #ff007a 0%,
        #ffdd00 50%,
        #00e5ff 100%
    );
    cursor: pointer;
    position: relative;
    flex-shrink: 0; /* size compress na ho */
}

/* Hidden native input */
.color-picker-wrap input[type="color"] {
    opacity: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    cursor: pointer;
}


/* =======================================================
   SECOND NAV (TOPICS BAR)
======================================================= */
.pcp-second-nav {
  background: #9b42f5;
  padding: 8px 0;
  overflow-x: auto;
  white-space: nowrap;
}

.pcp-second-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
}

/* Mobile topics button (hidden on desktop) */
.pcp-topics-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 20px;
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.pcp-topics-btn i {
  font-size: 14px;
}

.pcp-second-nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.pcp-second-nav a {
  color: white;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
}

.pcp-second-nav a:hover {
  opacity: 0.7;
}
/* =======================================================
   MOBILE HEADER
======================================================= */
@media (max-width: 900px) {
    .pcp-hamburger {
        display: block;
      }
  .pcp-menu {
    position: absolute;
    top: 70px;
    right: 10px;
    background: white;
    flex-direction: column;
    padding: 20px;
    width: 230px;
    display: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    z-index: 999999;
  }

  .pcp-menu.active {
    display: flex;
  }

  .pcp-second-inner {
    padding: 0 12px;
  }

  .pcp-second-nav ul {
    gap: 20px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {

  .pcp-search {
    display: none;
  }
  .pcp-topics-btn {
    display: inline-flex;
  }
}

/* ------------------------------------
   MOBILE & DESKTOP SEARCH SYSTEM
------------------------------------ */

/* Desktop search visible, mobile hidden */
.pcp-search {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative; /* Needed for absolute search icon */
}

/* Search input alignment fix */
.pcp-search input {
    width: 55%;
    max-width: 500px;
    padding: 10px 16px;
    border-radius: 25px;
    border: none;
    background: #fff;
    outline: none;
}

/* DESKTOP SEARCH ICON FIX */
.pcp-search button {
    position: absolute;
    right: calc(30% - 10px);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    color: #444;
}

/* Prevent overlap on very large screens */
@media (min-width: 1600px) {
    .pcp-search button {
        right: calc(450px - 10px); /* Because max-width of input is 500px */
    }
}

/* MOBILE SEARCH ICON BUTTON (beside hamburger) */
.pcp-mobile-search-btn {
    display: none;
    font-size: 22px;
    margin-left: 60%;
    cursor: pointer;
}

/* MOBILE SEARCH BOX (Slide Down) */
.pcp-mobile-search-box {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 12px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 9999;
}

.pcp-mobile-search-box input {
    width: 80%;
    padding: 10px 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
}

.pcp-mobile-search-box button {
    padding: 10px;
    background: none;
    border: none;
    font-size: 20px;
}

/* SHOW ONLY ON MOBILE */
@media (max-width: 900px) {
    .pcp-search { display: none !important; }
    .pcp-mobile-search-btn { display: block !important; }

    /* Mobile search icon must NOT be absolute */
    .pcp-search button {
        position: static;
        transform: none;
    }
}

/* =====================================================================
   YOUTUBE PROMO SECTION
   ===================================================================== */

/* Desktop Layout */
.youtube-banner-layout {
    width: 38%;
    border-radius: 5px;
    height: 250px;
}

.youtube-promo-section {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border: 2px solid #ff5757;
    border-radius: 10px;
    max-width: 80%;
    margin: auto;
}

.carousel-container {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    margin-left: -50px;
    margin-right: 100px;
    height: 260px;
    margin-top: 50px;
}

.youtube-header-section {
    margin-bottom: 20px;
    margin-top: -40px;
    background-color: #fff;
    display: block;
    width: 210px;
    margin-left: 40%;
}

#subscribe-btn {
    background-color: #e1002d;
    width: 150px;
}

/* Tablet & Mobile Responsive */
@media (max-width: 768px) {
    .youtube-promo-section {
        max-width: 100%;
        border: none;
        padding: 10px;
        margin: auto;
    }

    .youtube-header-section {
        width: auto;
        margin: 0 auto;
        text-align: center;
    }

    .carousel-container {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        gap: 10px;
        height: auto;
    }

    .youtube-banner-layout {
        width: 100%;
        height: auto;
    }

    #subscribe-btn {
        width: 87%;
        margin: 10px auto;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .youtube-header-section,
    #subscribe-btn {
        margin-left: 0;
        text-align: center;
    }

    .youtube-banner-layout {
        width: 100%;
        height: auto;
    }
}


/* =====================================================================
   MOCK INTERVIEW BANNER (SECTION 2)
   ===================================================================== */

.banner-2 {
    color: #222;
    padding: 20px 80px;
    background: #e0ebfa;
}

.mock-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

/* Registration Block */
.registration {
    width: 30%;
    text-align: left;
}

.registration h2 { font-size: 2rem; font-weight: bold;}
.registration h4 {     margin-bottom: 15px; font-size: 15px; font-weight: bold;}
.registration p { font-size: 1.1rem; margin: 14px 0; }

/* CTA Button */
.btn {
    display: inline-block;
    color: white;
    font-size: 1.2rem;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    box-shadow: 0 10px 15px rgba(0, 123, 255, 0.4);
    transform: translateY(-3px);
}

/* Timeline Section */
.how-it-works {
    width: 60%;
}

.how-it-works h2 { font-size: 2rem; }
.subtitle { font-size: 1.1rem; margin: 8px 0 30px 0; }

.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.timeline p {
    margin: 8px 0 0 0;
    font-size: 14px;
}

/* Line in center */
.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background: #34495e;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Boxes */
.timeline-item {
    position: relative;
    width: 45%;
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.timeline-item.left { left: 30px; }
.timeline-item.right { left: 50%; }

/* Icons */
.timeline-item .icon {
    position: absolute;
    top: 0%;
    left: 0%;
    background: #fff;
    color: #4CAF50;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 2rem;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    z-index: 9;
}

.timeline-item.left .icon { left: 100%; }

/* Responsive Timeline */
@media (max-width: 992px) {
    .banner-2 { padding: 20px; }

    .mock-container { flex-direction: column; text-align: center; }
    .registration, .how-it-works { width: 100%; margin-bottom: 40px; }

    .timeline::after { left: 20px; }

    .timeline-item {
        width: 90%;
        left: 0 !important;
        padding-left: 60px;
        text-align: left;
    }

    .timeline-item .icon { left: 20px; }
    .timeline-item.left .icon { left: 5%; }
}


/* =====================================================================
   HERO BANNER SECTION
   ===================================================================== */

.image-container {
    position: relative;
    width: 320px;
    height: 420px;
}

/* Main Hero Image */
.img-1 {
    width: 300px;
    height: 400px;
    border-radius: 15px;
    position: absolute;
    right: 0;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.3);
}

/* Overlays */
.img-2 {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    position: absolute;
    left: -50%;
    top: 40%;
    transform: translateY(-50%);
    box-shadow: 0px 5px 20px rgba(0,0,0,0.2);
}

.img-3 {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    position: absolute;
    left: -10%;
    top: 60%;
    transform: translateY(-50%);
    box-shadow: 0px 5px 20px rgba(0,0,0,0.2);
}

.image-container img:hover {
    transform: scale(1.05);
    transition: 0.3s ease-in-out;
}

/* Banner Layout */
.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 55px 80px 0;
    background: #e0ebfa;
    min-height: 85vh;
    position: relative;
    color: white;
    top: -50px;
}

/* Banner Content */
.banner-content {
    max-width: 480px;
    z-index: 2;
}

.banner-content h3 {
    font-size: 18px;
    color: #555;
    font-weight: bold;
    animation: fadeIn 1.5s ease-in-out;
}

.banner-content h1 {
    font-size: 42px;
    color: #34495e;
    font-weight: bold;
    margin-top: 10px;
    white-space: nowrap;
    border-right: 3px solid #222;
    width: 0;
    overflow: hidden;
    animation: typing 2s steps(15, end) forwards;
}

.banner-content p {
    font-size: 18px;
    color: #444;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Banner Search Bar */
.search-bar {
    margin-top: 20px;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 16px;
}

.search-bar button {
    padding: 12px 16px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    color: #fff;
}

/* CTA */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: #34495e;
    color: white;
    font-size: 16px;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.cta-button:hover {
    box-shadow: 0 10px 15px rgba(0, 123, 255, 0.4);
    transform: translateY(-3px);
}

/* Keyframes */
@keyframes fadeIn { from {opacity:0; transform:translateY(-10px);} to {opacity:1; transform:translateY(0);} }
@keyframes typing { from {width:0;} to {width:100%;} }

/* Hero Responsive */
@media (max-width: 768px) {
    .image-container { width: 250px; height: 350px; top: 30px; }
    
    .img-1 { width: 250px; height: 350px; }
    .img-2 { width: 110px; height: 110px; left: -10%; }
    .img-3 { width: 90px; height: 90px; left: 0; }

    .banner { flex-direction: column; padding: 100px 20px; }
    .banner-content h1 { font-size: 38px; }
}

@media (max-width: 992px) {
    .banner { padding: 100px 20px; }
    .banner-content { max-width: 100%; }
}


/* =====================================================================
   COURSE SECTION
   ===================================================================== */

.course-title {
    font-size: 22px;
    color: #333;
    margin: 10px 0 0 80px;
}

.course-line {
    width: 125px;
    height: 2px;
    background-color: #6a7426;
    border: none;
    margin: 10px 0 20px 80px;
}

.course-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 40px 40px 80px;
    width: 95%;
}

.course-card {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.course-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.course-card img {
    display: block;
    margin: 0 auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #eaf4fc;
    padding: 5px;
}

.course-card p {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

#tutorials { padding: 50px 0 0 40px; margin: 0; }
#tutorials-des {
    padding-left: 40px;
    font-style: italic;
    font-family: ui-rounded;
    font-size: 20px;
    margin: 0 0 40px 0;
}

/* Course Mobile */
@media (max-width: 768px) {
    .course-container { gap: 20px; margin: 40px 10px 40px 15px; }

    .course-title { margin-left: 20px; }
    .course-line { margin-left: 20px; }
}


/* ------------------------------------
   POST PAGE LAYOUT (DESKTOP - % Based)
------------------------------------ */
.pcp-post-wrapper {
    width: 100% !important;
    margin: auto;
    padding: 10px;
    display: grid;
    grid-template-columns: 20% 57% 21%; /* PERFECT 3-COLUMN % LAYOUT */
    gap:10px;
}

/* LEFT */
.pcp-left {
    background: #e0ebfa;
    padding: 20px 0px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 1500px;
    overflow-y: auto;
}

/* MAIN */
.pcp-main {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    word-break: break-word;
    height: 1500px;
    overflow-y: auto;
}

/* RIGHT */
.pcp-right {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 1500px;
    overflow-y: auto;
}

/* ---------- TABLET FIX ---------- */
@media (max-width: 1100px) {
    .pcp-post-wrapper {
        grid-template-columns: 25% 70%; /* ONLY LEFT + MAIN VISIBLE */
    }

    .pcp-right {
        grid-column: span 2; /* FULL WIDTH UNDER MAIN */
        margin-top: 20px;
    }
}


/* ---------- MOBILE FIX ---------- */
@media (max-width: 768px) {
    .pcp-post-wrapper {
        display: block;
        padding: 10px;
    }

    .pcp-left,
    .pcp-main,
    .pcp-right {
        width: 100%;
        margin-bottom: 20px;
    }
    .pcp-left {
        display: none;
    }
    .pcp-right {
        display: none;
    }

    .pcp-left.pcp-sidebar-open {
        display: block !important;
        position: fixed;
        top: 120px;
        left: 0;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 120px);
        overflow-y: auto;
        z-index: 99999;
        box-shadow: 2px 0 15px rgba(0,0,0,0.25);
        padding: 20px;
    }
    
    /* BODY SCROLL LOCK जब drawer open हो */
    body.pcp-sidebar-overlay-active {
        overflow: hidden;
    }
        
}


/* === Sidebar Box === */
#course-left-topics {
    width: 100%;
    background: #e0ebfa;
    padding: 12px 15px;
    font-family: "Inter", sans-serif;

    /* Start: sidebar normal flow */
    position: relative;
    max-height: none;
    overflow: visible;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* When post ends → sidebar independent scroll */
#course-left-topics.sidebar-stick {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* Scrollbar look better */
#course-left-topics.sidebar-stick::-webkit-scrollbar {
    width: 6px;
}
#course-left-topics.sidebar-stick::-webkit-scrollbar-thumb {
    background: #c6c6c6;
    border-radius: 20px;
}

/* === Links === */
#course-left-topics > a {
    display: block;
    padding: 5px 10px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    border-radius: 6px;
    transition: 0.25s;
}
#course-left-topics > a:hover {
    background: #f3f6ff;
    color: #005adc;
}

/* === Dropdown Button === */
#course-left-topics .dropdown-btn {
    width: 100%;
    padding: 11px 12px;
    text-align: left;
    border: none;
    font-size: 15px;
    font-weight: 550;
    background: none;
    cursor: pointer;
    border-radius: 6px;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.25s;
    color: #333;
}
#course-left-topics .dropdown-btn:hover {
    background: #e1e4e7;
}

.dropdown-btn.active i {
    transform: rotate(180deg);
}

/* === Dropdown Container === */
.dropdown-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    border-left: 2px solid #e0e0e0;
}

/* Sub links */
.dropdown-container a {
    display: block;
    padding: 5px 10px;
    font-size: 14px;
    text-decoration: none;
    color: #444;
    border-radius: 4px;
    transition: 0.25s;
}
.dropdown-container a:hover {
    background: #eef4ff;
    color: #0056d2;
}

#course-left-topics a.active-topic {
  background: #2563eb;
  color: #fff !important;
  font-weight: 600;
}


/* prev next button*/
.pcp-prev-next {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.pcp-prev-next a {
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--pcp-theme);
  font-weight: 600;
  transition: 0.3s;
}

.pcp-prev-next a:hover {
  box-shadow: 0 10px 15px rgba(0, 123, 255, 0.4); /* Adjusted shadow size on hover */ 
  transform: translateY(-3px); /* Smaller lift effect */
  background: black;
  color: #fff;
}

/* code tag css */
/* 1️⃣ Normal inline <code> (but NOT inside <pre>) */
code:not(pre code):not([inline]) {
    background: #f4f6f8;
    color: #d6336c;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "JetBrains Mono", Consolas, Monaco, monospace;
    font-size: 0.95em;
    border: 1px solid #e0e0e0;
}

/* 2️⃣ Special inline code: <code inline=""> */
code[inline]:not(pre code) {
    background: #f4f6f8;
    color: #d6336c;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "JetBrains Mono", Consolas, Monaco, monospace;
    font-size: 0.95em;
    border: 1px solid #e0e0e0;
}




/* =====================================
   PERFECT FOOTER (PrepCampusPlus)
   ===================================== */

/* ======================= FOOTER ======================= */
.footer {
    background: #34495e;
    color: #e0ebfa;
    padding: 55px 20px;
    margin-top: 10px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

/* Headings */
.footer h3 {
    font-size: 18px;
    border-bottom: 2px solid #F2AA4C;
    padding-bottom: 6px;
    margin-bottom: 15px !important;
    color: #fff !important; /* Astra applies this */
}

/* Footer text (replacing <p>) */
.footer-text {
    color: #fff;
    font-size: 15px;
    line-height: 1.5em;
    margin-bottom: 10px;
}

/* Links */
.footer a {
    color: #fff;
    font-size: 15px;
    text-decoration: none;
}

.footer a:hover {
    color: #F2AA4C;
}

/* Lists */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin: 7px 0 !important;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.icon {
    width: 32px;
    height: 32px;
    background-size: cover;
    border-radius: 5px;
    transition: transform 0.25s ease;
    display: inline-block;
}

.icon:hover {
    transform: scale(1.18);
}

/* Footer bottom strip */
.footer-bottom {
    text-align: center;
    padding: 12px;
    background: #e0ebfa;
    margin-top: 25px;
}

.footer-bottom-text {
    color: #444;
    font-weight: 600;
    font-size: 15px;
}

#footer ul,
#footer ol {
    margin: 0 !important;
    padding-left: 0 !important;
    list-style-position: inside !important;
}
/* ------- FOOTER SOCIAL ICONS FIX ------- */

.icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    transition: 0.25s;
}

/* Facebook */
.icon.facebook-footer {
    background-image: url('https://cdn-icons-png.flaticon.com/512/733/733547.png');
}

/* Instagram */
.icon.instagram {
    background-image: url('https://cdn-icons-png.flaticon.com/512/2111/2111463.png');
}

/* WhatsApp */
.icon.whatsapp {
    background-image: url('https://cdn-icons-png.flaticon.com/512/733/733585.png');
}

/* YouTube */
.icon.youtube {
    background-image: url('https://cdn-icons-png.flaticon.com/512/1384/1384060.png');
}

/* Hover effect */
.icon:hover {
    transform: scale(1.15);
}


/* Responsive */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
    }
}




/* Search Result css */
.pcp-card {
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.pcp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

.pcp-card h3 {
    margin-bottom: 8px;
}

.pcp-card a {
    text-decoration: none;
    color: #0066cc;
}

.pcp-card p {
    font-size: 15px;
    color: #444;
}

.pcp-section-title {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    border-left: 4px solid #0066cc;
    padding-left: 8px;
}



/* Css for changing color on specific item in websites  - open*/
:root {
  --pcp-theme: #9b42f5;
}

/* Second Nav */
.pcp-second-nav {
  background: var(--pcp-theme);
}

/* Buttons */
.book-btn,
.btn,
.cta-button,
.pcp-btn,
button,
.pcp-prev-next a {
  background: var(--pcp-theme);
  color: #fff;
}

/* Footer */
.footer {
  background: var(--pcp-theme);
}
#prepcampusplus-text{
    color: var(--pcp-theme);
}
#course-left-topics a.active-topic{
    background: var(--pcp-theme);
}
/* Css for changing color on specific item in websites  - close*/


/*  top ad on post hide on mobile and show on desktop*/
.pcp-ad-desktop-only {
    text-align: center;
    margin: 20px 0;
}

/* Mobile me completely hide */
@media (max-width: 768px) {
    .pcp-ad-desktop-only {
        display: none !important;
    }
}














/* ===============================
   CODE EDITOR WRAPPER
=============================== */
.pcp-code-wrapper {
  margin: 22px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ===============================
   HEADER (EDITOR TOP BAR)
=============================== */
.pcp-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 14px;
  font-size: 10px;
  background: #0f172a;
  color: #e5e7eb;
}

.pcp-lang {
  background: #1f2937;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: .5px;
}

/* ===============================
   HEADER ACTIONS
=============================== */
.pcp-code-actions button {
  background: transparent;
  border: none;
  color: #e5e7eb;
  cursor: pointer;
  margin-left: 12px;
  font-size: 13px;
}

/* ===============================
   CODE AREA
=============================== */
.pcp-code-wrapper pre {
  margin: 0 !important;
  padding: 16px;
  background: #020617;
  color: #e5e7eb;
  overflow-x: auto;
  border-radius: 0 !important;   /* 🔴 REMOVE INNER RADIUS */
}

/* Prism default radius override */
pre[class*="language-"] {
  border-radius: 0 !important;
}

.copy{
    background: #1f2937;
    padding: 3px 9px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: .5px;
    }
    
/* ===============================
   GLOBAL LIGHT MODE (ALL BLOCKS)
=============================== */
body.pcp-light .pcp-code-wrapper .pcp-code-header .copy{
  background: #f8fafc;
  color: #0f172a;
}

body.pcp-light .pcp-code-wrapper .pcp-lang {
  background: #e5e7eb;
  color: #0f172a;
}

body.pcp-light .pcp-code-wrapper pre {
  background: #ffffff;
  color: #0f172a;
}

/* ===============================
   LIGHT MODE SYNTAX COLORS (Prism)
=============================== */
body.pcp-light .pcp-code-wrapper code[class*="language-"],
body.pcp-light .pcp-code-wrapper pre[class*="language-"] {
  color: #1f2937;
  text-shadow: none;
}

/* Keywords */
body.pcp-light .pcp-code-wrapper .token.keyword {
  color: #7c3aed;
}

/* Strings */
body.pcp-light .pcp-code-wrapper .token.string {
  color: #059669;
}

/* Numbers */
body.pcp-light .pcp-code-wrapper .token.number {
  color: #2563eb;
}

/* Functions */
body.pcp-light .pcp-code-wrapper .token.function {
  color: #d97706;
}

/* Comments */
body.pcp-light .pcp-code-wrapper .token.comment {
  color: #6b7280;
  font-style: italic;
}

/* Operators & punctuation */
body.pcp-light .pcp-code-wrapper .token.operator,
body.pcp-light .pcp-code-wrapper .token.punctuation {
  color: #374151;
}




code, kbd, samp {
    background: none; 
    padding: 0px 0px; 
}

.language-css .token.string, .style .token.string, .token.entity, .token.operator, .token.url {
    background: none !important;
}


































/* ===============================
   COMMON RESET
================================ */
* {
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}


/* ===============================
   AUTH CONTAINER
================================ */
.login-container {
  margin: 60px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  width: 360px;
  max-width: 92%;
  text-align: center;
}

/* ===============================
   HEADINGS
================================ */
.login-container h2 {
  color: #673ab7;
  margin-bottom: 20px;
}

/* ===============================
   INPUT GROUP
================================ */
.input-group {
  display: flex;
  align-items: center;
  background: #f3f3f3;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 14px;
}

.input-group i {
  margin-right: 10px;
  color: #673ab7;
  font-size: 15px;
}

.input-group input,
.input-group select,
.input-group textarea {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
}

/* ===============================
   LABELS
================================ */
label {
  font-weight: 600;
  display: block;
  text-align: left;
  margin: 10px 0 6px;
}

label span {
  color: red;
}

/* ===============================
   BUTTONS
================================ */
.login-page-btn {
  display: inline-block;
  width: 100%;
  padding: 11px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  color: #fff;
  background: #673ab7;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.login-page-btn:hover {
  background: #4a2c99;
}

/* Google Button */
.google-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  color: #fff;
  background: #db4437;
  cursor: pointer;
  margin-top: 10px;
}

.google-login-btn i {
  margin-right: 8px;
}

.google-login-btn:hover {
  background: #b02a1a;
}

/* ===============================
   LINKS
================================ */
.signup-link {
  margin-top: 12px;
  font-size: 14px;
}

.signup-link a,
.forgot-password {
  color: #673ab7;
  font-weight: 600;
  text-decoration: none;
}

.signup-link a:hover,
.forgot-password:hover {
  text-decoration: underline;
}

.forgot-password {
  display: block;
  text-align: right;
  margin-bottom: 8px;
}

/* ===============================
   MESSAGES
================================ */
.error-message {
  color: red;
  font-size: 13px;
  text-align: left;
  margin-bottom: 8px;
}

.success-message {
  color: green;
  font-size: 14px;
  margin-top: 10px;
}

/* ===============================
   DASHBOARD
================================ */
.dashboard-box {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

.dashboard-box h2 {
  color: #673ab7;
  margin-bottom: 10px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 420px) {
  .login-container {
    margin: 30px auto;
    padding: 22px;
  }
}























.entry-header {
    visibility: hidden;
}



/* ===== LAYOUT ===== */
.dashboard-wrapper {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 16px;
}

.dashboard-header h1 {
  font-size: 28px;
  margin-bottom: 4px;
}

.dashboard-header p {
  color: #6b7280;
}

/* ===== STATUS CARDS ===== */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 16px;
  margin: 30px 0;
}

.status-card {
  padding: 20px;
  border-radius: 16px;
  color: #fff;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.status-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.2);
}

.status-card p {
  opacity: .9;
}

.status-card h3 {
  font-size: 30px;
  margin-top: 6px;
}

.status-card.scheduled {
  background: linear-gradient(135deg,#6366f1,#4338ca);
}

.status-card.pending {
  background: linear-gradient(135deg,#f59e0b,#d97706);
}

.status-card.completed {
  background: linear-gradient(135deg,#22c55e,#15803d);
}

.status-card.cancelled {
  background: linear-gradient(135deg,#ef4444,#b91c1c);
}

/* ===== UPCOMING ===== */
.upcoming-box {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  margin-bottom: 30px;
}

.hidden {
  display: none;
}

/* ===== TABLE ===== */
.table-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  padding: 20px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.table-header button {
  background: #e5e7eb;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: #f9fafb;
  padding: 14px;
  text-align: left;
}

td {
  padding: 14px;
  border-bottom: 1px solid #e5e7eb;
}

tr:hover {
  background: #f3f4f6;
}

.no-data {
  text-align: center;
  padding: 20px;
  color: #6b7280;
}

/* ===== BADGES ===== */
.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge.scheduled {
  background: #e0e7ff;
  color: #3730a3;
}

.badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.badge.completed {
  background: #dcfce7;
  color: #166534;
}

.badge.cancelled {
  background: #fee2e2;
  color: #991b1b;
}
