@import url(http://fonts.googleapis.com/earlyaccess/notonastaliqurdudraft.css);

.urdu{
  font-family:  'Jameel Noori Nastaleeq'; font-size: 30px; line-height: 35px;
}
.urdu-small{
  font-family:  'Jameel Noori Nastaleeq';
}

@font-face {
  font-family: jameel-noori-custom;
  src: url(../fonts/jameel-noori-nastaleeq-kasheeda.ttf);
}
@font-face {
  font-family: jameel-noori;
  src: url(../fonts/jameel-noori-nastaleeq-regular.ttf);
}
@font-face {
  font-family: three-regular;
  src: url(../fonts/three-regular.ttf);
}
@font-face {
  font-family: adil-adil;
  src: url(../fonts/adil-adil.ttf);
}
@font-face {
  font-family: a-a-sammer;
  src: url(../fonts/a-a-sammer.ttf);
}
@font-face {
  font-family: alvi-regular;
  src: url(../fonts/alvi-regular.ttf);
}

.content-section {
  border: 2px solid #004d00;
  margin-top: 1%;
  padding: 2px;
}

.print-heading, .print-heading-size-bold {
  font-family: "ITC Franklin Gothic";  
  font-style: normal; 
  font-variant: normal;
  font-size: 49px; 
  font-weight: 700; 
  line-height: 49px;
}

.print-heading-size-normal {
  font-family: "ITC Franklin Gothic";  
  font-style: normal; 
  font-variant: normal;
  font-size: 20px; 
  font-weight: 700; 
  line-height: 25px;
}

.bb {
  border-bottom: 3px solid #004d00;
}

table.table-b {
  border: 2px solid #004d00;
}
table.table-b > thead > tr > th {
  border: 2px solid #004d00;
}
table.table-b > tbody > tr > td {
  border: 2px solid #004d00;
}

.image-input-wraper {
  position: absolute;
  top: 0;
  left: 0;
  height: 150px;
  width: 100%;
}

.bg-maginda {
  color: white;
  background: linear-gradient(to right, #004d00 0%, #006600 100%);
}

.text-maginda {
  color: #004d00 !important;
}

a.text-maginda:hover, a.text-maginda:focus {
  color: #006600 !important;
}

.text-to-bold {
  font-size: 20px;
}

.logo-font {
  font-family: 'Brush Script MT', cursive; 
  font-size: 49px;
}
/* HOMEPAGE CSS SETTINGS */
.homepage {
    font-family: Calibri, sans-serif;
}
.homepage .hero {
    background: linear-gradient(to right, #004d00 0%, #006600 100%);
    color: white;
    text-align: center;
    padding: 120px 20px 80px 20px;
    position: relative;
}

.homepage .hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.homepage .hero p {
    font-size: 1.3rem;
    margin-top: 15px;
}

.homepage .hero .whatsapp {
    font-size: 1.2rem;
    margin-top: 10px;
    display: inline-block;
    background: #075E54;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s;
}

.homepage .hero .whatsapp:hover {
    transform: scale(1.05);
    background: #3edd3e;
}

.homepage .down-arrow {
    font-size: 2.5rem;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -15px); }
    60% { transform: translate(-50%, -7px); }
}

.homepage .cards {
    padding: 80px 20px;
    background: #f7f7f7;
}

.homepage .card-custom {
    border: 2px solid transparent;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    cursor: pointer;
    background-color: white;
    color: inherit;
}

.homepage .card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 2px solid #004d00;
    background-color: white;
}

.homepage .steps {
    padding: 80px 20px;
}

.homepage .step-card {
    text-align: center;
    border-radius: 15px;
    padding: 40px 20px;
    background: #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.homepage .step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.homepage .step-card i {
    font-size: 3rem;
    color: #004d00;
    margin-bottom: 15px;
}

.homepage .why-choose {
    padding: 80px 20px;
    background: #ffffff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.homepage .why-choose h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
    color: #004d00;
}

.homepage .why-choose .cartoon {
    max-width: 300px;
    margin: 20px;
}

.homepage .why-choose ul {
    list-style: disc;
    max-width: 700px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.homepage .support {
    padding: 80px 20px;
    background: #ffffff;
    color: black;
    text-align: center;
}

.homepage .support i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.homepage .footer {
    background: #004d00;
    color: #ccc;
    text-align: center;
    padding: 20px 10px;
}

.homepage .footer a {
    color: #00fa2a;
    text-decoration: none;
}

.homepage .footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .homepage .hero h1 { font-size: 2.2rem; }
    .homepage .hero p { font-size: 1.1rem; }
    .homepage .cards .card-custom { margin-bottom: 20px; }
    .homepage .steps .step-card { margin-bottom: 20px; }
    .homepage .why-choose ul { font-size: 1rem; }
}
/* YAHAN HOMEPAGE KI STYLING FINISH
OR CHAPTERS KI START */
.chapter-page {
    font-family: 'Jameel Noori Nastaleeq', Calibri, Arial, sans-serif;
}

