@charset "utf-8";

/* ==========================================================================
   1. ROOT VARIABLES & GENERAL STYLES
   ========================================================================== */
:root {
  --rav-primary: #14a800;
  --rav-hover: #14a800;
  --rav-hover-border: #14a800;
  --rav-link: #14a800;
  --link-color: #14a800;
  --link-hover-color: #14a800;
}



main, 
.greenlogin {
  margin-top: 0.5em !important;
}

video {
  width: 100%;
  height: auto;
}

.no-text-decoration { text-decoration: none !important; }
.width100 { width: 100% !important; max-width: 100% !important; }
.min-height-270 { min-height: 270px !important; }

/* Grid Helper Clears */
.row::after {
  content: "";
  clear: both;
  display: block;
}

[class*="col-"] {
  float: left;
  padding: 15px;
}

ul.fields-container {
	position:absolute; margin-bottom:0 !important; padding-right:0 !important;
}
li.field-entry.application-javascript {
    list-style: none;
	position:absolute;
}

/* ==========================================================================
   2. TYPOGRAPHY & FONTS
   ========================================================================== */
@font-face {
  font-family: nafees;
  src: url(fonts/nafees2.ttf);
}
@font-face {
  font-family: SourceSans3Bold;
  src: url(fonts/SourceSans3Bold.ttf);
}
@font-face {
  font-family: SourceSans3Light;
  src: url(fonts/SourceSans3Light.ttf);
}
@font-face {
  font-family: SourceSans3Regular;
  src: url(fonts/SourceSans3Regular.ttf);
}

body {
  background: linear-gradient(135deg, #eaf7ef, #ffffff);
  font-family:SourceSans3Regular, nafees;
}

.urdu, *[dir="rtl"] {
  font-family: nafees !important;
}

.noto {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
}

.arabic {
  font-family: 'Traditional Arabic', Arial, sans-serif;
  font-size: 1.2em;
}

.urdu {
  font-family: 'Jameel Noori Nastaleeq', 'Urdu Typesetting', sans-serif;
  direction: rtl;
  display: block;
  margin-top: 5px;
}

/* Font Sizing Utilities */
.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }
.fs-7 { font-size: 0.875rem !important; }
.fs-8 { font-size: 0.75rem !important; }
.fs-9 { font-size: 0.625rem !important; }