.chapter-box {
    border: 2px solid #ddd !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.chapter-box:hover {
    border-color: #004d00 !important;
}

.chapter-next-btn {
    font-family: Calibri, sans-serif;
    font-size: 18px;
}

.select-all-wrap {
    font-size: 18px;
}
/* USER JAB LOGIN KARTA HAI USKO JO DASHBOARD SOW HOTA HAI YE USKI */
.dashboard-layout {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.sidebar-col {
    padding-right: 15px;
}

.content-col {
    padding-left: 15px;
}

.facebook-card {
    background-color: #ffffff;
    border: 1px solid #e4e6eb;
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    padding: 0;
}

.user_card {
    background-color: #ffffff;
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    box-shadow: 0 1px 2px darkgreen;
    padding: 20px 15px;
    text-align: center;
}

.brand_logo_container {
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
}

.valid-till-card {
    background-color: #f7f9fc;
    border-top: 1px solid #e4e6eb;
    padding: 10px 0;
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.2rem;
}

.facebook-card-action {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    padding: 20px;
    color: #000;
    transition: background-color 0.15s ease-in-out;
    border-radius: 20px;
}

.facebook-card-action:hover {
    background-color: #f0f2f5;
    color: #000;
}

.facebook-card-icon {
    background-color: #e4e6eb;
    color: #000;
    border-radius: 8px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-right: 20px;
}

.facebook-card-body {
    flex-grow: 1;
    text-align: left;
}

.card-title-text {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.card-title-value {
    font-weight: bold;
    font-size: 2.5rem;
    color: #1c1e21;
    line-height: 1;
    margin-bottom: 5px;
}

.new-alerts-card {
    background-color: #ffffff;
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    padding: 15px;
}

.alert-header {
    font-weight: bold;
    color: #606770;
    border-bottom: 1px solid #e4e6eb;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.alert-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f5;
}

.alert-item:last-child {
    border-bottom: none;
}
/* YAHAN SE SULLABUS KI STYLING */
.syllabus-card {
    border-radius: 20px;
    border: 2px solid #0b5d1e;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.syllabus-card:hover {
    border-radius: 20px;
    border: 2px solid #0b5d1e;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: none !important;
}

.syllabus-heading {
    text-decoration: underline;
    text-underline-offset: 6px;
    font-weight: bold;
}

a {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}
/* CHAPTERS STYLING FROM HERE */
.chapter-box {
    border-radius: 20px !important;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.chapter-box:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/* ===============================
   MODERN EDIT PAPER UI- Yahan wo setting jab Particulars fill karte hain. 
   =============================== */

/* ===== Common green outline button ===== */
.btn-green-outline {
    background-color: #ffffff !important;
    color: #0f5132 !important;
    border: 2px solid #0f5132 !important;
    border-radius: 30px !important;
    padding: 6px 16px;
    font-weight: 600;
}

.btn-green-outline:hover {
    background-color: #0f5132 !important;
    color: #ffffff !important;
}

/* Keep buttons in one row */
.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Rounded inputs & selects */
.form-control,
select {
    border-radius: 25px !important;
}

/* Question priority dropdown box */
.multipleSelection,
#checkBoxes {
    border-radius: 20px;
}

/* Dropdown items rounded */
#checkBoxes label {
    border-radius: 15px;
    margin: 4px;
    padding: 6px 10px;
}

/* Floating Add Question button */
.floating-add-btn {
    position: fixed;
    bottom: 15px;
    right: 20px;
    z-index: 999;
    border-radius: 40px !important;
    padding: 12px 25px;
}
/* Bigger readable buttons */
.btn-green-outline {
    font-size: 15px !important;
    padding: 10px 18px !important;
    font-weight: 600;
}

/* Icons slightly bigger */
.btn-green-outline i {
    font-size: 16px;
}
/* Floating NEXT button */
.floating-next {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Mobile friendly */
@media (max-width: 768px) {
    .floating-next {
        bottom: 15px;
        right: 15px;
        padding: 10px 22px;
        font-size: 14px;
    }
}
/* Notification Badge Pulse effect (Optional) */
.badge-danger {
    background-color: #e74a3b;
    animation: pulse-red 2s infinite;
}

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

.dropdown-item:hover {
    background-color: #f8f9fc;
}