/* Home Headings */
.rav_home_h1 { color: #0c8b44; font-size: 72px; padding-top: 30px; }
.rav_home_para1 { color: #0c8b44; text-align: center; font-size: 56px; font-weight: 100; }
.rav_home_para2 { text-align: center; font-size: 28px; }
.section-title { font-size: 1.2rem; font-weight: 700; color: #0C8B44; }

/* ==========================================================================
   3. BUTTONS & UI COMPONENTS
   ========================================================================== */
.btn {
  --btn-padding-y: 0.3rem;
}

.btn-primary {
  --btn-color: #fff;
  --btn-bg: var(--rav-primary);
  --btn-border-color: var(--rav-primary);
  --btn-hover-color: #fff;
  --btn-hover-bg: var(--rav-hover);
  --btn-hover-border-color: var(--rav-hover-border);
  --btn-focus-shadow-rgb: 39, 39, 111;
  --btn-active-color: #fff;
  --btn-active-bg: var(--rav-hover);
  --btn-active-border-color: var(--rav-hover-border);
  --btn-active-shadow: inset 0 3px 5px #00000020;
  --btn-disabled-color: #fff;
  --btn-disabled-bg: var(--rav-primary);
  --btn-disabled-border-color: var(--rav-primary);
  background-color: var(--rav-primary);
  border-color: var(--rav-primary);
}

.btn-primary:hover, 
.btn-primary:focus {
  background-color: var(--rav-hover);
  border-color: var(--rav-hover-border);
}

.btn-check:checked + .btn, 
:not(.btn-check) + .btn:active, 
.btn:first-child:active, 
.btn.active, 
.btn.show {
  color: #fff;
  background-color: var(--rav-hover);
  border-color: var(--rav-hover-border);
}

.btn-success {
  background-color: #198754 !important;
}

.main-btn {
  padding: 18px;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 600;
}

.learn {
  color: #0a9447;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 25px;
}

/* Background Utility Classes */
.bg-light-green {
  background-color: rgba(20, 168, 10, 0.5);
  color: rgb(0, 100, 0);
}

.bg-light-green-border {
  border-bottom: 1px dotted rgba(20, 168, 10, 0.5) !important;
  color: rgb(0, 100, 0);
}

.bg-white {
  background: #ffffff;
}

.darkgreen {
  background-color: #032713 !important;
  color: white !important;
}

/* ==========================================================================
   4. LAYOUT, HEADER & FOOTER
   ========================================================================== */
.container-header {
  background-color: #0C8B44 !important;
  background-image: linear-gradient(135deg, #27CD6F 0%, #0C8B44 100%);
}

.homefooter {
  background-color: white !important;
  background-image: none;
  color: #888;
  font-weight: bold;
}

.footer {
  background-color: #27CD6F;
  background-image: linear-gradient(0deg, #0C8B44 0%, #27CD6F 100%);
}

/* Navigation & Menus */
.horimenu {
  display: inline-block;
}

.horimenu > li.nav-item {
  display: inline-flex;
  padding-right: 15px;
}

ul.maximenuck li.maximenuck.active.level1 > a, div#maximenuck154 ul.maximenuck li.maximenuck.level1 > a, div#maximenuck154 ul.maximenuck li.maximenuck.level1 > span.separator,
a.maximenuck, 
a.maximenuck:hover {
  padding: 10px 24px 10px !important;
}

li.maximenuck a:after {
  top: 16px !important;
  right: 2px !important;
}

div#maximenuck154 ul.maximenuck li.level1.parent > a:after, 
div#maximenuck154 ul.maximenuck li.level1.parent > span.separator:after {
  top: 16px !important;
  left: 2px !important;
  right: unset !important;
}

li.maximenuck, 
li.maximenuck:hover {
  border-radius: 5px !important;
}

div#maximenuck153 {
}

div#maximenuck153 div.floatck {
  width: 250px !important;
}

div#maximenuck153 ul.maximenuck li ul.maximenuck2 li.maximenuck, 
div#maximenuck153 ul.maximenuck2 li.maximenuck {
  width: 240px;
  padding-top: 10px;
  padding-bottom: 10px;
}

div#maximenuck153 ul.maximenuck li.maximenuck.level1 {
  padding-bottom: 2px !important;
  padding: 0 5px;
}

div#maximenuck153 ul.maximenuck li.level1.parent > a:after {
  top: 14px !important;
  right: 1px !important;
}
div#maximenuck153 ul.maximenuck li.level1.parent > a:after, div#maximenuck153 ul.maximenuck li.level1.parent > span.separator:after
{
	border-width: 7px 7px 0 7px !important;
}
div#maximenuck153.maximenuckh ul.maximenuck li.maximenuck.level1 > a span.titreck, div#maximenuck153.maximenuckh ul.maximenuck li.maximenuck.level1 > span.separator span.titreck, div#maximenuck153.maximenuckh ul.maximenuck li.maximenuck.level1 > span.nav-header span.titreck, select#maximenuck153.maximenuckh ul.maximenuck,
div#maximenuck153 {
	font-family:Helvetica, Arial, sans-serif ;
	font-weight:normal;
	border-bottom:none;
    font-size: 16px;
    line-height: 14px;
}
div#maximenuck153.maximenuckh ul.maximenuck li.maximenuck.level1 > a span.titreck, div#maximenuck153.maximenuckh ul.maximenuck li.maximenuck.level1 > span.separator span.titreck, div#maximenuck153.maximenuckh ul.maximenuck li.maximenuck.level1 > span.nav-header span.titreck, select#maximenuck153.maximenuckh ul.maximenuck
{
	text-decoration:none; 
}

/* Language Module */
div.mod-languages ul li.lang-active {
  border: none;
  border-radius: 5px;
  background: none !important; 
}

div.mod-languages li {
  margin: 0 !important;
}

/* User Login Module */
.greenlogin { color: #0C8B44 !important; }
.greenlogin button {
  background: #0C8B44 !important;
  color: white;
}
.greenlogin a {
  color: #0C8B44 !important;
}

/* Notification Module */
.notification-dropdown button {
  border: none;
  border-radius: 5px;
}

/* ==========================================================================
   5. CARDS, LMS & CONTENT SECTIONS
   ========================================================================== */
/* Tarbiat LMS */
.islamic-bg { background-color: #f8f5e6; }
.allah-section { background-color: #e3f2fd; }
.prophet-section { background-color: #e8f5e9; }
.common-section { background-color: #fff8e1; }
h1, h2 { color: #2e7d32; }

.letter-card { 
  transition: transform 0.3s; 
  margin-bottom: 20px; 
}
.letter-card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

.acard:hover {
  background: #efefef;
  border-radius: 16px;
}

.sub-card {
  height: 300px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.sub-card > div {
  height: 250px;
}

.message-box {
  background: #e7f8ef;
  border: 1px solid #c8f0d9;
  border-radius: 8px;
  padding: 12px 16px;
  color: #1a7a4f;
  font-size: 18px;
  margin: 20px auto 0;
  text-align: center;
  width: 520px;
}
/* blog */
.blog_item { min-height:180px; --tw-bg-opacity: 1; background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1)); border: 2px solid rgb(251 191 36 / 0.5); border-radius: 2px; }

/* =========================================================
   ABDUL EXTENSION DETAIL PAGE
   ========================================================= */

.abdul-extension-detail {
    max-width: 1150px;
    margin: auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #18212b;
}

.aes-primary {
    background: #18212b;
    color: #fff !important;
}
.aes-btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
}
.aed-hero {
    text-align: center;
    padding: 10px 20px 65px;
}

.aed-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: .6;
}

.aed-hero h1 {
    font-size: 50px;
    line-height: 1.1;
    margin: 18px 0;
}

.aed-intro {
    max-width: 720px;
    margin: 0 auto 25px;
    font-size: 19px;
    line-height: 1.7;
    opacity: .75;
}

.aed-meta-top {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.aed-meta-top span {
    padding: 7px 12px;
    background: #f3f3f3;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.aed-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 45px;
    padding: 55px 0;
    border-top: 1px solid #ddd;
}


.aed-content h2 {
    font-size: 30px;
    margin: 0 0 20px;
}

.aed-content h3 {
    font-size: 22px;
    margin: 40px 0 20px;
}

.aed-content p {
    font-size: 16px;
    line-height: 1.8;
    opacity: .8;
}

.aed-features {
    padding-left: 25px;
    margin-top: 20px;
}

.aed-features li {
    padding: 8px 0;
    line-height: 1.6;
}

.aed-video-section {
    margin-top: 45px;
}

.aed-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

.aed-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.aed-sidebar {
    align-self: start;
}

.aed-info-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 25px;
    background: #fff;
}

.aed-info-row {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.aed-info-row:first-child {
    padding-top: 0;
}

.aed-info-row:last-of-type {
    border-bottom: 0;
}

.aed-info-row span {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .55;
}

.aed-info-row strong {
    display: block;
    font-size: 15px;
}

.aed-info-row small {
    display: block;
    margin-top: 6px;
    line-height: 1.5;
    opacity: .65;
}

.aed-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.aed-btn {
    display: inline-block;
    padding: 13px 18px;
    border-radius: 7px;
    text-align: center;
    text-decoration: none !important;
    font-weight: 700;
    transition: .2s ease;
}

.aed-download {
    background: #18212b;
    color: #fff !important;
}

.aed-buy {
    border: 1px solid #18212b;
    color: #18212b !important;
}

.aed-btn:hover {
    transform: translateY(-2px);
}

.aed-support {
    margin-top: 20px;
    padding: 25px;
    border-radius: 12px;
    background: #f5f5f5;
}

.aed-support > span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: .55;
}

.aed-support h3 {
    margin: 12px 0 10px;
    font-size: 20px;
}

.aed-support p {
    font-size: 14px;
    line-height: 1.6;
    opacity: .7;
}

.aed-support a {
    font-weight: 700;
    color: #18212b;
    text-decoration: none;
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.aed-bottom {
    margin: 20px 0 60px;
    padding: 55px 25px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 15px;
}

.aed-bottom > span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: .55;
}

.aed-bottom h2 {
    font-size: 30px;
    margin: 15px 0;
}

.aed-bottom p {
    max-width: 650px;
    margin: 0 auto 25px;
    line-height: 1.7;
    opacity: .7;
}

.aed-primary {
    background: #18212b;
    color: #fff !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width: 800px) {

    .aed-hero h1 {
        font-size: 38px;
    }

    .aed-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .aed-sidebar {
        width: 100%;
    }

}


@media(max-width: 500px) {

    .aed-hero {
        padding: 10px 10px;
    }

    .aed-hero h1 {
        font-size: 34px;
    }

    .aed-intro {
        font-size: 17px;
    }

    .aed-actions {
        grid-template-columns: 1fr;
    }

}




/* =========================================================
   CONTENT
   ========================================================= */
.ravabit-web-services,
.ravabit-d-services,
.ravabit-service-page, 
.service-article {
    max-width: 1150px;
    margin: auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #18212b;
}

.service-hero,
.rws-hero,
.rds-hero,
.rsp-hero {
    text-align: center;
    padding: 80px 20px 90px;
}

.service-hero > span,
.service-cta > span,
.rws-label,
.rds-label,
.rws-heading span,
.rds-heading span,
.rws-contact span,
.rds-contact span,
.rsp-hero span,
.rsp-title span,
.rsp-contact span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: .65;
}

.service-hero h1 ,
.rws-hero h1,
.rsp-hero h1,
.rds-hero h1 {
    max-width: 850px;
    margin: 20px auto;
    font-size: 52px;
    line-height: 1.1;
}

.rsp-intro,
.rws-intro,
.rds-intro {
    max-width: 700px;
    margin: auto;
    font-size: 19px;
    line-height: 1.7;
    opacity: .8;
}

.rsp-buttons,
.rws-buttons,
.rds-buttons {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rsp-btn,
.rws-btn,
.rds-btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.rsp-primary,
.rws-primary,
.rds-primary {
    background: #18212b;
    color: #fff;
}

.rsp-secondary,
.rws-secondary,
.rds-secondary {
    border: 1px solid #18212b;
    color: #18212b;
}

.rsp-trust,
.rws-trust,
.rds-trust {
    margin-top: 25px;
    font-size: 14px;
    opacity: .6;
}

.rsp-section,
.rws-section,
.rds-section {
    padding: 70px 0;
}

.rsp-heading,
.rws-heading,
.rds-heading {
    margin-bottom: 35px;
}

.rsp-heading h2,
.rws-heading h2,
.rds-heading h2 {
    font-size: 32px;
    margin-top: 10px;
}

.rsp-grid,
.rws-grid,
.rds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rsp-card,
.rws-card,
.rds-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px;
}

.rsp-number,
.rws-number,
.rds-number {
    font-size: 14px;
    font-weight: 700;
    opacity: .5;
}

.rsp-card h3,
.rws-card h3,
.rds-card h3 {
    font-size: 22px;
    margin: 18px 0 12px;
}

.service-hero p,
.rsp-card p,
.rws-card p,
.rds-card p {
    line-height: 1.7;
    opacity: .75;
}

.rsp-card a,
.rws-card a,
.rds-card a,
.rsp-link,
.rws-link,
.rds-link {
    text-decoration: none;
    font-weight: 700;
    color: inherit;
}

.rsp-points,
.rws-points,
.rds-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.rsp-points div,
.rws-points div,
.rds-points div {
    padding: 25px;
    background: #f5f5f5;
    border-radius: 10px;
}

.rsp-points strong,
.rws-points strong,
.rds-points strong {
    font-size: 25px;
}

.rsp-points p,
.rws-points p,
.rds-points p {
    margin-bottom: 0;
}

.rsp-cases,
.rws-cases,
.rds-cases {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.rsp-cases p,
.rws-cases p,
.rds-cases p {
    max-width: 700px;
    line-height: 1.7;
}

.rsp-contact,
.rws-contact,
.rds-contact {
    margin: 70px 0;
    padding: 65px 25px;
    text-align: center;
    border-radius: 15px;
    background: #f5f5f5;
}

.rsp-contact h2,
.rws-contact h2,
.rds-contact h2 {
    font-size: 35px;
    margin: 15px 0;
}

.rsp-contact p,
.rws-contact p,
.rds-contact p {
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

@media (max-width: 750px) {
    .rsp-hero h1,
    .rws-hero h1,
    .rds-hero h1 {
        font-size: 38px;
    }

    .rsp-grid,
    .rws-grid,
    .rds-grid,
    .rsp-points,
    .rws-points,
    .rds-points {
        grid-template-columns: 1fr;
    }

    .rsp-section,
    .rws-section,
    .rds-section {
        padding: 50px 0;
    }
}
.service-content {
    padding: 55px 0;
    border-top: 1px solid #ddd;
}

.service-content h2 {
    font-size: 30px;
    margin: 15px 0 ;
}

.service-content h2:first-child {
    margin-top: 0;
}

.service-content p {
    max-width: 850px;
    font-size: 16px;
    line-height: 1.8;
    opacity: .8;
}

.service-content ul {
    max-width: 850px;
    padding-left: 25px;
    margin: 20px 0 35px;
}

.service-content li {
    padding: 8px 0;
    line-height: 1.6;
}


/* =========================================================
   CTA
   ========================================================= */

.service-cta {
    margin: 60px 0 20px;
    padding: 60px 25px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 15px;
}

.service-cta h2 {
    font-size: 34px;
    margin: 15px 0;
}

.service-cta p {
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.7;
    opacity: .7;
}


/* =========================================================
   BUTTON
   ========================================================= */

.service-btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    background: #18212b;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    transition: .2s ease;
}

.service-btn:hover {
    transform: translateY(-2px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width: 750px) {

    .service-hero {
        padding: 55px 10px 50px;
    }

    .service-hero h1 {
        font-size: 38px;
    }

    .service-hero p {
        font-size: 17px;
    }

    .service-content {
        padding: 45px 0;
    }

    .service-content h2 {
        font-size: 26px;
    }

    .service-cta {
        padding: 45px 20px;
    }

    .service-cta h2 {
        font-size: 28px;
    }

}

/* Accordion */
.accordion {
  cursor: pointer;
  padding: 5px;
  width: 100%;
  margin: auto;
  transition: 0.4s;
  border: 1px solid #ccc;
}

.active, .accordion:hover {
  background-color: #fafafa;
}

.panel {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border-top: 1px solid #ddd;
}

.accordion-header {
  background-color: #f1f1f1;
  padding: 10px;
  cursor: pointer;
  font-weight: bold;
}

/* Tarbiat Nizam e Taleem Roadmap */
.school-roadmap {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  line-height: 35px; 
}

.school-roadmap .container {
  margin: auto;
  text-align: center;
}

.school-roadmap .title-box {
  backdrop-filter: blur(5px);
}

.school-roadmap .title-box h1 {
  font-size: 32px;
  color: #00800b;
  margin-bottom: 10px;
}

.school-roadmap .title-box h2 {
  font-size: 18px;
  color: #777;
}

.school-roadmap .roadmap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  position: relative;
}

.school-roadmap .step {
  font-weight: bold;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  border-top: 6px solid #00800b;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.school-roadmap .step:hover {
  transform: translateY(-5px);
}

.school-roadmap .step::before {
  content: attr(data-step);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #4fd1d9;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.school-roadmap .arrow {
  font-size: 28px;
  color: #aaa;
  text-align: center;
  margin: 0;
  transform: rotate(180deg);
}

.school-roadmap .arrow_eng {
  transform: rotate(0deg);
}

/* Scroll Button */
.scroll-btn {
  opacity: 0.7;
  position: fixed;
  z-index: 99999;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 40px;
  padding: 5px 10px;
  background: white;
  color: black;
  border: 2px solid #ccc;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  cursor: pointer;
  animation: bounce 1.5s infinite;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.5s;
  gap: 10px;
}

.scroll-btn:hover { background: #f0f0f0; }
.scroll-btn i { font-size: 24px; }

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

#target {
  margin-top: 100vh;
  padding: 50px;
  background: white;
  text-align: center;
  font-size: 24px;
}

.extra-content {
  padding: 50px;
  background: #fff;
  text-align: center;
  font-size: 20px;
}

.content1 {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}

.twocolumnlist {
  columns: 2;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.4s;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 10px;
  border: 1px solid #888;
  width: 40%;
  animation: slideIn 0.4s;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/*
country
****************/
.country
{
	--tw-bg-opacity: 1; background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1)); border: 2px solid rgb(251 191 36 / 0.5); border-radius: 2px; padding:7px;
}

@keyframes slideIn {
  from { bottom: -300px; opacity: 0; }
  to { bottom: 0; opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   6. COM_QARIS COMPONENT
   ========================================================================== */
#container h1 { font-size: 24px; }
#container h2 { font-size: 22px; }
#container h3 { font-size: 20px; }
#container h4 { font-size: 18px; }
#container p, #container div { font-size: 14px; }

.btnInvite {
  background: linear-gradient(120deg, #00994d, #00733e);
  color: white;
  text-decoration: none;
  display: block;
  text-align: center;
}

.predefined-messages-container {
  margin-bottom: 15px;
}

.predefined-messages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.predefined-message-item {
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.predefined-message-item:hover {
  background-color: #e0e0e0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.predefined-message-item:active {
  background-color: #d0d0d0;
}

.message-list {
  max-height: 80vh;
  overflow-y: auto;
  border-right: 1px solid #ccc;
  padding: 10px;
  background: linear-gradient(to bottom, #f9f9f9, #e9f7e9);
}

.message-list .student-card {
  padding: 15px;
  margin-bottom: 10px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.3s, background 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.message-list .student-card:hover {
  background: #f1ffe6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.student-card h5 {
  margin: 0;
  font-size: 16px;
  color: #2c662d;
}

.student-card p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #888;
}

.message-detail {
  padding: 20px;
  background: linear-gradient(to bottom, #fffefa, #e6ffe6);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.message-detail h2 {
  font-size: 20px;
  color: #2c662d;
}

.message-detail textarea {
  height: 50px;
}

.message-detail div#message-thread {
  height: 400px;
}

.message-detail textarea, 
.message-detail div#message-thread {
  overflow-y: scroll;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: none;
  margin-bottom: 10px;
  background: #fefcf6;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

#btnPay, #btnPayAgain {
  padding: 3px 15px;
  height: 33px;
  background: linear-gradient(45deg, #CF142B, #CF142B);
}

#btnSend {
  background: linear-gradient(45deg, #28a745, #85e085);
  padding: 10px 15px;
  height: 45px;
}

#btnSend, #btnPay, #btnPayAgain {
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

#btnSend:hover {
  background: linear-gradient(45deg, #218838, #76d776);
}

.no-selection {
  text-align: center;
  color: #888;
  margin-top: 50px;
}


.myravabit-login-card {
  max-width: 380px !important; /* Reduced from 440px */
  width: 100%;
  padding: 24px 20px;          /* Slightly tighter padding */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}
/* ==========================================================================
   7. CONSOLIDATED MEDIA QUERIES
   ========================================================================== */

/* Small devices (576px and up) */
@media (min-width: 576px) {
  .fs-sm-1 { font-size: 2.5rem !important; }
}

/* Mobile Small Adjustments (max-width: 569px) */
@media (max-width: 569px) {
  .hideondesktop { display: block !important; }	
  .hideontablet { display: block !important; }	
  .hideonmobile { display: none !important; }
  .showonmobile { display: block !important; }
/* blog */
.blog_item { min-height:143px; }
}

/* Circle Adjustments (max-width: 600px) */
@media (max-width: 600px) {
  .circle-item {
    width: 60px;
    height: 60px;
    padding: 5px;
  }
  .center-circle h1 { font-size: 20px; }
  .center-circle h2 { font-size: 14px; }
}

/* Medium devices / Tablets (768px and up) */
@media (min-width: 768px) {
  .fs-md-1 { font-size: 2.5rem !important; }
}

/* Tablet range (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hideondesktop { display: block !important; }	
  .hideontablet { display: none !important; }	
  .hideonmobile { display: block !important; }
}

/* Tablet & Mobile Screens (max-width: 768px) */
@media only screen and (max-width: 768px) {
  /* Layout & Buttons */
  .learn { font-size: 18px; }
  .main-btn { padding: 9px; font-size: 20px; }
  
  ol.breadcrumb {
    padding: 1px 3px !important;
    font-size: 10px;
  }
  
  .form-control, .form-select {
    padding: 5px !important;
  }

  /* Headings & Text */
  .rav_home_h1 { color: #0c8b44; font-size: 46px; padding-top: 0; }
  .rav_home_para1 { color: #0c8b44; text-align: center; font-size: 40px; font-weight: 100; }
  .rav_home_para2 { text-align: center; font-size: 18px; }

  #container h1 { font-size: 22px; }
  #container h2 { font-size: 20px; }
  #container h3 { font-size: 18px; }
  #container h4 { font-size: 16px; }

  /* Navigation & Menu */
  .container-header .container-nav nav,
  .container-header .container-nav .container-search {
    margin-top: 0 !important;
  }
  
  div#maximenuck154 { line-height: 15px !important; }
  .container-nav nav { padding: 0 10px !important; }

  .maximenumobiletogglericonck,
  #maximenuck153 .maximenumobiletogglericonck,
  #maximenuck154 .maximenumobiletogglericonck {
    background: #f0f0f0;
    padding: 5px 0 !important;
    padding-top: 10px !important;
    text-align: center !important;
    width: 35px !important;
    height: 35px !important;
    position: relative;
    color: #333;
    border-radius: 3px;
  }

  /* Content Elements */
  .message-box {
    padding: 6px 8px;
    margin: 16px auto 0;
    width: 100%;
  }

  /* Qari Component */
  #detail-content .heading, 
  #detail-content .btnhire { padding: 5px; }
  .message-detail h2 { font-size: 14px; }
  #btnPay { width: 100%; }
  
  .message-list .student-card, 
  .message-list {
    padding: 5px;
    margin-bottom: 3px;
  }
  
  .student-card h5 { font-size: 12px; }
  .student-card p, #user-status { display: none; }

  /* Modals */
  #myModal, .modal { padding-top: 50px; }
  .modal-content { padding: 0; width: 90%; }
}

/* Large devices / Desktops (992px and up) */
@media (min-width: 992px) {
  .fs-lg-1 { font-size: 2.5rem !important; }
}

/* Desktop Screens (1024px and up) */
@media (min-width: 1024px) {
  .hideondesktop { display: none !important; }	
  .hideontablet { display: block !important; }	
  .hideonmobile { display: block !important; }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
  .fs-xl-1 { font-size: 2.5rem !important; }
}