/*----------------------------------------------
*
* [Main Stylesheet]
*
* Theme    : sApp
* Version  : 3.0
* Author   : Themeland
* Support  : hridoy1272@gmail.com
* 
----------------------------------------------*/
/*----------------------------------------------
*
* [Font Import]
*
* Poppins : https://fonts.google.com
*
----------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0");
/*----------------------------------------------

[ALL CONTENTS]

1. Import
2. Root
3. Reset
4. General
5. Section
6. Helper Class
7. Header
8. Feature

10. Modal
11. Blog
12. All Media Queries

----------------------------------------------*/
/*----------------------------------------------
1. Import
----------------------------------------------*/
/* #region Import */
@import url(vendor/bootstrap.min.css);
@import url(vendor/animate.min.css);
@import url(vendor/aos.css);
@import url(vendor/all.min.css);
@import url(vendor/bootstrap-icons.min.css);
@import url(vendor/icons.min.css);
@import url(vendor/slider.min.css);
@import url(vendor/owl.carousel.min.css);
@import url(vendor/gallery.min.css);

/* #endregion Import */
/*----------------------------------------------
2. Root
----------------------------------------------*/
/* #region Root */
:root {
  --primary-font: "Poppins", sans-serif;
  --secondary-font: "Poppins", sans-serif;
  --h1-size: 4rem;
  --h1-weight: 600;
  --h2-size: 3rem;
  --h2-weight: 600;
  --h3-size: 2rem;
  --h3-weight: 600;
  --h4-size: 1.5rem;
  --h4-weight: 600;
  --h5-size: 1.2rem;
  --h5-weight: 600;
  --h6-size: 1rem;
  --h6-weight: 600;
  --p-size: 1rem;
  --p-weight: 400;
  --header-bg-color: #121117;
  --nav-brand-height: 55px;
  --top-nav-item-color: #F5F5F5;
  --nav-item-color: #121117;
  --primary-color: #2b310a;
  --secondary-color: #6a7337;
  --white-color: #F9F9F9;
  --black-color: #040402;
  --grey-color: #f3f5f7;
  --dark-grey-color: #191919;
  --primary-t-color: #222;
  --secondary-t-color: #F5F5F5;
  --primary-p-color: #565656;
  --secondary-p-color: #E1E1E1;
  --primary-b-color: #F5F5F5;
  --primary-l-color: rgba(0, 0, 0, .12);
  --secondary-l-color: rgba(45, 49, 54, 0.09);
  --border-radius-sm: 0.5rem;
  --border-radius-md: 1rem;
  --border-radius-lg: 2rem;
  --valid-color: #007A4D;
  --invalid-color: #E34F4F;
  --primary-bg-color: #FFFFFF;
  --primary-bg-color-2: #F6F9FE;
  --primary-bg-color-3: #E5E5E5;
  --secondary-bg-color: #040402;
  --secondary-bg-color-2: #111111;
  --secondary-bg-color-3: #191919;
  --card-bg-color: #16182D;
  --transform-scale: scale3d(1.06, 1.06, 1.06);
  --transition-function: cubic-bezier(.645, .045, .355, 1);
  --transition-duration: 0.35s;
  --transition-duration-short: 0.25s;
}

/* #endregion Root */
/*----------------------------------------------
3. Reset
HTML5 display-role reset for older browsers
----------------------------------------------*/
/* #region Reset */
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
/* 
html {
  overflow-x: hidden;
} */


ol,
ul {
  padding-left: 20px;
}

ol {
  list-style: decimal;
}

ul {
  list-style: disc;
}

ul ul {
  list-style: circle;
}

pre,
code {
  display: block;
  margin: 1rem 0;
  color: var(--primary-color);
}

blockquote,
q {
  display: block;
  margin: 1rem 0;
  padding: 1rem 1.5rem;
  border-left: 5px solid var(--primary-bg-color-3);
  quotes: none;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--primary-color);
}

.odd blockquote,
q {
  border-left: 5px solid var(--secondary-bg-color-3);
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

blockquote p,
q p {
  margin: 0;
}

figure {
  margin-bottom: 1.5rem;
}

figcaption {
  margin-bottom: 1.5rem;
  font-style: italic;
  padding: 1rem 1.5rem;
  border-left: 5px solid var(--primary-bg-color-3);
}

.odd figcaption {
  border-left: 5px solid var(--secondary-bg-color-3);
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 10px;
}

table tr:not(:last-child) {
  border-bottom: 1px solid;
  border-color: var(--primary-l-color);
}

table .odd tr:not(:last-child) {
  border-color: var(--secondary-l-color);
}

table td {
  padding: 10px 0;
}

table th {
  padding: 10px 0;
}

/* #endregion Reset */
/*----------------------------------------------
4. General
----------------------------------------------*/
/* #region General */
::-moz-selection {
  background: rgba(166, 175, 189, 0.3);
}

::selection {
  background: rgba(166, 175, 189, 0.3);
}

::-moz-selection {
  background: rgba(166, 175, 189, 0.3);
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

a:not(.btn),
a:link:not(.btn),
a:visited:not(.btn),
a:hover:not(.btn),
a:active:not(.btn) {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.4s ease-out 0s;
}

a:not([href]),
a:not([href]):hover,
a:not([href]) i,
a:not([href]) i:hover {
  color: var(--primary-b-color);
}

p {
  margin: 1.5rem 0;
  font-size: var(--p-size);
  font-weight: var(--p-weight);
  line-height: 1.5;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

p:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

.odd:not(.comment) p {
  color: var(--white-color);
}

.page-template .odd p {
  opacity: 0.7;
}

.swiper-wrapper.odd p {
  opacity: 0.8;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  line-height: 1.2;
  font-family: var(--primary-font);
  color: var(--primary-t-color);
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

h1 em {
  display: block;
  font-size: var(--h2-size);
  font-weight: 300;
}

h2 {
  margin: 1.5rem 0;
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  line-height: 1.2;
  font-family: var(--primary-font);
  color: var(--primary-t-color);
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

.odd h2 {
  color: var(--white-color);
}

h3 {
  margin: 1.5rem 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: var(--primary-font);
  color: var(--primary-t-color);
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

h4 {
  margin: 1.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: var(--primary-font);
  color: var(--primary-t-color);
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

.odd h4 {
  color: var(--secondary-t-color);
}

h5 {
  margin: 1.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: var(--primary-font);
  color: var(--primary-t-color);
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

h6 {
  margin: 1.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: var(--primary-font);
  color: var(--primary-t-color);
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

b,
strong {
  font-weight: 700;
}

li {
  margin: 0.5rem 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

dt {
  margin: 15px 0;
}

address {
  margin-bottom: 1rem;
}

form {
  width: 100%;
}

input,
textarea,
select {
  width: 100%;
  height: 50px;
  background: no-repeat;
  box-shadow: none;
  padding: 0.7rem 1rem;
  border-color: var(--primary-l-color);
  border-width: 2px;
  border-radius: 0.375rem;
}

input {
  border-color: var(--primary-p-color);
  color: var(--primary-p-color);
}

input:focus {
  border-color: var(--primary-t-color);
  color: var(--primary-t-color);
}

input[type=radio] {
  height: initial;
}

input[type=submit] {
  border: 1px solid;
  padding: 2.5px 10px;
  display: block;
  width: fit-content;
  max-width: 200px;
  text-align: center;
  color: var(--primary-color);
}

input[type=submit]:hover {
  background-color: var(--primary-color);
  color: var(--primary-b-color);
  border-color: var(--primary-color);
}

input[type=checkbox] {
  padding: 0;
}

textarea {
  height: 100px;
  resize: none;
  border-color: var(--primary-p-color);
  color: var(--primary-t-color);
}

textarea:focus {
  border-color: var(--primary-t-color);
  color: var(--primary-t-color);
}

select {
  appearance: none;
  text-indent: 1px;
  text-overflow: "";
  line-height: 1.2;
  border-color: var(--primary-l-color);
  color: var(--primary-t-color);
}

select option {
  color: #2f323a;
}

select:focus {
  border-color: var(--primary-t-color);
  color: var(--primary-t-color);
}

.input-group .btn {
  border-radius: 0.375rem;
}

hr {
  margin: 35px 0;
  border-top: 1px solid var(--primary-l-color);
}

.odd hr {
  margin: 35px 15px;
  border-top: 1px solid var(--secondary-l-color);
}

/* #endregion General */
/*----------------------------------------------
5. Section
----------------------------------------------*/
/* #region Section */
section {
  width: 100%;
  padding: 50px 0;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}


section.no-hero {
  padding: 150px 0 130px;
}

section#slider:not(.bg-inherit) {
  background-color: var(--hero-bg-color);
}

main {
  padding: 0;
}


.container.full {
  max-width: 100%;
}

.container.full-grid {
  padding: 0;
  max-width: calc(100% - 30px);
  margin: 0 15px;
}

.container.smaller {
  max-width: 970px;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.vh-75 {
  height: 75vh;
}

.vh-85 {
  height: 85vh;
}

@media (max-width: 575px) {
  .vh-85 {
    height: 100%;
  }
}

.vh-90 {
  height: 90vh;
}

@media (max-width: 575px) {
  .vh-90 {
    height: 100%;
  }
}

.clearfix {
  display: block;
  content: "";
  clear: both;
}

/* #endregion Section */
/*----------------------------------------------
6. Helper Class
----------------------------------------------*/
/* #region Helper Class */
.avatar-sm {
  height: 3rem;
  width: 3rem;
}

.avatar-md {
  height: 4rem;
  width: 4rem;
}

.avatar-lg {
  height: 5rem;
  width: 5rem;
}

.avatar-max-lg {
  height: 6rem;
  width: 6rem;
}

.swap-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 26px;
}

.swap-icon .icon {
  margin: 0 !important;
  height: auto;
  width: auto;
  font-size: 2rem !important;
  line-height: 1;
}

.swap-icon:hover .icon {
  animation: swap ease-out var(--transition-duration);
}

@keyframes swap {
  0% {
    transform: translateX(0);
  }

  25% {
    opacity: 0;
  }

  30% {
    transform: translateX(1rem);
  }

  35% {
    transform: translateX(-1rem);
  }

  85% {
    opacity: 1;
  }

  100% {
    transform: translateX(0);
  }
}

.video-play-button {
  display: flex;
}

.video-play-button a.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 80px;
  background-color: #fff;
  border-radius: 100%;
  transform: scale(1);
}

.video-play-button a.play-button i {
  fill: var(--primary-color);
  font-size: 18px;
}

.video-play-button a.play-button::before {
  position: absolute;
  content: "";
  top: -2px;
  left: -2px;
  bottom: -2px;
  right: -2px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: inherit;
  animation: ripple 2s cubic-bezier(0.23, 1, 0.32, 1) both infinite;
}

.video-play-button a.play-button.hide-animation::before {
  display: none;
}

.video-play-button a.play-button:hover {
  transform: scale(1.1);
  background-color: #ffffff;
}

@keyframes ripple {
  0% {
    border-width: 4px;
    transform: scale(1);
  }

  80% {
    border-width: 1px;
    transform: scale(1.35);
  }

  100% {
    opacity: 0;
  }
}

.intro {
  margin-bottom: 60px;
}

.intro .title:not(.layout-2) {
  position: relative;
}

.intro .title:not(.layout-2)::after {
  position: absolute;
  content: "";
  height: 3px;
  width: 50px;
  background-color: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.intro .title:not(.layout-2).layout-3::after {
  left: 0;
  transform: inherit;
}

.intro .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
}

.intro .badge i {
  color: var(--primary-color);
}

.list-group-item {
  margin: 0;
  background: none;
  font-size: 1rem;
  padding-right: 0;
  padding-left: 0;
  background-color: transparent;
  border-color: var(--card-bg-color);
}

.list-group-item a {
  transition: 0.3s;
}

.list-group-item .badge.circle {
  background-color: var(--card-bg-color);
}

.post-holder {
  list-style: none;
  width: 100%;
  border-left: 5px solid var(--primary-color);
  background-color: var(--primary-bg-color-2);
  padding: 25px;
  margin-top: 35px;
}

.posted-on a:not(.btn) {
  font-weight: 600;
}

.list-group .list-group-item {
  margin: 0.25rem 0;
}

.list-group .list-group-item .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3.5rem;
  width: 3.5rem;
  background-color: #fff;
  border-radius: var(--border-radius-sm);
  font-size: 1.5rem;
  color: var(--primary-color);
}

.list-group .list-group-item .icon span {
  font-size: 2rem;
}

.list-group .list-group-item .icon.layout-2 {
  background-color: transparent;
}

.list-group.list-group-horizontal .list-group-item:not(:last-child) {
  margin-right: 0.8rem;
}

.btn {
  position: relative;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white-color);
  line-height: 1;
  text-align: center;
  padding: 16px 34px;
  border: 0 none;
  border-radius: 100px;
  outline: 0 none;
  cursor: pointer;
  z-index: 1;
}

.btn:hover,
.btn:focus,
.btn:active {
  color: var(--white-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn.btn-bordered {
  background: transparent none repeat scroll 0 0;
  color: #444;
}

.btn.btn-bordered::before {
  position: absolute;
  content: "";
  height: calc(100% + 4px);
  width: calc(100% + 4px);
  background-image: linear-gradient(135deg, var(--primary-color) 10%, var(--secondary-color));
  top: -2px;
  left: -2px;
  border-radius: 100px;
  transition: all 0.3s ease 0s;
  z-index: -2;
}

.btn.btn-bordered:after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  border-radius: 100px;
  background: #fff none repeat scroll 0 0;
  transition: all 0.3s ease 0s;
  z-index: -1;
}

.btn.btn-bordered:hover,
.btn.btn-bordered:focus,
.btn.btn-bordered.active {
  color: #fff;
}

.btn.btn-bordered:hover::after,
.btn.btn-bordered:focus::after,
.btn.btn-bordered.active::after {
  opacity: 0;
}

.btn.btn-bordered-white {
  background: transparent none repeat scroll 0 0;
  border: 2px solid #fff;
}

.btn.btn-bordered-white::after {
  position: absolute;
  content: "";
  height: calc(100% + 4px);
  width: calc(100% + 4px);
  background-image: linear-gradient(135deg, var(--primary-color) 10%, var(--secondary-color));
  top: -2px;
  left: -2px;
  border-radius: 100px;
  opacity: 0;
  transition: all 0.3s ease 0s;
  z-index: -1;
}

.btn.btn-bordered-white:hover,
.btn.btn-bordered-white:focus {
  border-color: transparent;
  outline: 0 none;
}

.btn.btn-bordered-white:hover::after,
.btn.btn-bordered-white:focus::after {
  opacity: 1;
}

.btn.content-btn {
  padding: 0;
  font-weight: 600;
  color: var(--primary-t-color);
  text-align: left;
  line-height: 1.2;
  background: transparent;
  box-shadow: none;
  padding-right: 15px;
}

@media (max-width: 575px) {
  .btn.content-btn {
    margin-bottom: 5px;
  }
}

.btn.content-btn::before {
  position: absolute;
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
}

.btn.content-btn::after {
  position: absolute;
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  opacity: 1;
  transition: all 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
}

.btn.content-btn:hover {
  color: var(--primary-color);
}

.btn.content-btn:hover::before {
  right: -10px;
  opacity: 1;
}

.btn.content-btn:hover::after {
  right: -20px;
  opacity: 0;
}

.btn-smaller {
  font-size: 0.9rem;
  padding: 12px 18px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 30px;
}

.breadcrumb-area {
  height: 450px;
  background-image: url("../img/content/download-bg.jpg");
  background-attachment: scroll;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 1;
}

.breadcrumb-area.bg-overlay::after {
  opacity: 0.89;
}

/* #endregion Helper Class */
/*----------------------------------------------
7. Header
----------------------------------------------*/
/* #region Header */


/* #endregion Header */
/*----------------------------------------------
8. Feature
----------------------------------------------*/
/* #region Feature */
.preloader-main {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99999;
}

.preloader-main .preloader-wapper {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-main .loader-section {
  position: fixed;
  top: 0;
  height: 100%;
  width: calc(50% + 1px);
  background-color: var(--primary-bg-color);
}

.preloader-main .loader-section.section-left {
  left: 0;
}

.preloader-main .loader-section.section-right {
  right: 0;
}

.preloader-main .preloader {
  position: relative;
  display: block;
  height: 80px;
  width: 170px;
  top: -40px;
  z-index: 99;
}

.preloader-main .loaded .section-right {
  transform: translateX(101%);
  transition: 0.7s 0.3s all cubic-bezier(0.1, 0.1, 0.1, 1);
}

.preloader-main .loaded .section-left {
  transform: translateX(-101%);
  transition: 0.7s 0.3s all cubic-bezier(0.1, 0.1, 0.1, 1);
}

.preloader-main .loaded .preloader {
  transition: 0.3s ease-out;
  visibility: hidden;
  opacity: 0;
}

.preloader-main circle.dot:nth-of-type(1) {
  animation: slide 2s ease infinite;
}

.preloader-main circle.dot:nth-of-type(2) {
  transform: translateX(55px);
  animation: slide 2s ease infinite;
  animation-delay: 1s;
}

@keyframes slide {

  0%,
  100% {
    transform: translateX(0px);
  }

  50% {
    transform: translateX(70px);
  }
}

.icon {
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  font-size: 44px;
  display: block;
  margin: auto;
}

.icon.smaller {
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 24px;
}

.icon.bigger {
  width: 7rem;
  height: 7rem;
  margin: 0;
  font-size: 6.5rem;
  line-height: 7rem;
  font-weight: bold;
}

.icon.circle {
  border-radius: 100px;
  font-size: 28px;
}

.icons {
  display: inline-block;
  font-size: 3rem;
  line-height: 1;
}

.items .item {
  margin-top: 30px;
}

.card {
  background-color: transparent;
  border: none;
  border-radius: var(--border-radius-sm);
}

.card .image-holder {
  position: relative;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.card .image-holder img {
  transition: all var(--transition-function) var(--transition-duration);
}

.card .card-overlay {
  position: absolute;
  left: 0;
  z-index: 1;
  width: 100%;
  display: flex;
  padding: 3vh;
  color: var(--white-color);
}

.card .card-overlay.top {
  top: 0;
  bottom: auto;
  background: 17, 16, 19;
  background: linear-gradient(180deg, rgba(17, 16, 19, 0.5) 0%, rgba(17, 16, 19, 0) 100%);
}

.card .card-overlay.fade-up {
  transform: translateY(6%);
  opacity: 0;
  transition: all var(--transition-function) var(--transition-duration);
}

.card .card-overlay.fade-down {
  transform: translateY(-6%);
  opacity: 0;
  transition: all var(--transition-function) var(--transition-duration);
}

.card .card-overlay:not(.top) {
  bottom: 0;
}

.card.scale:hover .card-thumb img {
  transform: var(--transform-scale);
}

.card.has-shadow .card-thumb::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 85%;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(3, 7, 18, 0)), to(rgba(3, 7, 18, 0.45)));
  background: linear-gradient(180deg, rgba(3, 7, 18, 0), rgba(3, 7, 18, 0.45));
  -webkit-transition: opacity var(--transition-function) var(--transition-duration);
  transition: opacity var(--transition-function) var(--transition-duration);
}

.card.layout-2 .card-overlay {
  color: var(--white-color);
}

.card.layout-2 .card-overlay .title,
.card.layout-2 .card-overlay .badge {
  color: var(--white-color);
}

.card.layout-2 .card-overlay .show-project .project-link a {
  color: var(--white-color);
}

.card.layout-2 .card-overlay:not(.top) {
  background: 17, 16, 19;
  background: linear-gradient(360deg, rgba(17, 16, 19, 0.5) 0%, rgba(17, 16, 19, 0) 100%);
}

.card:hover .card-overlay.fade-up {
  transform: none;
  opacity: 1;
}

.card:hover .card-overlay.fade-down {
  transform: none;
  opacity: 1;
}

.has-overlay {
  position: relative;
  z-index: 1;
}

.has-overlay::after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.94;
  z-index: -1;
}

.has-overlay.overlay-gradient::after {
  background: linear-gradient(-47deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.has-overlay.overlay-dark::after {
  background: rgba(16, 16, 45, 0.9);
}

.clip-text,
.text-effect {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-text,
.btn,
.text-effect,
.blog-details .pagination>li.active>a {
  background-image: linear-gradient(150deg, var(--secondary-color) 0%, var(--primary-color) 78%);
}

a.badge:not(.btn),
.badge {
  display: inline-flex;
  gap: 0.25em;
  margin: 0.25rem 0;
  padding: 0.35rem 0.62rem;
  border-radius: 50rem;
  font-size: 0.94em;
  font-weight: 500;
  transition: all var(--transition-function) var(--transition-duration);
}

a.badge:not(.btn).small,
.badge.small {
  padding: 0.35rem 0.65rem;
}

a.badge:not(.btn).outlined,
.badge.outlined {
  border: 2px solid currentColor;
  color: currentColor;
}

a.badge:not(.btn):not(.outlined),
.badge:not(.outlined) {
  background-color: #e5e6f6;
}

a.badge:not(.btn):hover,
.badge:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.shapes-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.shape {
  position: relative;
}

.shape-bottom {
  position: absolute;
  top: auto;
  bottom: -1px;
  left: 0;
  right: 0;
}

.bg-shape {
  position: absolute;
  height: 190%;
  width: 100%;
  display: block;
  border-radius: 120px;
  background: var(--primary-bg-color-2);
  bottom: 0;
  right: 0;
  transform: translate(35%, -28%) rotate(-35deg);
  z-index: 0;
}

@media (max-width: 991px) {
  .bg-shape {
    height: 130%;
  }
}

.social-icons i {
  display: block;
  height: 100%;
  margin: 0 auto;
  line-height: 2.5rem;
  transition: all var(--transition-function) var(--transition-duration-short);
}

.social-icons>a.icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 5px;
  background-color: var(--white-color);
  border-radius: calc(var(--border-radius-sm) / 2);
  color: var(--primary-color);
  transition: all var(--transition-function) var(--transition-duration-short);
  overflow: hidden;
}

.social-icons>a.icon:hover i:first-child {
  margin-top: -2.5rem;
}

.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  margin-top: 50px;
  position: relative;
}

.swiper-pagination-bullet {
  width: 40px !important;
  height: 5px !important;
  border-radius: 0 !important;
  background-color: var(--primary-p-color);
  border: none !important;
  opacity: 0.25 !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  opacity: 1 !important;
}

.main {
  background-color: var(--primary-bg-color);
}

.scroll-to-top {
  position: fixed;
  z-index: 5;
  right: 25px;
  bottom: 25px;
  display: none;
  width: 40px;
  height: 45px;
  border-radius: 4px;
  background-color: rgba(35, 35, 35, 0.65);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  line-height: 45px;
  text-align: center;
  opacity: 0.85;
  transition: all var(--transition-function) var(--transition-duration);
}

.scroll-to-top a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 45px !important;
}

.scroll-to-top i {
  font-size: 22px;
  font-weight: 600;
  color: var(--white-color);
}

.scroll-to-top:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  opacity: 1;
}

.primary-bg {
  background-color: var(--primary-bg-color-2);
}

.primary-bg .btn-bordered::after {
  background-color: var(--primary-bg-color-2);
}

.primary-bg .badge {
  background-color: #fff !important;
}

.download-button img {
  max-width: 190px;
}

.hero-section {
  position: relative;
  background-attachment: scroll;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-top: 0px !important;
  z-index: 1;
}

.hero-section .hero-content {
  position: relative;
  z-index: 1;
}

.hero-section .hero-content .sub-heading {
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero-section .hero-thumb.animate img {
  position: relative;
  animation: bounceHero 3s infinite;
}

.hero-section.layout-1 {
  background-image: url("../img/content/welcome-bg.jpg");
}

.hero-section.layout-1 .hero-thumb {
  max-width: 300px;
}

@media (max-width: 767px) {
  .hero-section.layout-1 .hero-thumb {
    max-width: 270px;
  }
}

@media (max-width: 575px) {
  .hero-section.layout-1 .hero-thumb {
    max-width: 230px;
  }
}

.hero-section.layout-2 {
  background-image: url("../img/content/welcome-bg-3.jpg");
}

.hero-section.layout-2 .shapes-container {
  background-color: #fff;
}

.hero-section.layout-3 {
  background-image: url("../img/content/welcome-bg-4.jpg");
  background-attachment: fixed;
}

.hero-section.layout-3 .shape-bottom svg {
  overflow: hidden;
  width: 100%;
  line-height: 0;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.hero-section.layout-4 {
  background-image: url("../img/content/welcome-bg-5.jpg");
}

.hero-section.layout-4 .shape-bottom {
  transform: rotate(180deg);
}

.hero-section.layout-4 .shape-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  left: 50%;
  transform: translateX(-50%) rotateY(180deg);
}

.hero-section.layout-5 {
  background-image: url("../img/content/welcome-bg-2.jpg");
}

.hero-section.layout-5 .shape-bottom {
  left: -30px;
}

.hero-form {
  position: relative;
  padding: 35px;
  background-color: #fff;
  border-radius: var(--border-radius-md);
  z-index: 1;
}

.hero-form p {
  font-size: 13px;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-form h3 {
  font-size: 28px;
  color: #111;
}

@media (max-width: 575px) {
  .hero-form {
    padding: 32px;
  }
}

.hero-form hr {
  border-style: solid;
}

.hero-form .form-text a:not(.btn) {
  font-size: 1em;
  font-weight: 500;
}

@keyframes bounceHero {
  0% {
    top: 0px;
  }

  50% {
    top: 25px;
  }

  100% {
    top: 0px;
  }
}

.counter:not(.is-visible) {
  visibility: hidden;
}

.counter-area {
  padding: 50px 0;
}

.counter-area .item .counter-item {
  position: relative;
}

.counter-area .item .counter-item span {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  background-image: linear-gradient(-47deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 767px) {
  .counter-area .item .counter-item span {
    font-size: 2.5rem;
  }
}

.counter-area .item .counter-item::after {
  position: absolute;
  content: "";
  height: 70%;
  width: 1px;
  background-color: var(--primary-t-color);
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  opacity: 0.15;
}

@media (max-width: 767px) {
  .counter-area .item .counter-item::after {
    height: 45%;
  }
}

.counter-area .item:last-of-type .counter-item::after {
  display: none;
}

@media (max-width: 575px) {
  .counter-area .item:nth-child(2) .counter-item::after {
    display: none;
  }
}

.countdown {
  text-transform: uppercase;
  color: var(--white-color);
}

.countdown .countdown-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 0.25rem;
  padding: 0.5rem;
}

@media (max-width: 767px) {
  .countdown .countdown-container {
    margin: 0 0.2rem;
    padding: 0.25rem;
  }
}

@media (max-width: 575px) {
  .countdown .countdown-container {
    margin: 0 0.15rem;
    padding: 0;
  }
}

.countdown .countdown-container .countdown-heading {
  margin: 10px;
  font-size: 1rem !important;
  font-weight: 600;
}

.countdown .countdown-container .countdown-value {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4rem;
  width: 4rem;
  background-color: var(--white-color);
  border-radius: calc(var(--border-radius-sm) / 2);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.image-box {
  padding: 45px;
  border-radius: 1rem;
  box-shadow: 0 3px 20px 0px var(--primary-l-color);
  transition: transform 0.3s ease 0s;
}

.image-box .icon {
  color: var(--primary-color);
  transition: transform var(--transition-function) var(--transition-duration-short);
}

.image-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(31, 45, 61, 0.125);
}

.image-box:hover .icon {
  transform: var(--transform-scale);
}

.image-box.layout-2 {
  box-shadow: none;
}

.image-box.layout-2.center {
  display: flex;
  gap: 1rem;
}

.image-box.layout-2:hover {
  transform: inherit;
  box-shadow: inherit;
}

.features-section {
  overflow: hidden;
}

.features-section .features-slider-wrapper {
  background: rgba(0, 0, 0, 0) url("../img/content/mobile-slider.html") no-repeat scroll top center/cover;
  padding: 67px 23px 90px 26px;
  background-size: 100%;
  max-width: 290px;
  margin: 0 auto;
}

.features-section .features-slider-wrapper .features-slider {
  padding: 0;
}

.features-section .features-slider-wrapper .slide-item {
  margin: 0;
}

@media (max-width: 767px) {
  .features-section .features-slider-wrapper {
    padding: 52px 18px 90px 21px;
    max-width: 245px;
  }
}

@media (max-width: 575px) {
  .features-section .features-slider-wrapper {
    padding: 52px 18px 90px 21px;
    max-width: 220px;
  }
}

.features-section .features-item.list-group .list-group-item {
  margin: 0;
  margin-top: 30px;
}

@media (max-width: 575px) {
  .features-section .features-item.list-group .list-group-item {
    padding: 0;
  }
}

.work-section .item {
  position: relative;
}

.work-section .item::after {
  position: absolute;
  content: "\f054";
  font-size: 45px;
  font-weight: 900;
  color: var(--white-color);
  font-family: "Font Awesome 5 Free";
  top: 50%;
  right: -1rem;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

@media (max-width: 767px) {
  .work-section .item::after {
    content: none;
  }
}

.work-section .item:hover::after {
  transform: translateX(5px) translateY(-50%);
}

.work-section .item:last-of-type::after {
  content: none;
}

@media (max-width: 575px) {
  .app-screenshots-slides .item {
    transform: scale(0.9);
  }
}

.reviews {
  position: relative;
  border: 1px solid var(--primary-l-color);
  transition: all 0.3s ease 0s;
  overflow: hidden;
}

.reviews .quot-icon {
  position: absolute;
  top: 5%;
  right: 5%;
}

.reviews .review-meta {
  position: relative;
}

.reviews .review-meta::after {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  background-color: var(--primary-bg-color-2);
  bottom: calc(100% - 10px);
  left: 15%;
  transform: rotate(45deg);
}

.reviews .review-meta .reviewer span {
  font-weight: 500;
}

.reviews:hover {
  box-shadow: 0 1rem 3rem rgba(31, 45, 61, 0.125);
}

.testimonial-area .item img {
  width: 100px;
  height: 100px;
  border: 1px solid var(--primary-l-color);
  border-radius: 50%;
}

.testimonial-area .review-text {
  font-size: 1.2rem;
  color: var(--primary-t-color);
}

.pricing-table {
  position: relative;
  padding: 45px;
  background-color: #fff;
  border-radius: 1rem;
}

@media (max-width: 575px) {
  .pricing-table {
    padding: 30px;
  }
}

.pricing-table .package-type {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--primary-t-color);
}

.pricing-table .package-price {
  font-size: 3rem;
  font-weight: 700;
}

.pricing-table .package-price small {
  font-size: 0.75em;
}

.pricing-table .package-list li {
  margin: 0;
  padding: 1rem 0;
  border-color: var(--primary-l-color);
}

.pricing-table .package-button {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-table .package-button .btn {
  border-radius: var(--border-radius-sm);
}

@media (max-width: 767px) {
  .pricing-table .package-button {
    position: inherit;
    left: inherit;
    transform: inherit;
  }
}

.notice,
.notice>a {
  font-weight: 500 !important;
}

#sapp-accordion .accordion-item {
  background-color: transparent;
  color: var(--primary-p-color);
}

#sapp-accordion .accordion-item:not(.outlined) {
  border: none;
}

#sapp-accordion .accordion-item:not(.outlined):not(:last-child) {
  margin-bottom: 0.8rem;
}

#sapp-accordion .accordion-item.outlined {
  padding: 0.8rem 0;
}

#sapp-accordion .accordion-item .accordion-header {
  margin: 0;
}

#sapp-accordion .accordion-item .accordion-button {
  position: relative;
  background-color: var(--primary-bg-color-2);
  border-radius: var(--border-radius-sm);
  box-shadow: none;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary-t-color);
}

#sapp-accordion .accordion-item .accordion-button::after {
  position: absolute;
  content: "+";
  left: calc(100% - 3rem);
  height: inherit;
  background-image: none;
  font-size: inherit;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  transition-timing-function: var(--transition-function);
}

#sapp-accordion .accordion-item .accordion-button:focus {
  z-index: 1;
}

#sapp-accordion .accordion-item:has(.collapse.show) .accordion-button::after {
  content: "\f068" !important;
}

.team-item {
  border-radius: var(--border-radius-md);
}

.team-item .image-holder {
  border-radius: var(--border-radius-md);
}

.team-item .card-overlay {
  top: 0;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius-md);
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-function) var(--transition-duration);
}

.team-item .card-overlay::after {
  border-radius: var(--border-radius-md);
}

.team-item .card-overlay .social-icons i {
  line-height: 2.2rem;
}

.team-item .card-overlay .social-icons>a.icon {
  width: 2.2rem;
  height: 2.2rem;
}

.team-item .card-overlay .social-icons>a.icon:hover i:first-child {
  margin-top: -2.2rem;
}

.team-item:hover .card-overlay {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.download-area {
  position: relative;
  background-image: url("../img/content/download-bg.jpg");
  background-repeat: no-repeat;
  z-index: 1;
}

.subscribe-area {
  background-image: url("../img/content/map.html");
  background-attachment: scroll;
  background-repeat: no-repeat;
}

.subscribe-area .subscribe-btn {
  border-radius: var(--border-radius-sm);
}

.contact-info .list-group .list-group-item {
  margin: 0;
  padding: 1rem 0;
  border-color: var(--primary-l-color);
}

.contact-info .list-group .list-group-item .icon {
  background-color: var(--primary-color);
  color: #fff;
}

.contact-info .list-group .list-group-item .icon .contact-icon {
  font-size: 24px !important;
  color: var(--white-color) !important;
}

.contact-info .list-group .list-group-item span,
.contact-info .list-group .list-group-item a {
  font-size: 1.2rem !important;
}

.contact-info .list-group .list-group-item span:not(:hover),
.contact-info .list-group .list-group-item a:not(:hover) {
  color: var(--primary-t-color) !important;
}

.contact-form .form-control {
  background-color: var(--primary-bg-color-2);
  border-width: 0;
}

.contact-form.outlined .form-control {
  background-color: #fff;
  border-width: 2px;
}

.error-area h1 {
  font-size: 18vmax;
}

@media (max-width: 767px) {
  .error-area h1 {
    font-size: 8em !important;
  }
}

@media (max-width: 575px) {
  .error-area h1 {
    font-size: 7em !important;
  }
}

.height-emulator {
  float: left;
  height: 585px;
}

.breadcrumb-area .breadcrumb-content .breadcrumb {
  background-color: transparent;
  margin: 0;
}

.breadcrumb-area .breadcrumb-content .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  content: ">";
  color: var(--white-color);
}

.breadcrumb-area .breadcrumb-content .breadcrumb .breadcrumb-item,
.breadcrumb-area .breadcrumb-content .breadcrumb .breadcrumb-item a {
  font-weight: 500;
}

.accounts {
  background-image: url("../img/content/accounts.jpg");
  background-attachment: scroll;
  background-repeat: no-repeat;
}

.coming-soon {
  background-image: url("../img/content/welcome-bg-2.jpg");
  background-attachment: scroll;
  background-repeat: no-repeat;
}

.download-page {
  background-image: url("../img/content/download-bg-2.jpg");
  background-attachment: scroll;
  background-repeat: no-repeat;
}

.download {
  background-image: url("../img/content/inner-bg.jpg");
  background-repeat: no-repeat;
}

@keyframes grow {
  from {
    transform: scale(1);
    opacity: 1;
  }

  to {
    transform: scale(1.5);
    opacity: 0;
  }
}

.map-area {
  height: 550px;
  width: 100%;
}

@media (max-width: 575px) {
  .map-area {
    height: 450px;
  }
}

.map-area iframe {
  height: 100%;
  width: 100%;
}

.preview .hero-section {
  background-image: url("../img/preview/preview-mockup.html");
}

@media (max-width: 575px) {
  .preview .hero-section {
    background-position: top left;
    padding: 70px 0;
  }

  .preview .hero-section h1 {
    font-size: 2.3rem;
  }
}

.preview .hero-content .btn {
  background-image: none;
  background-color: var(--secondary-color);
}

.preview .hero-content .icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-right: 0.25rem !important;
  border-radius: 50%;
  background-color: rgba(144, 145, 156, 0.35);
}

.preview .hero-content .icon::before {
  content: "";
  background-image: url("../img/preview/envato-logo.html");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 26px;
  height: 26px;
}

.preview .single-preview>a>img {
  box-shadow: 0 0.313rem 0.875rem var(--secondary-l-color);
  border-radius: 8px;
  transition: all 0.3s ease 0s;
}

.preview .single-preview h6 {
  color: #555;
  transition: all 0.3s ease 0s;
}

@media (max-width: 575px) {
  .preview .single-preview h6 {
    margin-bottom: 0;
  }
}

.preview .single-preview:hover>a>img {
  transform: translateY(-10px);
  box-shadow: 0 0.313rem 0.875rem rgba(45, 49, 54, 0.12);
}

.preview .review-item {
  padding: 2rem;
  background-color: #fff;
  border-radius: var(--border-radius-md);
}

.preview .review-item p {
  color: var(--primary-p-color);
}

.preview .review-item .icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-right: 0.8rem !important;
  border-radius: 50%;
  background-color: rgba(144, 145, 156, 0.35);
}

.preview .review-item .icon::before {
  content: "";
  background-image: url("../img/preview/envato-logo-dark.html");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 26px;
  height: 26px;
}

.preview .review-item span:last-child {
  color: #555;
}

/*----------------------------------------------
10. Modal
----------------------------------------------*/
/* #region Modal */
.modal-open {
  overflow-x: hidden;
  overflow-y: hidden;
}

.modal-dialog-slideout {
  min-height: 100%;
  margin: 0 0 0 auto;
}

.modal.fade .modal-dialog.modal-dialog-slideout {
  height: 100%;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
  transform: translate(100%, 0) scale(1);
}

.modal.fade.show .modal-dialog.modal-dialog-slideout {
  display: flex;
  align-items: start;
  height: 100%;
  transform: translate(0, 0);
}

.modal-content {
  overflow-x: hidden;
  border: none;
  border-radius: 0;
  background-color: var(--primary-bg-color);
}

.modal-content.full {
  height: 100%;
}

.modal-header {
  align-items: center;
  padding: 25px;
  border: none;
  border-radius: 0;
  font-weight: 600;
  color: var(--primary-t-color);
}

.modal-header .modal-title {
  line-height: 0;
}

.modal-header .icon-close {
  font-size: 24px;
  cursor: pointer;
}

.modal-body {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 25px 25px 75px;
}

/* #endregion Modal */
/*----------------------------------------------
11. Blog
----------------------------------------------*/
/* #region Blog */
.blog-item .card-thumb {
  display: block;
  overflow: hidden;
}

.blog-item .card-thumb img {
  object-fit: cover;
  transition: all var(--transition-function) var(--transition-duration);
}

.blog-item .post-author {
  font-weight: 500;
}

.blog-item .card-content .post-meta span:not(.post-author),
.blog-item .card-overlay .post-meta span:not(.post-author) {
  opacity: 0.85;
}

.blog-item .card-content .title,
.blog-item .card-overlay .title {
  margin: 16px 0;
  letter-spacing: -0.02em;
}

.blog-item .card-content .title a,
.blog-item .card-overlay .title a {
  font-size: 1.5rem;
  color: var(--primary-t-color);
  display: inline;
  padding-bottom: 5px;
  background-image: linear-gradient(to right, var(--primary-t-color) 0%, var(--primary-t-color) 100%);
  background-size: 100% 5%;
  background-repeat: no-repeat;
  background-position: left 80%;
  transition: all 0.4s ease;
}

.blog-item:hover .card-content .title a,
.blog-item:hover .card-overlay .title a {
  background-size: 0% 5%;
}

.blog-item.scale:hover .card-thumb img {
  transform: var(--transform-scale);
}

.blog-item.has-shadow .card-thumb::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 85%;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(3, 7, 18, 0)), to(rgba(3, 7, 18, 0.45)));
  background: linear-gradient(180deg, rgba(3, 7, 18, 0), rgba(3, 7, 18, 0.45));
  -webkit-transition: opacity var(--transition-function) var(--transition-duration);
  transition: opacity var(--transition-function) var(--transition-duration);
}

.blog-item.layout-2 .card-overlay {
  color: var(--white-color);
}

.blog-item.layout-2 .card-overlay .title a {
  background-image: linear-gradient(to right, var(--white-color) 0%, var(--white-color) 100%);
  color: var(--white-color);
}

.blog-item.layout-2 .card-overlay:not(.top) {
  background: 17, 16, 19;
  background: linear-gradient(360deg, rgba(17, 16, 19, 0.5) 0%, rgba(17, 16, 19, 0) 100%);
}

.blog-single .post-thumbnail img {
  width: 100%;
  max-height: 550px;
  object-fit: cover;
  border-radius: calc(var(--border-radius-sm) / 2);
}

.blog-single .author span {
  font-weight: 500;
}

.blog-single .comments .nav-link {
  font-weight: 500;
}

ul.page-numbers,
.page-links {
  display: flex;
  width: fit-content;
  padding-left: 0;
  margin: 35px auto;
  border-radius: 0.25rem;
  list-style: none;
  transition: all var(--transition-function) var(--transition-duration);
}

ul.page-numbers li {
  margin: 0;
  font-weight: 500;
}

a.page-numbers:not(.btn),
span.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: calc(var(--border-radius-sm) / 2);
  font-weight: 500;
  color: var(--primary-t-color);
}

a.page-numbers:not(.btn).current,
span.page-numbers.current {
  background-color: var(--primary-color);
  color: var(--white-color);
}

a.page-numbers:not(.btn):hover:not(.current),
span.page-numbers:hover:not(.current) {
  color: var(--primary-color);
}

.sidebar {
  padding: 40px;
  background-color: var(--primary-bg-color-2);
  border-radius: var(--border-radius-sm);
}

@media (max-width: 575px) {
  .sidebar {
    padding: 30px;
  }
}

.sidebar .item {
  margin-bottom: 35px;
}

.sidebar .widget {
  margin-bottom: 45px;
}

.sidebar .widget li:not(:last-child) {
  border-bottom: 1px solid var(--primary-l-color);
}

.sidebar .widget:last-child {
  margin: 0;
}

.sidebar ul {
  padding-left: 0;
}

.sidebar ul li {
  margin: 0;
  padding: 0.5rem 0;
}

.sidebar ul li a:not(.btn):not(:hover) {
  color: inherit;
}

.sidebar ul li .nav-link {
  padding: 0;
  font-weight: 500;
}

.sidebar ul li .badge {
  justify-content: center;
  align-items: center;
  height: 2rem;
  width: 2rem;
  padding: 0.5rem;
  border-radius: 50rem;
}

.sidebar ul li .badge:not(:hover) {
  color: var(--primary-color);
}

.related-posts .blog-item {
  padding: 1rem 0;
  border-radius: 0;
}

.related-posts .blog-item .image-holder {
  border-radius: 0;
}

.related-posts .blog-item .image-holder img {
  object-fit: contain;
  border-radius: calc(var(--border-radius-sm) / 2);
}

.related-posts .blog-item .card-content .title a,
.related-posts .blog-item .card-overlay .title a {
  font-size: 1.2rem;
  line-height: 1;
}

/* #endregion Blog */
/*----------------------------------------------
12. All Media Queries
----------------------------------------------*/
/* own styling start */
/* Mobile First Approach */





/* css for topper */




/* Controls Section */
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.search-container {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-container input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  outline: none;
  transition: box-shadow 0.3s ease;
}

.search-container input:focus {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.view-toggle {
  display: flex;
  gap: 10px;
}

.view-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.view-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.view-btn.active {
  background: white;
  color: #667eea;
}

/* Carousel Styles */
.carousel-container {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel {
  flex: 1;
  overflow: hidden;
  border-radius: 15px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-btn {
  background: #667eea;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  background: #5a6fd8;
  transform: scale(1.1);
}

.carousel-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: scale(1);
}

/* Student Card Styles */
/* Carousel slide container */
.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

/* Cards container within each slide */
.cards-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.student-card {
  flex: 1;
  max-width: 300px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
  background: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.student-card:hover {
  transform: scale(1.02);
}

.student-photo {
  width: 150px;
  height: 180px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  margin-bottom: 15px;
}

.student-photo:hover {
  transform: scale(1.05);
}

.student-info {
  text-align: center;
  flex: 1;
}

.student-info h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.student-info p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.4;
  margin-bottom: 15px;
}

.student-id {
  background: #667eea;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
}

/* Carousel Indicators */
.carousel-indicators2 {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #667eea;
  transform: scale(1.2);
}

.carousel-counter {
  text-align: center;
  margin-top: 15px;
  font-size: 1.1rem;
  color: #666;
}

/* Grid View Styles */
.grid-container {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.grid-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.grid-card .student-photo {
  width: 150px;
  height: 180px;
  margin: 0 auto 15px;
}

.grid-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
}

.grid-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: slideIn 0.3s ease;
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
  z-index: 1001;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #333;
}

.modal-body {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px;
}

.modal-body img {
  width: 200px;
  height: 250px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.modal-info {
  flex: 1;
}

.modal-info h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 15px;
}

.modal-info p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-id {
  background: #667eea;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 1rem;
  display: inline-block;
}

/* Loading Spinner */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
  color: white;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
  }

  .controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-container {
    max-width: none;
  }

  .view-toggle {
    justify-content: center;
  }

  .carousel-container {
    padding: 20px;
  }

  .cards-container {
    flex-direction: column;
    gap: 15px;
  }

  .student-card {
    max-width: none;
    min-width: auto;
  }

  .student-photo {
    width: 150px;
    height: 180px;
  }

  .student-info h3 {
    font-size: 1.5rem;
  }

  .student-info p {
    font-size: 1rem;
  }

  .carousel-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .students-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .modal-body {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }

  .modal-body img {
    width: 150px;
    height: 180px;
  }

  .modal-info h2 {
    font-size: 1.5rem;
  }

  .modal-info p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .carousel-indicators2 {
    display: none;
  }

  .students-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5a6fd8;
}

/* Smooth transitions for all interactive elements */
* {
  transition: all 0.3s ease;
}

/* Focus styles for accessibility */
button:focus,
input:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Print styles */
@media print {

  .carousel-btn,
  .carousel-indicators2,
  .controls,
  .modal {
    display: none !important;
  }

  .student-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}


/* organizer section */


/* organiser css */

/* Organizers Section Styles */
:root {
  --primary-color1: #e63946;
  --secondary-color1: #1d3557;
  --accent-color1: #f1c40f;
  --light-color1: #f8f9fa;
  --dark-color1: #1d3557;
  --text-color1: #333;
  --border-radius1: 12px;
  --box-shadow1: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.organizers-section {
  padding: 5rem 0;
  background-color: var(--light-color1);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e63946' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.section-header3 {
  margin-bottom: 4rem;
}

.section-title-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title {
  color: var(--secondary-color1);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0 1.5rem;
}

.decoration-line {
  height: 2px;
  width: 80px;
  background-color: var(--primary-color1);
}

.decoration-icon {
  margin: 0 15px;
  color: var(--primary-color1);
  font-size: 1.5rem;
}

.section-subtitle {
  color: var(--primary-color1);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  padding: 0 2rem;
}

.section-subtitle:before,
.section-subtitle:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color1);
}

.section-subtitle:before {
  left: 0;
}

.section-subtitle:after {
  right: 0;
}

/* Main Organizer Styles */
.organizer-main,
.organizer-secondary {
  background-color: white;
  border-radius: var(--border-radius1);
  overflow: hidden;
  box-shadow: var(--box-shadow1);
  margin-bottom: 3rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow1 0.3s ease;
}

.organizer-main:hover,
.organizer-secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.organizer-main:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary-color1);
}

.organizer-secondary:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background-color: var(--accent-color1);
}

.organizer-photo-container {
  position: relative;
  height: 100%;
  min-height: 350px;
  overflow: hidden;
}

.organizer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.organizer-main:hover .organizer-photo,
.organizer-secondary:hover .organizer-photo {
  transform: scale(1.05);
}

.organizer-badge {
  position: absolute;
  bottom: 20px;
  left: 0;
  background-color: var(--primary-color1);
  color: white;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.organizer-secondary .organizer-badge {
  left: auto;
  right: 0;
  background-color: var(--accent-color1);
  color: var(--dark-color1);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

.organizer-content {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.organizer-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.organizer-name {
  color: var(--secondary-color1);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.organizer-position {
  color: var(--primary-color1);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.organizer-designation {
  color: #666;
  font-size: 1rem;
  font-style: italic;
}

.organizer-bio {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.organizer-bio p {
  margin-bottom: 1rem;
  text-align: justify;
}

.organizer-message {
  background-color: rgba(241, 196, 15, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--accent-color1);
  margin-top: auto;
}

.organizer-message p {
  margin-bottom: 1rem;
  text-align: justify;
  font-style: italic;
}

.organizer-message p:last-child {
  margin-bottom: 0;
}

.event-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color1);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 2rem;
}

.event-date-badge i {
  font-size: 1.4rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.3rem;
  }
}

@media (max-width: 767px) {
  .organizer-photo-container {
    min-height: 300px;
  }

  .organizer-content {
    padding: 1.5rem;
  }

  .organizer-name {
    font-size: 1.5rem;
  }

  .organizer-position {
    font-size: 1.1rem;
  }

  .organizer-message {
    padding: 1rem;
  }

  .decoration-line {
    width: 50px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .organizer-photo-container {
    min-height: 250px;
  }

  .organizer-badge {
    font-size: 0.9rem;
    padding: 0.4rem 1.2rem;
  }
}


.carousel-item img {
  border: 7px solid #eee !important;

}

/* NDA Mock Test Section Styles */
#nda-mock-test {
  background: linear-gradient(135deg, var(--primary-bg-color) 0%, var(--primary-bg-color-2) 100%);

}

#nda-mock-test .intro .badge {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) !important;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: none;
}

#nda-mock-test .intro .badge i {
  margin-right: 0.5rem;
}

#nda-mock-test .content-box {
  border: 1px solid var(--primary-l-color);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

#nda-mock-test .content-box:hover {
  box-shadow: 0 10px 30px rgba(43, 49, 10, 0.1);
  transform: translateY(-2px);
}

#nda-mock-test .content-box.bg-light {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid var(--primary-color);
}

#nda-mock-test h3.text-primary {
  color: var(--primary-color) !important;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

#nda-mock-test h3.text-primary:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

#nda-mock-test .image-placeholder {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed var(--primary-l-color);
  transition: all 0.3s ease;
}

#nda-mock-test .image-placeholder:hover {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

/* Table Styling for NDA Mock Test Section */
#nda-mock-test .table {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#nda-mock-test .table-dark {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
}

#nda-mock-test .table-dark th {
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}

#nda-mock-test .table-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
}

#nda-mock-test .table-primary th {
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.body {
  margin-bottom: 0 !important;

}

#nda-mock-test .table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(43, 49, 10, 0.05);
}

#nda-mock-test .table-hover tbody tr:hover {
  background-color: rgba(43, 49, 10, 0.1);
  color: var(--primary-color);
}

#nda-mock-test .table-success {
  background-color: rgba(40, 167, 69, 0.1) !important;
  border-left: 4px solid #28a745;
}

#nda-mock-test .table-danger {
  background-color: rgba(220, 53, 69, 0.1) !important;
  border-left: 4px solid #dc3545;
}

#nda-mock-test .table-bordered {
  border: 1px solid var(--primary-l-color);
}

#nda-mock-test .table-bordered td,
#nda-mock-test .table-bordered th {
  border: 1px solid var(--primary-l-color);
  vertical-align: middle;
}

#nda-mock-test .table td strong,
#nda-mock-test .table th strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Mobile Responsive Styles for NDA Mock Test Section */
@media (max-width: 768px) {
  #nda-mock-test {
    padding: 3rem 0;
  }

  #nda-mock-test .intro .title {
    font-size: 2rem;
  }

  #nda-mock-test .content-box {
    padding: 1.5rem !important;
    margin-bottom: 1.5rem;
  }

  #nda-mock-test h3.text-primary {
    font-size: 1.5rem;
  }

  #nda-mock-test .image-placeholder {
    min-height: 120px !important;
  }

  #nda-mock-test .table {
    font-size: 0.875rem;
  }
}

@media (max-width: 576px) {
  #nda-mock-test .intro .badge {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  #nda-mock-test .content-box {
    padding: 1rem !important;
  }

  #nda-mock-test h3.text-primary {
    font-size: 1.25rem;
  }

  #nda-mock-test .table {
    font-size: 0.8rem;
  }

  #nda-mock-test .table td,
  #nda-mock-test .table th {
    padding: 0.5rem 0.25rem;
  }
}

/* NDA Syllabus Section Styles */
#nda-syllabus {
  background: var(--primary-bg-color-2);

}

#nda-syllabus .intro .badge {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color)) !important;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: none;
}

#nda-syllabus .intro .badge i {
  margin-right: 0.5rem;
}

#nda-syllabus .content-box {
  border: 1px solid var(--primary-l-color);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

#nda-syllabus .content-box:hover {
  box-shadow: 0 15px 35px rgba(43, 49, 10, 0.12);
  transform: translateY(-3px);
}

#nda-syllabus h3.text-primary {
  color: var(--primary-color) !important;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

#nda-syllabus h3.text-primary:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* Mathematics Syllabus Topic Styling */
.syllabus-topic {
  background: rgba(43, 49, 10, 0.02);
  border-left: 4px solid var(--primary-color);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
}

.syllabus-topic:hover {
  background: rgba(43, 49, 10, 0.05);
  border-left-color: var(--secondary-color);
}

.topic-title {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.topic-number {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 0.75rem;
  font-size: 0.875rem;
}

.topic-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.topic-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: var(--primary-p-color);
}

.topic-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
}

.topic-list.compact li {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

/* GAT Section Styling */
.gat-section {
  background: white;
  transition: all 0.3s ease;
  height: 100%;
}

.gat-section:hover {
  box-shadow: 0 8px 25px rgba(43, 49, 10, 0.1);
  transform: translateY(-2px);
}

.section-heading {
  color: var(--secondary-color) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-l-color);
  padding-bottom: 0.5rem;
}

.gk-topic {
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 0.75rem;
}

.gk-topic:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gk-title {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

.gk-title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* SSB Stage Styling */
.ssb-stage {
  background: white;
  transition: all 0.3s ease;
  height: 100%;
}

.ssb-stage:hover {
  box-shadow: 0 8px 25px rgba(43, 49, 10, 0.1);
  transform: translateY(-2px);
}

.stage-title {
  margin: -1rem -1rem 1rem -1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.stage-title.bg-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) !important;
}

.stage-title.bg-secondary {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color)) !important;
}

/* Mobile Responsive Styles for NDA Syllabus Section */
@media (max-width: 768px) {
  #nda-syllabus {
    padding: 3rem 0;
  }

  #nda-syllabus .intro .title {
    font-size: 2rem;
  }

  #nda-syllabus .content-box {
    padding: 1.5rem !important;
    margin-bottom: 1.5rem;
  }

  #nda-syllabus h3.text-primary {
    font-size: 1.5rem;
  }

  .syllabus-topic {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  .topic-title {
    font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .topic-number {
    margin-bottom: 0.5rem;
    margin-right: 0;
  }

  .gat-section,
  .ssb-stage {
    padding: 1rem !important;
    margin-bottom: 1rem;
  }

  .section-heading {
    font-size: 1.1rem;
  }

  .gk-title {
    font-size: 0.95rem;
  }

  .stage-title {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  #nda-syllabus .intro .badge {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  #nda-syllabus .content-box {
    padding: 1rem !important;
  }

  #nda-syllabus h3.text-primary {
    font-size: 1.25rem;
  }

  .syllabus-topic {
    padding: 0.5rem;
  }

  .topic-list li {
    font-size: 0.875rem;
  }

  .topic-list.compact li {
    font-size: 0.8rem;
  }

  .gk-title {
    font-size: 0.9rem;
    padding-left: 0.75rem;
  }

  .gk-title:before {
    width: 3px;
  }
}

/* NDA Exam Pattern & Eligibility Section Styles */
#nda-exam-pattern {
  background: linear-gradient(135deg, var(--primary-bg-color) 0%, var(--primary-bg-color-2) 100%);

}

#nda-exam-pattern .intro .badge {
  background: linear-gradient(45deg, #28a745, #20c997) !important;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: none;
}

#nda-exam-pattern .intro .badge i {
  margin-right: 0.5rem;
}

#nda-exam-pattern .content-box {
  border: 1px solid var(--primary-l-color);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

#nda-exam-pattern .content-box:hover {
  box-shadow: 0 15px 35px rgba(43, 49, 10, 0.12);
  transform: translateY(-3px);
}

#nda-exam-pattern h3.text-primary {
  color: var(--primary-color) !important;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

#nda-exam-pattern h3.text-primary:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* Exam Pattern Table Styling */
.exam-pattern-table {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.exam-pattern-table .table-dark {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
}

.exam-pattern-table .table-dark th {
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
}

.exam-pattern-table tbody tr:hover {
  background-color: rgba(43, 49, 10, 0.08);
}

.marks-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.marks-badge.bg-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)) !important;
}

/* SSB Pattern Card Styling */
.ssb-pattern-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ssb-pattern-card:hover {
  box-shadow: 0 15px 30px rgba(43, 49, 10, 0.15);
  transform: translateY(-5px);
}

.ssb-pattern-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.ssb-icon {
  padding: 1rem;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 50%;
  display: inline-block;
}

.marks-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.total-marks {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.marks-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Eligibility Table Styling */
.eligibility-table {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.eligibility-table td {
  vertical-align: middle;
  padding: 1rem 0.75rem;
}

.criteria-label {
  background: rgba(43, 49, 10, 0.05);
  color: var(--primary-color);
  font-weight: 600;
  width: 35%;
  border-right: 2px solid var(--primary-l-color);
}

.eligibility-badge {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-block;
}

.highlight-row {
  background: rgba(40, 167, 69, 0.05);
}

.highlight-row:hover {
  background: rgba(40, 167, 69, 0.1);
}

/* Mobile Responsive Styles for Exam Pattern Section */
@media (max-width: 768px) {
  #nda-exam-pattern {
    padding: 3rem 0;
  }

  #nda-exam-pattern .intro .title {
    font-size: 2rem;
  }

  #nda-exam-pattern .content-box {
    padding: 1.5rem !important;
    margin-bottom: 1.5rem;
  }

  #nda-exam-pattern h3.text-primary {
    font-size: 1.5rem;
  }

  .exam-pattern-table {
    font-size: 0.875rem;
  }

  .exam-pattern-table th,
  .exam-pattern-table td {
    padding: 0.75rem 0.5rem;
  }

  .ssb-pattern-card {
    padding: 1.5rem !important;
  }

  .total-marks {
    font-size: 2.5rem;
  }

  .eligibility-table {
    font-size: 0.875rem;
  }

  .criteria-label {
    width: 40%;
    font-size: 0.8rem;
  }

  .eligibility-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
  }
}

@media (max-width: 576px) {
  #nda-exam-pattern .intro .badge {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  #nda-exam-pattern .content-box {
    padding: 1rem !important;
  }

  #nda-exam-pattern h3.text-primary {
    font-size: 1.25rem;
  }

  .exam-pattern-table {
    font-size: 0.8rem;
  }

  .exam-pattern-table th,
  .exam-pattern-table td {
    padding: 0.5rem 0.25rem;
  }

  .marks-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }

  .ssb-pattern-card {
    padding: 1rem !important;
  }

  .total-marks {
    font-size: 2rem;
  }

  .marks-label {
    font-size: 0.875rem;
  }

  .eligibility-table td {
    padding: 0.75rem 0.5rem;
  }

  .criteria-label {
    width: 45%;
    font-size: 0.75rem;
  }

  .eligibility-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
}


/* ================================
   Why Join NDA Section
================================ */
#why-join-nda {
  background-color: var(--primary-bg-color-2);

}

#why-join-nda .intro .badge {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#why-join-nda .intro .title {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  color: var(--primary-color);
  line-height: 1.3;
}

.reason-card {
  background: var(--white-color);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-duration) var(--transition-function),
    box-shadow var(--transition-duration) var(--transition-function);
  text-align: center;
}

.reason-card:hover {
  transform: var(--transform-scale);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.reason-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--white-color);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reason-title {
  font-size: var(--h4-size);
  font-weight: var(--h4-weight);
  color: var(--primary-t-color);
  margin-bottom: 0.75rem;
}

.reason-text {
  font-size: var(--p-size);
  color: var(--primary-p-color);
  line-height: 1.6;
}

/* Travel Card Special Style */
.travel-card {
  background: linear-gradient(135deg, #fff, #fef8e7);
}

/* Call to Action Box */
#why-join-nda .cta-box {
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-duration) var(--transition-function);
}

#why-join-nda .cta-box:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#why-join-nda .cta-box h4 {
  font-size: var(--h4-size);
  font-weight: var(--h4-weight);
}

#why-join-nda .cta-box p {
  font-size: var(--p-size);
  color: var(--primary-p-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #why-join-nda {
    padding: 60px 0;
  }

  #why-join-nda .intro .title {
    font-size: 1.75rem;
  }

  .reason-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
  }
}



/* new section style */
/* ================================
   NDA Test Series Section
================================ */
#nda-test-series {
  background-color: var(--primary-bg-color-2);
  padding: 80px 0;
}

#nda-test-series .badge {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white !important;
}

#nda-test-series .title {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  color: var(--primary-color);
}

#nda-test-series .subtitle {
  font-size: 1.1rem;
  color: var(--primary-p-color);
  max-width: 700px;
  margin: 0 auto;
}

.test-card {
  background: var(--white-color);
  border-radius: var(--border-radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition-duration) var(--transition-function),
    box-shadow var(--transition-duration) var(--transition-function);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.test-card:hover {
  transform: var(--transform-scale);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.test-icon {
  font-size: 2.5rem;
  color: var(--white-color);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.test-card h4 {
  font-size: var(--h4-size);
  font-weight: var(--h4-weight);
  margin-bottom: 0.75rem;
  color: var(--primary-t-color);
}

.test-card p {
  font-size: var(--p-size);
  color: var(--primary-p-color);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  #nda-test-series {
    padding: 60px 0;
  }

  #nda-test-series .title {
    font-size: 1.75rem;
  }

  .test-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}

/* button css */
/* button css */
/* ===========================
   SECTION WRAPPER (full width)
=========================== */
.full-width-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: #f6f6f6;
  /* Light Grey Background */
}

/* ===========================
   CENTERED CONTENT AREA (WIDE)
=========================== */
.class-content {
  width: 100%;
  max-width: 1400px;
  /* UPDATED → Wider, reduces right white space */
  margin: 0 auto;
  padding: 20px 20px;
}

/* ===========================
   CARD BOX (PREMIUM LOOK)
=========================== */
.content-box {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  width: 100%;
  max-width: 1200px;
  /* NEW → Beautiful Medium Card Width */
  margin: 20px auto;
  /* Center the card */
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.10);
  border-left: 4px solid #4b5320;
}

/* ===========================
   TABLE STYLE
=========================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* ======= NEWLY ADDED (Medium width tables on Desktop) ======= */
@media (min-width: 992px) {
  .table-responsive {
    max-width: 720px;
    /* Medium size like your 2nd screenshot */
    margin: 0 auto;
    /* Center the table */
  }
}

/* ============================================================ */

.table thead th {
  background: #111 !important;
  color: #fff !important;
  font-weight: 600;
}

.table tbody tr td {
  padding: 15px;
  font-size: 16px;
}

.table tbody tr:nth-child(even) {
  background: #f7f7f7;
}

/* ===========================
   BUTTON DESIGN
=========================== */
.class-buttons .btn {
  font-size: 18px;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
}

.class-btn {
  transition: 0.3s ease;
}

.active-btn {
  background-color: #0056d2 !important;
  color: #fff !important;
  transform: scale(1.08);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* ===========================
   ANIMATION
=========================== */
.class-section {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   RESPONSIVE TABLE (Mobile)
=========================== */
@media (max-width: 768px) {
  .content-box {
    padding: 20px;
    max-width: 100%;
  }

  table.table th,
  table.table td {
    white-space: normal;
    padding: 8px;
    font-size: 14px;
  }
}

/* ===========================
   WHY APPLY HEADING
=========================== */
@media (min-width: 992px) {
  .why-sch-heading {
    max-width: 900px !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: block !important;
  }
}

/* Heading section wrapper */
.section-heading-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

/* FIX: Remove transparency from content-section */
.content-section,
.primary-bg,
.features-section,
.work-section,
.has-overlay,
.overlay-gradient {
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* =========== FORCE: remove double-background & overlays ===========
   Paste this at the VERY END of your main CSS file (style.css)
   ================================================================== */

/* 1) hide the top raw images (desktop/mobile) — safe fallback */
.main>img.hide-on-desktop,
.main>img.hide-on-mobile,
.main>img {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 2) remove overlay pseudo-elements that create layered backgrounds */
.has-overlay::after,
.overlay-gradient::after,
.overlay-dark::after,
.has-overlay:before,
.overlay-gradient:before {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}

/* 3) force main content sections to have solid bg so nothing behind shows through */
section,
.content-section,
.primary-bg,
.features-section,
.work-section,
.full-width-wrapper,
.hero-section,
.download-area,
.screenshots-area,
.team-area {
  background-color: #ffffff !important;
  background-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}



.content-box,
.card,
.image-holder,
.organizer-photo-container,
.intro,
.class-section,
.full-width-wrapper {
  position: relative !important;
  z-index: 1 !important;
}

/* small helper: if any element uses inline background image on body, neutralize */
body,
.main {
  background-image: none !important;
  background-color: #ffffff !important;
}

/* 1) Remove main background images (if you don't want to delete from HTML) */
.main>img.hide-on-mobile,
.main>img.hide-on-desktop,
.main>img {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

/* 2) Remove overlay pseudo-elements that create the layered/blur background */
.has-overlay::after,
.overlay-gradient::after,
.overlay-dark::after,
.has-overlay:before,
.overlay-gradient:before {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}

/* 3) Force hero / main sections to plain white background so nothing shows through */
.hero-section,
.hero-section.layout-1,
.hero-section.layout-2,
.hero-section.layout-3,
.hero-section.layout-4,
.hero-section.layout-5,
.section,
.content-section,
.primary-bg,
.full-width-wrapper,
.download-area,
.download-page {
  background: #ffffff !important;
  background-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}



.content-box,
.image-box,
.card,
.item,
.intro,
.class-section {
  position: relative !important;
  z-index: 1 !important;
  margin: 0 !important;
  top: auto !important;
}

/* gap css */
/* Remove top gap above this test series section */
#nda-test-series {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Also remove default spacing applied by content-section / primary-bg */
.content-section,
.primary-bg {
  padding-top: 20px !important;
  /* कमी हवं असेल तर 0 करा */
  margin-top: 0 !important;
}

.active-btn {
  background: #2e3d16 !important;
  transform: scale(1.05);
}

/* navodaya section */
/* .active-btn {
    background-color: #3a431b !important;
    color: #fff !important;
    transform: scale(1.03);
} */
/* .active-btn {
    background-color: #3a431b !important;
    color: #fff !important;
} */
.active-btn {
  background-color: #3a431b !important;
  color: #fff !important;
}

.exam-section {
  display: none;
  /* hide all by default */
}

.class-btn.active {
  background: #41551a !important;
  border-color: #41551a !important;
  color: #fff !important;
}


/* gap */
.full-width-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

h2,
h1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.full-width-wrapper {
  margin-top: 10px;
}

/* remove big gap */
section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#pricing {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove bottom space from previous section */
.previous-section,
.hero,
.banner,
.top-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Optional: remove body space */
body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

section:last-of-type {
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove extra white block generated after card section */
section+section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* If a card/slider wrapper is causing white area */
.white-bg,
.blank-section,
.steps-area,
.process-area {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

section {
  padding-bottom: 0 !important;
}

/* hero section */
.hero-section {
  position: relative;
  padding: 80px 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-form {
  background: #ffffffd9;
  border-radius: 12px;
  padding: 25px;
}

/* 123*/
.hero-form:hover {
  transform: translateY(-3px);
  transition: 0.3s;
}

.form-floating label {
  font-size: 14px;
}

.btn-primary {
  font-size: 18px;
  font-weight: 600;
}

/* btn*/
.exam-section {
  display: none;
}

.class-btn.active {
  background: #3a431b !important;
  color: #fff !important;
}


/* extra button moves upward */
.exam-section {
  display: none;
  margin-top: 20px;
  /* keeps layout stable when switching */
}

.active-btn {
  background: #3a431b !important;
  color: #fff !important;
}

/* navbar css */






/* about css start*/
/* === CAT4 Info Cards Section === */
.cat4-info-cards {
  padding: 70px 0 60px;
  background: #f5f7ff;
  margin-top: 0 !important;
  /* removes gap above this section */
}

.cat4-info-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #002b62;
  margin-bottom: 8px;
}

.cat4-info-subtitle {
  text-align: center;
  color: #64708c;
  margin-bottom: 32px;
  font-size: 16px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

/* GRID — desktop 3 cards per row */
.cat4-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .cat4-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cat4-card-grid {
    grid-template-columns: 1fr;
  }
}

/* CARD BASE */

.cat4-card {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
  border: none;
  padding: 22px 20px;
  position: relative;
}

/* LIGHT COLOR FOR EACH CARD */
.cat4-card:nth-child(1) {
  background: #e9f3ff;
}

/* Light Blue */
.cat4-card:nth-child(2) {
  background: #fff3e6;
}

/* Light Peach */
.cat4-card:nth-child(3) {
  background: #eafff8;
}

/* Light Aqua */
.cat4-card:nth-child(4) {
  background: #f1e9ff;
}

/* Light Lavender */
.cat4-card:nth-child(5) {
  background: #eaffea;
}

/* Light Mint */
.cat4-card:nth-child(6) {
  background: #ffe8f0;
}

/* Light Rose */

/* Title inside centered */
.cat4-card h3 {
  font-size: 18px;
  margin: 0;
  line-height: 1.35;
  padding: 0 12px;
}

/* HOVER EFFECT */
.cat4-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  border-color: #0072ff;
}

/* Subtle glow after hover */
.cat4-card:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(50, 132, 255, 0.25);
  pointer-events: none;
}

/* Support optional icons inside cards */
.cat4-card-icon {
  font-size: 26px;
  margin-bottom: 8px;
  display: block;
  color: #002b62;
}

/* Responsive grid */
@media (max-width: 992px) {
  .cat4-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .cat4-card-grid {
    grid-template-columns: 1fr;
  }

  .cat4-card {
    height: auto;
    padding: 26px 18px;
  }
}

/* Hidden detail blocks (source for popup) */
.cat4-detail {
  display: none;
}

/* === POPUP MODAL === */
.cat4-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup Box */
.cat4-modal {
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  border-radius: 26px;
  max-width: 760px;
  width: 90%;
  padding: 38px 46px 34px;
  box-shadow: 0 25px 70px rgba(0, 74, 173, 0.25);
  position: relative;
  animation: modalZoom .32s ease-out;
}

/* Popup Heading */
.cat4-modal h3 {
  font-size: 26px;
  font-weight: 700;
  color: #003a9d;
  margin-bottom: 14px;
}

/* Popup Text */
#cat4ModalBody p,
#cat4ModalBody li {
  font-size: 17px;
  line-height: 1.65;
  color: #1f2a44;
}

#cat4ModalBody ul {
  padding-left: 20px;
}

/* Close button */
.cat4-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #003a9d;
  transition: 0.2s;
}

.cat4-modal-close:hover {
  color: #001f6b;
  transform: scale(1.18);
}

/* Show popup */
.cat4-modal-overlay.active {
  display: flex;
}

/* Open animation */
@keyframes modalZoom {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Background for About CAT4 Exam section */
.cat4-about-modern {
  background: #eef5ff !important;
  /* Light blue premium BG */
}

/* Alternative if needed */
.cat4-card-grid {
  margin-bottom: 80px;
}


/* about us */
/* === CAT4 ABOUT GRID SECTION === */
.cat4-about-modern {
  padding: 90px 0 70px;
  background: #f2f7ff;
  text-align: center;
}

/* Heading & tagline */
.cat4-about-top h2 {
  font-size: 40px;
  font-weight: 800;
  color: #002b62;
  margin-bottom: 10px;
}

.cat4-about-top p {
  font-size: 18px;
  color: #334466;
  margin-bottom: 48px;
}

/* Grid cards */
.cat4-about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: auto;
}

/* Card base style */
.cat4-about-card {
  padding: 34px 20px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

/* NEW PREMIUM COLORS */
.cat4-about-card:nth-child(1) {
  background: #d9e9ff;
}

/* Cool Sky Blue */
.cat4-about-card:nth-child(2) {
  background: #ffe4c8;
}

/* Soft Apricot */
.cat4-about-card:nth-child(3) {
  background: #dfffe8;
}

/* Calm Mint */
.cat4-about-card:nth-child(4) {
  background: #ebe2ff;
}

/* Soft Lavender */

/* Text dark */
.cat4-about-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #102544;
  font-weight: 700;
}

.cat4-about-card p {
  font-size: 15.5px;
  color: #2e3a52;
  font-weight: 500;
}

/* Hover animation */
.cat4-about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Bottom note */
.cat4-about-note {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.6;
  color: #22324e;
}

/* Responsive */
@media (max-width: 992px) {
  .cat4-about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cat4-about-grid {
    grid-template-columns: 1fr;
  }

  .cat4-about-top h2 {
    font-size: 32px;
  }
}

/* Background for About CAT4 Exam section */
.cat4-about-modern {
  background: #eef5ff !important;
  /* Light blue premium BG */
}

/* button css */
/* WRAPPER */
.cat4-wrapper {
  display: flex;
  gap: 26px;
  margin-top: 50px;
}

/* SIDEBAR BOX */
.cat4-sidebar {
  width: 250px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  height: 480px;
  /* compact sidebar */
  overflow-y: auto;
  /* scroll inside sidebar */
  position: sticky;
  top: 100px;
}

/* SIDEBAR TITLE */
.side-title {
  background: linear-gradient(135deg, #005bff, #8a3fff);
  color: #fff;
  text-align: center;
  padding: 17px 0;
  font-size: 18px;
  font-weight: 600;
  border-radius: 18px 18px 0 0;
  margin: 0;
}

/* SIDEBAR OPTIONS */
#yearList {
  padding: 0;
  margin: 0;
  list-style: none;
}

#yearList li {
  padding: 15px 20px;
  border-bottom: 1px solid #eef3ff;
  cursor: pointer;
  font-size: 16px;
  color: #26324d;
  transition: 0.25s;
}

/* HOVER AND ACTIVE */
#yearList li:hover {
  background: #f0f5ff;
  color: #005bff;
}

#yearList li.active {
  background: linear-gradient(135deg, #005bff, #8a3fff);
  color: #ffffff;
  font-weight: 600;
  margin: 6px;
  border-radius: 10px;
}

/* SCROLLBAR */
.cat4-sidebar::-webkit-scrollbar {
  width: 6px;
}

.cat4-sidebar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.20);
  border-radius: 12px;
}

/* RIGHT CONTENT */
.cat4-content {
  flex: 1;
  background: transparent;
  padding: 4px 4px;
}

.main-title {
  font-size: 34px;
  font-weight: 700;
  color: #002b62;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 17px;
  color: #63738c;
  margin-bottom: 22px;
}

/* add sub */
/* SUBJECT CARD GRID */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 25px;
}

/* SUBJECT CARD */
.subject-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 22px;
  cursor: pointer;
  transition: 0.25s;
  border: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  text-align: center;
}

/* Light pastel colors per subject */
.subject-card:nth-child(1) {
  background: #e9f3ff;
}

/* Light Blue */
.subject-card:nth-child(2) {
  background: #fff3e6;
}

/* Light Peach */
.subject-card:nth-child(3) {
  background: #eafff8;
}

/* Light Aqua */
.subject-card:nth-child(4) {
  background: #f1e9ff;
}

/* Light Lavender */

.subject-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #002d69;
  margin-bottom: 10px;
}

.subject-card p {
  font-size: 14px;
  font-weight: 500;
  color: #404f66;
  margin: 0;
}

.subject-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Background for About CAT4 Exam section */
.cat4-about-modern {
  background: #eef5ff !important;
  /* Light blue premium BG */
}

.subtopic-list {
  list-style: disc;
  margin-top: 10px;
  padding-left: 22px;
}

.subtopic-list li {
  margin-bottom: 6px;
  color: #30405a;
  font-size: 15px;
}

/* small button */
.subject-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.subject-card {
  width: 44%;
  /* smaller size so 2 cards in 1 row */
  padding: 14px 12px;
  /* reduced height */
  border-radius: 14px;
  background: #f4f8ff;
  cursor: pointer;
  text-align: center;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.subject-card h3 {
  font-size: 17px;
  margin-bottom: 4px;
  font-weight: 600;
}

.subject-card p {
  font-size: 14px;
  opacity: 0.8;
}

.subject-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

@media (max-width: 576px) {
  .subject-card {
    width: 100%;
    /* on mobile, 1 in each row */
  }
}

/* subjects */
/* Compact Elegant Table */
.syllabus-container {
  max-width: 900px;
  margin: 30px auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Title & Description */
.chapter-heading {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-top: 30px;
  color: #002b5c;
}

.chapter-desc {
  text-align: center;
  font-size: 16px;
  margin-bottom: 20px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}

/* Header */
.table-header {
  display: grid;
  grid-template-columns: 100px 260px auto;
  background: #002b5c;
  color: white;
  font-size: 18px;
  font-weight: 600;
  padding: 15px 25px;
}

/* Table Row */
.table-row {
  display: grid;
  grid-template-columns: 100px 260px auto;
  padding: 18px 25px;
  font-size: 16px;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

/* Sub list format */
.table-row ul {
  margin: 0;
  padding-left: 18px;
}

.table-row li {
  margin-bottom: 4px;
}

/* Hover effect */
.table-row:hover {
  background: #f7faff;
}

/* Mobile Responsive */
@media (max-width: 768px) {

  .table-header,
  .table-row {
    grid-template-columns: 70px 1fr;
  }

  .table-row div:nth-child(3) {
    grid-column: span 2;
    margin-top: 6px;
  }
}

/* table css */
.subject-grid {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.subject-card {
  background: #0a2c63;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
}

.subject-card:hover {
  background: #073971;
}

.subject-card.active {
  background: #092852;
  outline: 2px solid #bcd3ff;
}

#chapterContainer {
  background: #ffffff;
  border: 1px solid #dce3f2;
  border-radius: 12px;
  padding: 20px;
  margin-top: 18px;
  width: 100%;
  max-width: 900px;
}

/* TABLE LOOK */
.simple-topic-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin-top: 10px;
}

.simple-topic-table thead th {
  background: #0a2c63;
  color: white;
  padding: 10px;
  font-size: 17px;
  border: 1px solid #0a2c63;
  text-align: left;

  /* ⭐ Makes heading fixed while scrolling */
  position: sticky;
  top: 0;
  z-index: 50;
}

.simple-topic-table td {
  padding: 10px;
  border: 1px solid #d8dce5;
  vertical-align: top;
}

.subtopic-list {
  margin: 0;
  padding-left: 18px;
}

.chapter-card {
  margin-bottom: 5px;
}

/* 🔥 Scroll container for entire table */
.cat4-content {
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 5px;
}

/* 🔥 Mobile Responsive Table */
@media (max-width: 768px) {
  .simple-topic-table thead {
    display: none;
    /* Hide big table header on small screens */
  }

  .simple-topic-table,
  .simple-topic-table tbody,
  .simple-topic-table tr,
  .simple-topic-table td {
    display: block;
    width: 100%;
  }

  .simple-topic-table tr {
    margin-bottom: 18px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 12px;
  }

  .simple-topic-table td {
    border: none !important;
    padding: 6px 4px;
  }

  /* 🔹 Labels (so users know which field is this) */
  .simple-topic-table td::before {
    content: attr(data-label);
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
    color: #0a2c63;
  }
}

/* button css */
.subject-tabs {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.tab-btn {
  background: #0a2c63;
  color: white;
  border: none;
  padding: 10px 26px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: .25s;
}

.tab-btn:hover {
  background: #0d3a82;
}

.tab-btn.active {
  background: #062143;
  border: 2px solid #bcd4ff;
}

#chapterContainer {
  background: #ffffff;
  border: 1px solid #dce3f2;
  border-radius: 12px;
  padding: 22px;
  margin-top: 15px;
  width: 100%;
  max-width: 880px;
}

.simple-topic-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.simple-topic-table thead th {
  background: #0a2c63;
  color: white;
  padding: 12px;
  font-size: 17px;
  text-align: left;
}

.simple-topic-table td {
  border: 1px solid #d8dce5;
  padding: 12px;
  vertical-align: top;
}

html,
body {
  scroll-behavior: auto !important;
}

.cat4-content {
  scroll-behavior: auto !important;
}

/* sidebar alignment */
/* MAIN WRAPPER */
.cat4-wrapper {
  display: flex;
  gap: 24px;
  max-width: 1300px;
  margin: auto;
  padding: 20px;
  align-items: flex-start;
}

/* SIDEBAR */
.cat4-sidebar {
  width: 250px;
  min-width: 250px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 0;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 90px;
  height: fit-content;
}

/* Sidebar items */
#yearList li {
  padding: 13px 26px;
  cursor: pointer;
  font-size: 17px;
  border-radius: 10px;
  margin-bottom: 6px;
  transition: .25s;
}

#yearList li:hover {
  background: rgba(0, 115, 255, 0.08);
}

#yearList li.active {
  background: linear-gradient(90deg, #0046ff, #9b2dff);
  color: #fff;
}

/* CONTENT AREA */
.cat4-content {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.07);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

/* Table fix */
.simple-topic-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.simple-topic-table th {
  background: #022f63;
  color: white;
  padding: 14px;
  font-size: 17px;
}

.simple-topic-table td {
  border: 1px solid #dcdcdc;
  padding: 14px;
  vertical-align: top;
  font-size: 15px;
}

/* Prevent page flicking on click */
.cat4-content::-webkit-scrollbar {
  width: 7px;
}

.cat4-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 850px) {
  .cat4-wrapper {
    flex-direction: column;
    padding: 12px;
  }

  .cat4-sidebar {
    width: 100%;
    min-width: 100%;
    position: relative;
    top: 0;
  }

  #yearList li {
    text-align: center;
  }

  .cat4-content {
    max-height: none;
    overflow-y: visible;
  }

  .simple-topic-table th,
  .simple-topic-table td {
    font-size: 14px;
  }
}

/* Extra small screens */
@media (max-width: 540px) {
  .simple-topic-table {
    display: block;
    overflow-x: auto;
  }
}

/* implement */
#cat4Output {
  margin-top: -35px;
}

body {
  background: #f4f9ff;
  /* Professional light blue */
}

.tab-btn {
  border-radius: 30px;
  padding: 10px 28px;
  font-weight: 600;
  border: 1px solid #0038A8;
  background: white;
  color: #0038A8;
}

.tab-btn.active {
  background: #0038A8;
  color: white;
}

.tab-btn {
  border-radius: 30px;
  padding: 10px 28px;
  font-weight: 600;
  border: 1px solid #0038A8;
  background: white;
  color: #0038A8;
}

.tab-btn.active {
  background: #0038A8;
  color: white;
}

.subject-tabs-container {
  position: sticky;
  top: 10px;
  background: #fff;
  padding: 8px 0;
  z-index: 20;
}

v.simple-topic-table tr:nth-child(even) {
  background: #f8fbff;
}

.simple-topic-table {
  border-radius: 14px;
  overflow: hidden;
}

.simple-topic-table tr:nth-child(even) {
  background: #f8fbff;
}

.simple-topic-table {
  border-radius: 14px;
  overflow: hidden;
}

/* search button */
.topic-search-box {
  margin: 12px 0 18px 0;
  display: flex;
  justify-content: flex-end;
}

#topicSearch {
  width: 280px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid #d5d5d5;
  font-size: 15px;
  transition: 0.3s;
}

#topicSearch:focus {
  border-color: #004aad;
  box-shadow: 0 0 8px rgba(0, 74, 173, 0.25);
}

/*flyers*/
.cat4-carousel {
  height: auto;
  max-height: 650px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item {
  height: auto !important;
  /* 🔥 fix – allow full banner height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-img {
  width: 100%;
  height: auto;
  object-fit: contain !important;
  /* 🔥 100% full image, no cropping */
}


/* responsive */
@media (max-width: 992px) {
  .cat4-carousel {
    height: auto;
    max-height: none;
  }

  .carousel-img {
    height: auto;
  }
}

/* form right side */
/* Align image + form vertically and position form properly */
.pp-section {
  display: flex;
  align-items: center;
  /* 🔥 vertically align form with banner */
  justify-content: space-between;
  gap: 20px;
  /* space between image & form */
}

/* Left banner block */
.left-img {
  flex: 1.05;
}

/* Right form block */
.right-form {
  flex: 1;
  display: flex;
  align-items: flex-start;
  /* align from top */
  justify-content: center;
  padding-top: 0;
  margin-top: -40px;
  /* 🔥 moves the form UP perfectly */
}


/* Form box spacing and size */
.cat4-form-box {
  width: 100%;
  max-width: 460px;
  /* keep width fixed like original */
  padding-top: 10px;
  /* 🔥 bring form slightly UP */
  padding-bottom: 20px;
}


/* Reduce gap between form fields */
.cat4-form-box .perfect-input {

  margin-bottom: 13px;
}


/* hero section gap */
.main-title {
  font-size: 32px;
  font-weight: 700;
  color: #0d47a1;
  text-align: center;
  margin-bottom: 25px;
}

/* Center subject buttons */
.subject-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 20px 0 30px 0;
}

/* Same width tabs */
.tab-btn {
  min-width: 90px;
  text-align: center;
  padding: 10px 22px;
  border-radius: 30px;
  border: 2px solid #0d47a1;
  background: white;
  color: #0d47a1;
  font-weight: 600;
  transition: 0.25s;
}

.tab-btn.active {
  background: #0d47a1;
  color: white;
}

/* about us css */
.cat4-benefits {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
}

.benefits-title {
  font-size: 36px;
  font-weight: 800;
  color: #0d1a4f;
  margin-bottom: 40px;
  line-height: 1.3;
}

.benefit-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.benefit-card {
  background: #fff;
  width: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 700;
  padding: 18px;
  color: #0d1a4f;
}

/* what measures cart */
/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section title */
.cat4-measures .section-title,
.section-title {
  font-family: "Inter", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-weight: 800;
  font-size: 32px;
  color: #0d2a57;
  /* navy */
  text-align: center;
  margin: 36px 0 28px;
  line-height: 1.1;
}

/* Grid */
.measures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 8px;
}

/* Card */
.measure-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px 18px;
  box-shadow: 0 8px 28px rgba(12, 34, 75, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .22s ease, box-shadow .22s ease;
}

/* Hover */
.measure-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(12, 34, 75, 0.12);
}

/* Icon wrapper (keeps square pastel background) */
.icon-wrap {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

/* Make images fit inside the soft-square */
.icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Labels */
.measure-card .label {
  font-weight: 700;
  color: #0d2a57;
  font-size: 16px;
  text-align: center;
  margin: 0;
  line-height: 1.2;
}

/* Optional: subtle different pastel backgrounds per card (if your images have transparency) */
.measure-card.verbal .icon-wrap {
  background: #f7eefc;
}

.measure-card.quant .icon-wrap {
  background: #eef8ff;
}

.measure-card.nvr .icon-wrap {
  background: #fff6ec;
}

.measure-card.spatial .icon-wrap {
  background: #eefcf2;
}

/* Responsive */
@media (max-width: 1000px) {
  .measures-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .icon-wrap {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 520px) {
  .measures-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .icon-wrap {
    width: 100px;
    height: 100px;
  }

  .section-title {
    font-size: 26px;
    margin-top: 16px;
  }
}

/* table*/
/* SECTION 4 – CAT4 Dubai Mapping */
.cat4-mapping-section {
  padding: 70px 20px;
  text-align: center;
  background: #f8fbff;
  /* light blue background */
}

.cat4-mapping-section .section-title {
  font-size: 34px;
  font-weight: 800;
  color: #002b6d;
  margin-bottom: 10px;
}

.cat4-mapping-section .section-subtitle {
  font-size: 18px;
  color: #444;
  margin-bottom: 40px;
}

.mapping-table-wrapper {
  max-width: 900px;
  margin: auto;
}

.mapping-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  background: white;
}

.mapping-table th {
  background: #0a49df;
  color: white;
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
}

.mapping-table td {
  padding: 16px;
  font-size: 17px;
  color: #222;
  border-bottom: 1px solid #eee;
}

.mapping-table tr:last-child td {
  border-bottom: none;
}

.mapping-table tbody tr:hover {
  background: #eef4ff;
  transition: 0.3s;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .mapping-table {
    font-size: 16px;
  }

  .mapping-table th,
  .mapping-table td {
    padding: 12px;
  }

  .cat4-mapping-section .section-title {
    font-size: 28px;
  }
}

/* space */
/* FIX: Add proper spacing before CAT4 Wrapper */
.cat4-wrapper {
  margin-top: 80px !important;
  padding-top: 100px;
  position: relative;
  z-index: 10;
}

/* FIX: CAT4 About section bottom spacing */
.cat4-about-modern {
  margin-bottom: 60px !important;
}

/* FIX: Sidebar stays aligned – no upward shifting */
.cat4-sidebar {
  margin-top: 20px !important;
}

/* FIX: CAT4 Content box stays centered and not overlapping */
.cat4-content {
  margin-top: 20px !important;
  padding-top: 20px;
}

/* FIX: Prevent previous section from overlapping */
.pp-section,
.cat4-about-top,
.cat4-about-grid,
.cat4-about-note {
  position: relative;
  z-index: 1;
}

/* Optional: Increase gap between sections for modern UI */
section {
  margin-top: 60px;
}

/* spacing */
/* FIX: Give full spacing below CAT4 wrapper */
.cat4-wrapper {
  position: relative;
  padding-bottom: 80px;
  /* ★ ADD THIS */
  margin-bottom: 120px;
  /* ★ ADD THIS */
  z-index: 5;
}

/* FIX: Ensure mapping table section never goes upward */
.cat4-mapping-section {
  position: relative;
  margin-top: 120px !important;
  /* ★ ADD THIS */
  padding-top: 40px;
}

/* FIX: Prevent overlap from floating sidebar */
.cat4-sidebar {
  padding-bottom: 50px;
  /* ★ ADD THIS */
}

/* Reduce large white gap before mapping table */
.cat4-wrapper {
  margin-bottom: 40px !important;
  /* Reduce from 120 → 40 */
  padding-bottom: 30px !important;
  /* Reduce from 80 → 30 */
}

/* Adjust mapping section spacing */
.cat4-mapping-section {
  margin-top: 20px !important;
  /* Reduce gap */
  padding-top: 0 !important;
}

/* Reduce gap between CAT4 Levels table and next section heading */
.cat4-mapping-section {
  margin-bottom: 20px !important;
  /* reduce space below the table */
  padding-bottom: 0 !important;
}

.why-apply-section {
  margin-top: 20px !important;
  /* bring this heading closer upward */
  padding-top: 0 !important;
}

/* Add a clean gap below the 3 cards section */
.why-apply-wrapper {
  margin-bottom: 50px !important;
}

/* Add small spacing above next heading */
.key-info-heading {
  margin-top: 20px !important;
}

/* Target the big card row directly */
.apply-cards-row {
  margin-bottom: 50px !important;
}

/* Target the CAT4 Exam – Key Information heading */
.cat4-key-info-title {
  margin-top: 20px !important;
}

/* The section right after the apply cards */
section:nth-of-type(4) {
  margin-top: 30px !important;
}

/* The card section above */
section:nth-of-type(3) {
  margin-bottom: 40px !important;
}

/* Remove unwanted big white space before CAT4 Exam Information section */
.previous-section,
.previous-section * {
  height: auto !important;
  min-height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* FIX BIG GAP BEFORE CAT4 LEVEL SECTION */
.cat4-about-modern {
  padding-bottom: 120px !important;
  /* Reduced from 120px → 20px */
}

.cat4-wrapper {
  margin-top: 20px !important;
  /* Keep small clean spacing */
}

.cat4-about-modern {
  padding-bottom: 5px !important;
}

/* Add space ABOVE the CAT4 section */
.cat4-section {
  margin-top: 60px !important;
  /* increase value if you want more gap */
}

/* exam preparation part */
/* ========================================
   MAIN SECTION ALIGNMENT FIX
======================================== */
.cat4-section {
  display: flex;
  align-items: center;
  /* vertical align */
  justify-content: space-between;
  gap: 40px;
  padding: 20px 0;
  min-height: 460px;
  margin-top: 100px;
  /* reduced for better match */
}

/* Left image block */
.cat4-left img {
  width: 100%;
  max-width: 400px;
  /* 🔥 smaller width */
  max-height: 500px;
  /* 🔥 FIX: perfect height */
  object-fit: contain;
  /* no distortion */
  display: block;
}

/* Right content block */
.cat4-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 40px;
  /* 🔥 Perfect alignment for current image */
}





/* ========================================
   LIST ITEM STRUCTURE
======================================== */
.list-group-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  padding: 10px 0 !important;
  border: 0 !important;
  background: transparent;
}

.list-group-item .icon span {
  font-size: 26px;
  color: #3a431b;
}

.text-block h6 {
  margin: 0 0 2px 0;
  font-size: 17px;
  font-weight: 700;
  color: #2b2b2b;
}

.text-block p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.35;
  color: #555;
}



/* ========================================
   MOBILE RESPONSIVE FIX
======================================== */
@media (max-width: 992px) {
  .cat4-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    min-height: auto;
    /* remove height rule on mobile */
  }

  .cat4-right {
    text-align: left;
    justify-content: flex-start;
    /* reset */
  }
}

@media (max-width: 768px) {
  .list-group-item {
    gap: 8px;
    padding: 8px 0 !important;
  }

  .text-block h6 {
    font-size: 15.5px;
  }

  .text-block p {
    font-size: 13.5px;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .icon span {
    font-size: 22px;
  }

  .text-block h6 {
    font-size: 15px;
  }

  .text-block p {
    font-size: 13px;
  }
}

/* key benifits  */
.benefits-img-box {
  width: 100%;
  max-width: 360px;
  /* same width as first image */
  background: #fff;
  border-radius: 22px;
  /* round corners like first */
  overflow: hidden;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefits-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 992px) {
  .benefits-img-box {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* input text */
input.form-control {
  background: #ffffff !important;
  /* ensure white background */
  color: #000 !important;
  /* black text */
  font-size: 18px !important;
  border: 2px solid #dcdcdc !important;
  padding: 14px 20px;
  height: 55px;
  border-radius: 12px;
}

input.form-control::placeholder {
  color: #999 !important;
  /* visible placeholder */
  opacity: 1;
}

/* form */
/* Wrapper for custom dropdown */
.dropdown-wrapper {
  position: relative;
}

/* Input field spacing so arrow fits */
.dropdown-input {
  padding-right: 50px !important;
  cursor: pointer;
}

/* Actual arrow */
.dropdown-arrow {
  position: absolute;
  right: 18px;
  /* ⭐ perfect horizontal alignment */
  top: 50%;
  transform: translateY(-50%);
  /* ⭐ perfect vertical center */
  font-size: 20px;
  color: #666;
  pointer-events: none;
  /* arrow should not block clicks */
}

/* Custom dropdown menu */
.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.12);
  z-index: 50;
  display: none;
}

.dropdown-menu-custom li {
  padding: 12px 16px;
  cursor: pointer;
}

.dropdown-menu-custom li:hover {
  background: #f1f1f1;
}

/* ================================
   DESKTOP LAYOUT (LIKE 1st IMAGE)
==================================*/
.pp-section {
  display: flex;
  align-items: center;
  /* perfect vertical alignment */
  justify-content: space-between;
  gap: 40px;
  padding: 40px 0;
  /* same spacing as 1st page */
}

.left-content {
  flex: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  /* same gap as 1st page */
}

.right-form {
  flex: 1;
  display: flex;
  justify-content: center;
}

.form-box {
  background: #fff;
  padding: 35px;
  border-radius: 25px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.08);
}

.submit-btn {
  display: block;
  width: 60%;
  margin: -20px auto 0 auto;
  /* move button UP by 10px */
  background: #2d5f28;
  color: #fff;
  padding: 14px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  border: none;
  cursor: pointer;
}


/* remove extra bottom margin caused by form-box */
.form-box {
  padding-bottom: 20px !important;
}

@media (max-width: 991px) {
  .pp-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .left-content {
    align-items: center;
  }

  .right-form {
    width: 100%;
  }

  .form-box {
    width: 90%;
    margin: 0 auto;
    padding: 25px;
  }
}

@media (max-width: 576px) {
  .form-box {
    padding: 20px;
    border-radius: 18px;
  }

  .submit-btn {
    font-size: 18px;
    padding: 12px;
  }
}


/* When focused (keyboard / mobile tap) */
.submit-btn:focus,
button[type="submit"]:focus {
  outline: 2px solid #95d089;
}

/* mobile view */

/* =======================================
   📱 FINAL FIX — REMOVE LEFT SHIFT IN SYLLABUS
======================================= */
@media (max-width: 768px) {

  /* Remove padding from ALL parent containers */
  .cat4-content,
  #chapterContainer,
  .chapter-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Apply controlled padding inside syllabus box */
  .chapter-content {
    padding: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Heading inside syllabus */
  .chapter-content h3 {
    font-size: 20px !important;
    text-align: center !important;
    margin: 10px 0 !important;
  }

  /* Fix paragraph alignment */
  .chapter-content p {
    margin: 5px 0 !important;
    padding: 0 !important;
    text-align: left !important;
    font-size: 15px !important;
  }

  /* Fix number "1", "2", etc. */
  .chapter-content p strong,
  .chapter-content p:first-child {
    margin-left: 0 !important;
    padding-left: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
  }

  /* Fix bullet list indent */
  .chapter-content ul {
    padding-left: 20px !important;
    margin: 8px 0 15px 0 !important;
  }

  .chapter-content ul li {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}


/* ======================================
   FIX: Duplicate Header / Logo on Mobile
====================================== */

@media (max-width: 768px) {

  /* hide the desktop header */
  .hide-on-mobile {
    display: none !important;
  }

  /* show only mobile header */
  .hide-on-desktop {
    display: block !important;
  }
}

@media (min-width: 769px) {

  /* show desktop header */
  .hide-on-mobile {
    display: block !important;
  }

  /* hide mobile header */
  .hide-on-desktop {
    display: none !important;
  }
}

/* remove gap */
/* Reduce the space between ability cards and the paragraph */
.cat4-card-grid+p,
.cat4-ability-section+p,
.cat4-section+p {
  margin-top: 10px !important;
  padding-top: 0 !important;
}

/* Reduce bottom margin of the last ability card */
.cat4-card-grid,
.cat4-ability-section,
.cat4-section {
  margin-bottom: 10px !important;
  padding-bottom: 0 !important;
}

/* gap btw key feature */
/* UNIVERSAL SMALL GAP FIX */
section h2,
section h3,
.main-title {
  margin-top: 40px !important;
}

/* grid */
#cat4PrepSection {
  padding-top: 20px !important;
  margin-top: 15px !important;
}

/* img visible on mobile */
/* FORCE SHOW left image column on mobile / tablet */
@media (max-width: 992px) {

  /* target the exact column that currently uses d-none d-md-block */
  .col-12.col-lg-6.d-none.d-md-block {
    display: block !important;
    /* show the column */
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }

  /* make sure the image inside is visible & responsive */
  .col-12.col-lg-6.d-none.d-md-block img,
  .content-section img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 90% !important;
    /* scale down on small screens */
    max-width: 420px !important;
    height: auto !important;
    margin: 0 auto 18px auto !important;
  }
}

/* extra safety: remove any hide-on-mobile type classes */
.hide-on-mobile,
.hideOnMobile,
.hidden-mobile {
  display: none !important;
  /* keep these hidden if they are meant to be hidden */
}

/* If you want the image to always show on mobile regardless of classes */
@media (max-width: 992px) {
  .col-12.col-lg-6 img[src*="AI exam1"] {
    display: block !important;
  }
}

@media (max-width: 768px) {

  /* reverse order on mobile */
  .benefits-img-wrapper {
    order: -1 !important;
    margin-bottom: 20px;
  }
}

/* logo css */
@media (max-width: 768px) {

  /* Remove extra blank column spacing on mobile */
  .team-area .items .item:first-child {
    display: none !important;
  }

  /* Use a clean 2-column centered grid */
  .team-area .items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
    justify-items: center;
    align-items: center;
    width: 100%;
  }

  /* Each logo item */
  .team-area .items .item {
    text-align: center !important;
    margin: 0 auto !important;
  }

  .team-area .card-thumb img {
    max-width: 100px !important;
    height: auto !important;
  }
}

/* ------------------------------
   MOBILE FIXES FOR CONTACT + FORM
--------------------------------*/
@media (max-width: 768px) {

  /* Section title spacing */
  .contact-section h2,
  .contact-section p {
    text-align: center !important;
  }

  /* Contact rows clean stacking */
  .contact-info-item {
    display: flex !important;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    width: 100%;
  }

  /* Contact icons */
  .contact-info-item .icon-box {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Contact text */
  .contact-info-item p,
  .contact-info-item span {
    font-size: 15px !important;
    margin: 0;
    line-height: 1.4;
    width: 100%;
  }

  /* Phone numbers */
  .phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  /* Add space between sections */
  .contact-section {
    margin-bottom: 30px !important;
  }

  /* ------------------------------
       FORM FIX
    --------------------------------*/
  .form-section {
    padding: 20px !important;
    border-radius: 20px !important;
    margin-top: 20px !important;
  }

  .form-section input,
  .form-section select {
    font-size: 15px !important;
    height: 50px !important;
  }

  /* Submit button */
  .form-section button {
    width: 100% !important;
    font-size: 16px !important;
    height: 50px !important;
    margin-top: 10px !important;
  }

  /* ------------------------------
    --------------------------------*/

}

/* 🔥 CONTACT SECTION MOBILE FIX */
@media (max-width: 576px) {

  /* Reduce huge spacing above/below */
  #contact .intro {
    padding: 10px 0;
  }

  .scholarship-row {
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Left side contact info */
  .contact-info {
    width: 100% !important;
    margin-bottom: 20px;
    text-align: left !important;
  }

  .contact-info ul li {
    flex-wrap: nowrap;
    gap: 10px;
  }

  /* Icons fix */
  .contact-info .icon {
    width: 40px !important;
    height: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Right form wrapper */
  .form-col {
    width: 100% !important;
  }

  .form-container-2 {
    width: 100% !important;
    padding: 10px 15px !important;
  }

  /* Input fields fix */
  .form-container-2 .form-control {
    height: 50px !important;
    font-size: 14px !important;
  }

  /* Dropdown fixes */
  .dropdown-wrapper {
    width: 100% !important;
    position: relative;
  }

  .dropdown-menu-custom {
    width: 100% !important;
    left: 0 !important;
  }

  /* Submit button full width */
  .submit-btn {
    width: 100% !important;
    font-size: 16px !important;
    padding: 12px !important;
    margin-top: 8px;
  }
}

@media (max-width: 768px) {
  .pp-section {
    flex-direction: column;
    margin-top: 0 !important;
    padding-top: 10px;
  }

  .left-img,
  .right-form {
    width: 100% !important;
  }
}

/* header */
/* Force desktop image to show */
.hide-on-mobile {
  display: block !important;
}

/* Hide mobile image on desktop */
.hide-on-desktop {
  display: none !important;
}

/* On mobile */
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }

  .hide-on-desktop {
    display: block !important;
  }
}

/* FIX Bootstrap floating input for mobile */
.form-floating>.form-control {
  height: calc(3.5rem + 2px) !important;
  padding: 1rem .75rem !important;
  font-size: 16px !important;
}

.form-floating>label {
  padding: .75rem .75rem !important;
}

/* Prevent text from cutting or shifting on mobile */
@media (max-width: 768px) {
  .form-floating>.form-control {
    height: auto !important;
    /* allow natural height */
    min-height: 55px !important;
    /* enough space for mobile */
    padding-top: 1.2rem !important;
    /* fix label space */
    padding-bottom: .6rem !important;
  }

  .form-floating>label {
    font-size: 15px !important;
    top: 6px !important;
  }
}

/* table */
/* =====================================================
   SIMPLE TOPIC TABLE – DESKTOP + PERFECT MOBILE FIT
===================================================== */

/* -------------------------
   BASE TABLE (DESKTOP)
-------------------------- */
.simple-topic-table {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  display: table !important;
}

/* Real table structure */
.simple-topic-table thead {
  display: table-header-group !important;
}

.simple-topic-table tbody {
  display: table-row-group !important;
}

.simple-topic-table tr {
  display: table-row !important;
}

/* Cells */
.simple-topic-table th,
.simple-topic-table td {
  display: table-cell !important;
  vertical-align: top !important;
  white-space: normal !important;
  border: 1px solid #e0e0e0 !important;
}

/* Header */
.simple-topic-table th {
  background: #0b2d5c !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-align: center !important;
  font-size: 14px;
  padding: 10px;
}

/* Body cells */
.simple-topic-table td {
  font-size: 13px;
  padding: 10px;
  color: #222 !important;
}

/* Zebra rows */
.simple-topic-table tr:nth-child(even) {
  background: #f7f9fc;
}

/* Subtopic list */
.simple-topic-table ul {
  margin: 4px 0;
  padding-left: 14px;
}

.simple-topic-table li {
  margin-bottom: 6px;
}

/* =====================================================
   MOBILE OPTIMIZATION – FINAL & STABLE (NO CROP FIX)
===================================================== */
@media (max-width: 768px) {

  /* Prevent ugly letter-by-letter breaking */
  .simple-topic-table th,
  .simple-topic-table td {
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: auto !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
    /* 🔥 CRITICAL */
  }

  /* Header sizing */
  .simple-topic-table th {
    font-size: 10.2px !important;
    padding: 4px 2px !important;
    /* ⬅ reduced 1px */
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  /* Cell sizing */
  .simple-topic-table td {
    font-size: 10.2px !important;
    padding: 4px 2px !important;
    /* ⬅ reduced 1px */
    line-height: 1.35 !important;
  }

  /* Column width balance (TOTAL = 98% SAFE) */
  .simple-topic-table th:nth-child(1),
  .simple-topic-table td:nth-child(1) {
    width: 18% !important;
    text-align: left !important;
  }

  .simple-topic-table th:nth-child(2),
  .simple-topic-table td:nth-child(2) {
    width: 23% !important;
    text-align: left !important;
  }

  .simple-topic-table th:nth-child(3),
  .simple-topic-table td:nth-child(3) {
    width: 8% !important;
    text-align: center !important;
    font-weight: 600 !important;
  }

  .simple-topic-table th:nth-child(4),
  .simple-topic-table td:nth-child(4) {
    width: 23% !important;
    text-align: left !important;
  }

  .simple-topic-table th:nth-child(5),
  .simple-topic-table td:nth-child(5) {
    width: 31% !important;
    text-align: left !important;
  }

  /* Subtopics spacing */
  .simple-topic-table td ul {
    padding-left: 10px !important;
    margin: 2px 0 !important;
  }

  .simple-topic-table td ul li {
    font-size: 9.4px !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
  }
}

/* =====================================================
   MOBILE HEADER + BUTTON FIX (NO CROP)
===================================================== */
@media (max-width: 768px) {

  /* Prevent container clipping */
  body,
  .container,
  .container-fluid,
  .content,
  .section,
  .card {
    overflow-x: visible !important;
  }

  /* Fix CAT4 subject header */
  h1,
  h2,
  h3 {
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Subject tabs (VR / QR / NS / NA) */
  .subject-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 10px !important;
  }

  .subject-tabs .tab-btn {
    min-width: 64px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  /* Search bar center fix */
  .topic-search-box {
    display: flex !important;
    justify-content: center !important;
    padding: 0 12px !important;
  }

  .topic-search-box input {
    width: 100% !important;
    max-width: 340px !important;
  }
}

/* =========================================
   DESKTOP TABLE FONT SIZE – MATCH SUB TOPICS
========================================= */
@media (min-width: 769px) {

  /* All table cells same size as sub-topics */
  .simple-topic-table td {
    font-size: 13px !important;
    /* same visual size */
    line-height: 1.55 !important;
  }

  /* Table headers slightly bold but not bigger */
  .simple-topic-table th {
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  /* Sub topics list (reference size) */
  .simple-topic-table td ul li {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }
}


/* dubai about us details */
/* =========================================
   ABOUT PARIKSHA PORTAL — FINAL PIXEL-PERFECT CSS
========================================= */

.about-portal-section {
  background: #eef4ff;
  padding: 80px 20px 100px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

/* WRAPPER */
.about-portal-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* =======================
   PILL HEADING
======================= */

.about-pill {
  margin: 0 auto 20px;
  padding: 16px 42px;
  width: fit-content;

  display: flex;
  align-items: center;
  gap: 10px;

  background: linear-gradient(135deg, #6fa3ff, #9bbcff);
  border-radius: 999px;

  font-size: 22px;
  font-weight: 700;
  color: #0b2c5d;

  box-shadow: 0 10px 28px rgba(79, 112, 255, 0.25);
}

.about-pill img {
  width: 34px;
  height: 34px;
}

/* =======================
   MAIN GRID
======================= */

.about-portal-content {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* =======================
   LEFT SIDE (IMAGE)
======================= */

.about-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 28px;
  /* 🔥 SAME OFFSET */
}

.about-main-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin-bottom: 22px;
}

/* =======================
   RIGHT SIDE (TEXT)
======================= */

.about-right {
  padding-top: 1px;
  /* 🔥 MATCH IMAGE COLUMN */
}

.about-right h3 {
  font-size: 60px;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 14px;
  line-height: 1.25;
}

/* =======================
   FEATURES
======================= */

.about-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-features li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.about-features strong {
  font-size: 20px;
  display: block;
  margin-bottom: 4px;
}

.tick {
  font-size: 20px;
  color: #22c55e;
  margin-top: 2px;
}

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

.cta-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.cta-text {
  font-size: 18px;
  color: #1e3a8a;
}

.cta-btn {
  padding: 14px 36px;
  border-radius: 32px;
  background: linear-gradient(135deg, #2563eb, #7c7cff);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

/* =======================
   RESPONSIVE
======================= */

@media (max-width: 992px) {
  .about-portal-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .about-left {
    align-items: center;
  }

  /* Reset visual offsets on mobile */
  .about-main-img {
    transform: none;
    margin-bottom: 22px;
  }

  .about-right h3 {
    margin-top: 0;
    font-size: 26px;
  }

  .about-left-text {
    text-align: center;
  }

  .about-features li {
    justify-content: center;
    text-align: left;
  }

  .cta-row {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .about-pill {
    font-size: 18px;
    padding: 14px 26px;
  }

  .about-pill img {
    width: 28px;
    height: 28px;
  }

  .about-main-img {
    max-width: 360px;
  }

  .about-right h3 {
    font-size: 24px;
  }
}

/* gap about us */
.about-portal-section {
  background: #eef4ff;
  padding: 80px 20px 100px;
  margin-bottom: 80px;
  /* 🔥 ADD THIS LINE */
  font-family: "Segoe UI", system-ui, sans-serif;
}

/* Space after Featured Exams section */
.featured-section {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #f4f7ff, #ffffff);
  margin-bottom: 80px;
  /* 🔥 GAP between sections */
}

/* Space after Featured Exams section */
.featured-section {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #f4f7ff, #ffffff);
  margin-bottom: 100px;
  /* 🔥 GAP between sections */
}

/* demo exams  */
/* =========================================================
   FEATURED SCHOOL ASSESSMENTS
========================================================= */

.featured-section {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #f4f7ff, #ffffff);
}

/* =========================================================
   HEADER
========================================================= */

.featured-header {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  row-gap: 20px;
  align-items: center;
}

.featured-header h2 {
  grid-column: 2;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: #0b1f44;
  margin: 0;
}

/* =========================================================
   SEARCH BAR
========================================================= */
/* Center container stays same */
/* FORCE SMALL SEARCH BAR – FINAL OVERRIDE */

/* ===============================
   SEARCH BAR – FINAL STABLE FIX
   =============================== */
/* ===============================
   FEATURED HEADER – CENTERED
   =============================== */

.featured-header {
  display: flex;
  flex-direction: column;   /* ⬅️ STACK */
  align-items: center;      /* ⬅️ CENTER */
  gap: 14px;
  text-align: center;
}

.featured-header h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

/* ===============================
   SEARCH BAR – SMALL & THIN
   =============================== */

.search-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.search-box-emoji {
  display: flex;
  align-items: center;
  gap: 8px;
   height: 40px;
  width: 360px;        /* ✅ smaller width */
  padding: 6px 12px;  /* ✅ thin height */

  background: #ffffff;
  border-radius: 999px;
  border: 1px solid #d6defc;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
}

.search-box-emoji input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;     /* ✅ smaller text */
  background: transparent;
}

.search-emoji {
  font-size: 14px;
}

/* ===============================
   MOBILE – SAME BEHAVIOR
   =============================== */
@media (max-width: 768px) {
  .search-box-emoji {
    width: 100%;
    max-width: 320px;
  }
}


/* =========================================================
   SLIDER
========================================================= */

.featured-wrapper {
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

.featured-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
}

/* =========================================================
   CARD
========================================================= */

.featured-card {
  min-width: calc(25% - 18px);
  background: #ffffff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: all 0.35s ease;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 65px rgba(37, 99, 235, 0.22);
}

.featured-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  background: linear-gradient(135deg, #e8efff, #f4f7ff);
  border-radius: 16px;
  margin-bottom: 16px;
}

.featured-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0b1f44;
  margin-bottom: 6px;
}

.featured-card p {
  font-size: 14px;
  color: #475569;
}

.featured-card .meta {
  font-size: 13px;
  margin: 10px 0 16px;
  color: #64748b;
}

/* =========================================================
   VIEW DETAILS BUTTON (FINAL FIX)
========================================================= */

.featured-card button {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #ffffff !important;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.featured-card button:hover,
.featured-card button:focus,
.featured-card button:active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45);
  outline: none;
}

/* =========================================================
   NAV TEXT + ARROWS
========================================================= */

.slider-nav {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slider-hint {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
  text-align: center;
}

/* arrow buttons row */
.slider-buttons {
  display: flex;
  gap: 25px;
}

.slider-buttons button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-buttons button:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.45);
}

/* =========================================================
   MODAL
========================================================= */

.exam-modal {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.exam-box {
  width: 90%;
  max-width: 580px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #eef3ff);
  box-shadow: 0 35px 85px rgba(15, 23, 42, 0.4);
  animation: popupFade 0.3s ease;
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 24px;
  cursor: pointer;
  color: #64748b;
}

.close:hover {
  color: #1e40af;
}

/* =========================================================
   MODAL TEXT
========================================================= */

.exam-box h2 {
  font-size: 28px;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 4px;
}

.exam-box p {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 22px;
}

/* =========================================================
   INFO GRID
========================================================= */

.exam-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.exam-grid div {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14.5px;
  color: #1e293b;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

/* pastel blocks */
.exam-grid div:nth-child(1) {
  background: #d6e4ff;
}

.exam-grid div:nth-child(2) {
  background: #ffe1a6;
}

.exam-grid div:nth-child(3) {
  background: #c9f5de;
}

.exam-grid div:nth-child(4) {
  background: #ded6ff;
}

.exam-grid div:nth-child(5) {
  background: #ffcfd6;
}

.exam-grid div:nth-child(6) {
  background: #cfeeff;
}

.exam-grid div:nth-child(7) {
  background: #dbe7ff;
}

.exam-grid div:nth-child(8) {
  background: #e4ddff;
}

.exam-grid strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

/* =========================================================
   ANIMATION
========================================================= */

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {
  .featured-card {
    min-width: calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .featured-card {
    min-width: 100%;
  }

  .exam-grid {
    grid-template-columns: 1fr;
  }

  .exam-box h2 {
    font-size: 24px;
  }
}

/* REMOVE GAP ABOVE FEATURED SECTION */
/* =========================================================
   FORCE REMOVE GAP BETWEEN SECTIONS
========================================================= */

/* previous practice/info section */
.practice-section,
.exam-practice-section,
.about-cat4,
.about-section {
  margin-bottom: 5px !important;
  padding-bottom: 0 !important;
}

/* syllabus */
.exam-layout {
  padding: 40px;
  background: #f7f9fd;
  font-family: "Inter", sans-serif;
}

/* TOP BAR */
.exam-bar {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.exam-pill {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid #cfd8ff;
  background: #fff;
  cursor: pointer;
}

.exam-pill.active {
  background: #123c88;
  color: #fff;
}

.exam-arrow {
  margin-left: auto;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* BODY */
.exam-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

/* SIDEBAR */
.exam-sidebar {
  background: #fff;
  padding: 22px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.exam-sidebar h3 {
  margin-bottom: 16px;
}

.level-btn {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.level-btn.active {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #fff;
}

.search {
  width: 100%;
  margin-top: 16px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

/* CONTENT */
.exam-content {
  background: #fff;
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.exam-header h2 {
  margin: 0;
}

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

/* SUBJECTS */
/* ===== PILL BAR WRAPPER ===== */
.exam-pill-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  max-width: 900px;
  margin: 0 auto;
}

/* ===== SCROLL AREA ===== */
.exam-pill-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.exam-pill-track::-webkit-scrollbar {
  display: none;
}

/* ===== PILL BUTTON ===== */
.exam-pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid #d6e2ff;
  background: #ffffff;
  color: #0b3ea9;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

/* HOVER */
.exam-pill:hover {
  background: #eef4ff;
}

/* ACTIVE (BLUE) */
.exam-pill.active {
  background: #0b3ea9;
  color: #ffffff;
  border-color: #0b3ea9;
}

/* ===== ARROWS ===== */
.pill-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #d6e2ff;
  background: #ffffff;
  color: #0b3ea9;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.pill-arrow:hover {
  background: #0b3ea9;
  color: #ffffff;
}

/* syllabus */
/* ===== ALL EXAM SYLLABUS SECTION ===== */
.ngrt-section {
  background: #f5f9ff;
  padding: 40px 0 30px;
}

.exam-main-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #0b3ea9;
  margin-bottom: 25px;
}

/* ===== TAB CONTAINER (NO SCROLL HERE) ===== */
.ngrt-exam-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #ffffff;
  border-radius: 50px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  /* keep arrows fixed */
}

/* ===== SCROLLABLE BUTTON TRACK ===== */
/* Container for all exam tabs */
.ngrt-exam-tabs {
  display: flex;
  flex-wrap: wrap;
  /* wrap to next row if needed */
  gap: 12px;
  /* spacing between boxes */
  justify-content: center;
  /* center the row */
  padding: 16px;
  background-color: #f5f7fa;
  border-radius: 12px;
}

/* Track wrapper inside container */
.ngrt-exam-tabs .exam-tab-track {
  display: flex;
  flex-wrap: wrap;
  /* wrap for smaller screens */
  gap: 12px;
  justify-content: center;
  width: 100%;
}

/* Individual exam tab boxes */
.ngrt-exam-tabs .exam-tab-track .exam-tab {
  flex: 0 0 160px;
  /* fixed width per box */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #0b3cc1;
  background-color: #fff;
  color: #0b3cc1;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover effect */
.ngrt-exam-tabs .exam-tab-track .exam-tab:hover {
  background-color: #0b3cc1;
  color: #fff;
  transform: translateY(-2px);
}

/* Active tab styling */
.ngrt-exam-tabs .exam-tab-track .exam-tab.active {
  background-color: #0b3cc1;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .ngrt-exam-tabs .exam-tab-track .exam-tab {
    flex: 0 0 140px;
    /* slightly smaller on mid screens */
    height: 45px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .ngrt-exam-tabs .exam-tab-track .exam-tab {
    flex: 0 0 120px;
    /* smaller on mobile */
    height: 40px;
    font-size: 12px;
  }
}

.hero-left,
.hero-content,
.hero-text {
  position: relative;
  z-index: 5;
  color: #fff;
}

/* MAP */
/* ===============================
   ILLUSTRATION CARD – SAME AS OTHERS
================================ */
.map-card.illustration {
  background: #ffe9d6;
  padding: 26px;
  min-height: 300px;
  border-radius: 20px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMAGE INSIDE CARD */
.map-card.illustration img {
  max-width: 240px;
  max-height: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== MAP ABOUT SECTION ===== */
.map-about-section {
  background: #eef5ff;
  padding: 80px 20px;
  text-align: center;
}

.map-title {
  font-size: 40px;
  font-weight: 800;
  color: #0b3ea9;
  margin-bottom: 12px;
}

.map-subtitle {
  font-size: 18px;
  color: #3b4a6b;
  max-width: 900px;
  margin: 0 auto 50px;
}

/* ===== CARD GRID ===== */
.map-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

/* ===== CARD ===== */
.map-card {
  border-radius: 20px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.map-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* COLOR VARIANTS */
.map-card.yellow {
  background: #fff3d6;
}

/* soft yellow */
.map-card.green {
  background: #e9fff1;
}

/* mint green */
.map-card.purple {
  background: #f1e9ff;
}

/* lavender */
.map-card.pitch {
  background: #FFE9D6;
}

/* light peach ✅ */

/* AUTHORITY TEXT */
.authority {
  margin-top: 10px;
  font-weight: 600;
  color: #0b3ea9;
}

/* IMAGE CARD */
.map-card.illustration {
  background: #ffe9d6;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-card.illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* ===== CHECKLIST ===== */
.map-checklist {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
  list-style: none;
  padding: 0;
}

.map-checklist li {
  font-size: 16px;
  color: #2f3d5c;
  margin-bottom: 14px;
  padding-left: 32px;
  position: relative;
}

.map-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #1b6cff;
  font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .map-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .map-card-grid {
    grid-template-columns: 1fr;
  }

  .map-title {
    font-size: 30px;
  }
}

/* map table */
/* ===============================
   MAP LEVELS MAPPING SECTION
================================ */
.map-mapping-section {
  padding: 80px 20px;
  background: #ffffff;
  text-align: center;
}

/* ===== TITLE ===== */
.map-mapping-section .section-title {
  font-size: 36px;
  font-weight: 800;
  color: #0b2c6b;
  margin-bottom: 14px;
  text-align: center !important;
}

/* ===== SUBTITLE ===== */
.map-mapping-section .section-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: #e53935;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center !important;
}

/* ===============================
   TABLE WRAPPER
================================ */
.mapping-table-wrapper {
  max-width: 1000px;
  margin: 0 auto 18px;
  overflow-x: auto;
}

/* ===============================
   TABLE STYLING
================================ */
.mapping-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(13, 44, 96, 0.12);
}

/* TABLE HEADER */
.mapping-table thead th {
  background: #1148e4;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  text-align: center;
}

/* TABLE BODY */
.mapping-table tbody td {
  padding: 16px;
  font-size: 15.5px;
  color: #2f3d5c;
  text-align: center;
  border-bottom: 1px solid #eef2ff;
}

/* LAST ROW BORDER FIX */
.mapping-table tbody tr:last-child td {
  border-bottom: none;
}

/* ROW HOVER */
.mapping-table tbody tr:hover {
  background: #f4f8ff;
}

/* ===============================
   TABLE NOTE
================================ */
.table-note {
  font-size: 14px;
  color: #5a6b8c;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 768px) {
  .map-mapping-section {
    padding: 60px 16px;
  }

  .map-mapping-section .section-title {
    font-size: 28px;
  }

  .map-mapping-section .section-subtitle {
    font-size: 15px;
  }

  .mapping-table thead th,
  .mapping-table tbody td {
    font-size: 14px;
    padding: 12px;
  }
}

/* map syllabus table css */
/* ===============================
   BASE RESET (SAFE)
================================ */
* {
  box-sizing: border-box;
}

body {
  background: #f1f7ff;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
}

/* ===============================
   WRAPPER LAYOUT
================================ */
.cat4-wrapper {
  display: flex;
  gap: 32px;
  padding: 24px;
}

/* ===============================
   LEFT SIDEBAR
================================ */
.cat4-sidebar {
  width: 260px;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.side-title {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  padding: 14px;
  text-align: center;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
}

.cat4-sidebar ul {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}

.cat4-sidebar li {
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #f1f5f9;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  color: #1e293b;
  transition: all 0.25s ease;
}

.cat4-sidebar li:hover {
  background: #e0e7ff;
}

.cat4-sidebar li.active {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
}

/* ===============================
   RIGHT CONTENT CARD
================================ */
.cat4-content {
  flex: 1;
  background: #ffffff;
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

/* ===============================
   TITLES
================================ */
.main-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: #0f172a;
}

.subtitle {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 18px;
  color: #64748b;
  font-size: 15px;
}

.chapter-heading {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin: 30px 0 18px;
  color: #0f172a;
}

/* ===============================
   SUBJECT TABS (VR / QR / NS / NA)
================================ */
.subject-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 26px 0 34px;
}

.tab-btn {
  padding: 10px 30px;
  border-radius: 999px;
  border: 2px solid #2563eb;
  background: #ffffff;
  color: #2563eb;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn:hover {
  background: #eff6ff;
}

.tab-btn.active {
  background: #2563eb;
  color: #ffffff;
}

/* ===============================
   SEARCH BOX
================================ */
.topic-search-box {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.topic-search-box input {
  width: 260px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  outline: none;
}

.topic-search-box input:focus {
  border-color: #2563eb;
}

/* ===============================
   TABLE
================================ */
.table-responsive-mobile {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.simple-topic-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
}

.simple-topic-table thead th {
  background: #0f2a55;
  color: #ffffff;
  padding: 14px;
  font-size: 14px;
  text-align: center;
  font-weight: 600;
}

.simple-topic-table tbody td {
  padding: 14px;
  font-size: 14px;
  color: #0f172a;
  vertical-align: top;
  border-bottom: 1px solid #e5e7eb;
}

.simple-topic-table tbody tr:last-child td {
  border-bottom: none;
}

.simple-topic-table ul {
  margin: 0;
  padding-left: 18px;
}

/* ===============================
   TABLET RESPONSIVE
================================ */
@media (max-width: 992px) {

  .cat4-wrapper {
    flex-direction: column;
    padding: 20px;
  }

  .cat4-sidebar {
    width: 100%;
  }

  .cat4-sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .cat4-sidebar li {
    flex: 1 1 calc(33.33% - 10px);
    text-align: center;
  }

  .subject-tabs {
    flex-wrap: wrap;
  }
}

/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 576px) {

  .cat4-content {
    padding: 20px;
  }

  .main-title {
    font-size: 22px;
  }

  .chapter-heading {
    font-size: 20px;
  }

  .cat4-sidebar li {
    flex: 1 1 calc(50% - 8px);
    font-size: 13px;
    padding: 12px;
  }

  .tab-btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }

  .topic-search-box {
    justify-content: center;
  }

  .topic-search-box input {
    width: 100%;
  }

  .simple-topic-table {
    min-width: 720px;
  }
}

/* ===============================
   EXTRA SMALL DEVICES
================================ */
@media (max-width: 360px) {
  .cat4-sidebar li {
    flex: 1 1 100%;
  }
}

/* why apply map exam css */
/* ===============================
   WHY APPLY SECTION (MAP)
================================ */
.why-exam-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f4f8ff, #ffffff);
}

.why-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 50px;
}

.why-title span {
  color: #2563eb;
}

/* ===============================
   CARD GRID
================================ */
.why-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.why-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);
}

/* ===============================
   CARD IMAGE
================================ */
.why-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ===============================
   CARD CONTENT
================================ */
.why-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 22px 16px 10px;
}

.why-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  padding: 0 18px 26px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  .why-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .why-card-grid {
    grid-template-columns: 1fr;
  }

  .why-title {
    font-size: 26px;
  }
}

/* Faq's */
/* ========================================= 
   KEY INFORMATION SECTION (CAT4 / MAP / NGRT / PTM)
========================================= */
.exam-key-info {
  padding: 70px 0;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  text-align: center;
}

/* ---------- HEADING ---------- */
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

/* subtitle BELOW heading */
.section-subtitle {
  display: block;
  margin: 0 auto 42px;
  color: #64748b;
  font-size: 15px;
  max-width: 520px;
  line-height: 1.6;
  position: relative;
}

/* underline */
.section-subtitle::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #facc15;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* =========================================
   INFO CARD GRID
========================================= */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* =========================================
   INFO CARD BASE
========================================= */
.info-card {
  padding: 32px 22px;
  border-radius: 20px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

/* =========================================
   CARD COLORS
========================================= */
.info-card.blue {
  background: #eaf2ff;
  color: #1e40af;
}

.info-card.peach {
  background: #fff1e6;
  color: #92400e;
}

.info-card.mint {
  background: #e9fff4;
  color: #065f46;
}

.info-card.lavender {
  background: #f3edff;
  color: #5b21b6;
}

.info-card.green {
  background: #eaffea;
  color: #166534;
}

.info-card.pink {
  background: #ffeef3;
  color: #9f1239;
}

/* =========================================
   REAL BACKGROUND BLUR (IMPORTANT)
========================================= */
body.modal-open>*:not(.exam-modal) {
  filter: blur(30px);
  transition: filter 0.3s ease;
}

/* =========================================
   MODAL OVERLAY
========================================= */
.exam-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2147483647;
}

/* Dark overlay (NO blur here) */
.exam-modal::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
}

/* ACTIVE STATE */
.exam-modal.active {
  display: flex;
}

/* =========================================
   MODAL BOX
========================================= */
.exam-box {
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  width: 90%;
  max-width: 640px;
  padding: 36px;
  border-radius: 26px;

  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 2;

  animation: modalFade 0.3s ease;
}

@keyframes modalFade {
  from {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* =========================================
   MODAL CONTENT
========================================= */
.exam-box h3 {
  font-size: 23px;
  margin-bottom: 18px;
  color: #0f172a;
  font-weight: 700;
}

.exam-box p,
.exam-box li {
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
}

.exam-box ul {
  padding-left: 18px;
}

/* =========================================
   CLOSE BUTTON
========================================= */
.exam-box .close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: #475569;
}

.exam-box .close:hover {
  color: #0f172a;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 992px) {
  .info-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .info-card-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 26px;
  }

  .info-card {
    font-size: 16px;
    padding: 26px 18px;
  }
}


/* NGRT about us */
/* ===============================
   NGRT MEASURE SECTION (CAT4 STYLE)
================================ */
.ngrt-measure-new {
  padding: 90px 20px;
  background: linear-gradient(180deg,
      #eef5ff 0%,
      #f3f8ff 60%,
      #ffffff 100%);
}

/* ===============================
   TOP HEADING
================================ */
.ngrt-measure-header {
  max-width: 880px;
  margin: 0 auto 60px;
  text-align: center;
}

.ngrt-main-title {
  font-size: 42px;
  font-weight: 800;
  color: #0b3c8a;
  margin-bottom: 12px;
}

.ngrt-main-subtitle {
  font-size: 17px;
  line-height: 1.75;
  color: #475569;
}

/* ===============================
   MAIN GRID LAYOUT
================================ */
.ngrt-measure-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

/* ===============================
   LEFT TEXT
================================ */
.ngrt-measure-text h2,
.ngrt-measure-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: #0b3c8a;
  margin-bottom: 10px;
}

.ngrt-line {
  display: block;
  width: 70px;
  height: 4px;
  background: #fbbf24;
  border-radius: 4px;
  margin-bottom: 18px;
}

.ngrt-measure-text p {
  font-size: 16.5px;
  line-height: 1.75;
  color: #334155;
  max-width: 420px;
}

/* ===============================
   TAGS (CENTER)
================================ */
.ngrt-measure-tags {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tag {
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 600;
  color: #1f2937;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
}

/* tag accent colors */
.tag.green {
  border-left: 6px solid #22c55e;
}

.tag.yellow {
  border-left: 6px solid #fbbf24;
}

.tag.blue {
  border-left: 6px solid #3b82f6;
}

.tag.teal {
  border-left: 6px solid #14b8a6;
}

.tag.purple {
  border-left: 6px solid #8b5cf6;
}

/* ===============================
   ILLUSTRATION (RIGHT)
================================ */
.ngrt-measure-illustration {
  display: flex;
  justify-content: center;
}

.ngrt-measure-illustration img {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(15, 23, 42, 0.15));
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  .ngrt-measure-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .ngrt-measure-text p {
    margin: auto;
  }

  .ngrt-measure-tags {
    max-width: 420px;
    margin: auto;
  }

  .ngrt-measure-illustration img {
    max-width: 340px;
  }
}

@media (max-width: 576px) {
  .ngrt-main-title {
    font-size: 30px;
  }

  .ngrt-measure-text h2,
  .ngrt-measure-text h3 {
    font-size: 22px;
  }

  .ngrt-measure-text p {
    font-size: 15.5px;
  }
}

/* NGRT EXAM TABLE LEVEL CSS */
/* ===============================
   LEVEL MAPPING SECTION (NGRT)
================================ */
.level-mapping-section {
  padding: 90px 20px;
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
  text-align: center;
  /* 🔥 FORCE CENTER FOR HEADING */
}

/* ===============================
   SECTION TITLE
================================ */
.level-mapping-section .section-title {
  font-size: 36px;
  font-weight: 800;
  color: #0b3c8a;
  margin-bottom: 14px;
}

/* Yellow underline */
.level-mapping-section .section-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: #fbbf24;
  border-radius: 4px;
  margin: 14px auto 0;
  /* 🔥 CENTER */
}

/* ===============================
   SUBTITLE
================================ */
.level-mapping-section .section-subtitle {
  max-width: 900px;
  margin: 0 auto 55px;
  font-size: 16.5px;
  line-height: 1.75;
  color: #475569;
}

/* ===============================
   TABLE WRAPPER
================================ */
.mapping-table-wrapper {
  max-width: 1100px;
  margin: auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  text-align: left;
  /* table content normal */
}

/* ===============================
   TABLE
================================ */
.mapping-table {
  width: 100%;
  border-collapse: collapse;
}

.mapping-table thead {
  background: #1747d4;
}

.mapping-table thead th {
  padding: 18px;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  text-align: center;
}

.mapping-table tbody td {
  padding: 16px;
  font-size: 15px;
  color: #1f2937;
  text-align: center;
  border-bottom: 1px solid #e6edff;
}

.mapping-table tbody tr:last-child td {
  border-bottom: none;
}

.mapping-table tbody tr:hover {
  background: #f7faff;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .level-mapping-section .section-title {
    font-size: 28px;
  }

  .mapping-table thead {
    display: none;
  }

  .mapping-table tr {
    display: block;
    padding: 16px;
    border-bottom: 1px solid #e5ecff;
  }

  .mapping-table td {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    text-align: left;
  }

  .mapping-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #475569;
  }
}

/* NGRT TABLE SYLLABUS */
/* ===============================
   NGRT WRAPPER (SAME AS CAT4)
================================ */
.ngrt-wrapper {
  display: flex;
  gap: 24px;
  padding: 30px 20px;
  max-width: 1400px;
  margin: auto;
}

/* ===============================
   LEFT SIDEBAR
================================ */
.ngrt-sidebar {
  width: 260px;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ngrt-sidebar .side-title {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.ngrt-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ngrt-sidebar li {
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  cursor: pointer;
  background: #f1f5f9;
  font-weight: 600;
  color: #1e293b;
  transition: 0.3s;
}

.ngrt-sidebar li:hover {
  background: #e0e7ff;
}

.ngrt-sidebar li.active {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
}

/* ===============================
   RIGHT CONTENT
================================ */
.ngrt-content {
  flex: 1;
  background: #ffffff;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

/* ===============================
   MAIN TITLE
================================ */
.ngrt-content .main-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  color: #0b3c8a;
  margin-bottom: 6px;
}

.ngrt-content .subtitle {
  text-align: center;
  color: #475569;
  margin-bottom: 24px;
}

/* ===============================
   SUBJECT TABS (READING ONLY)
================================ */
.ngrt-content .subject-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.ngrt-content .tab-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 2px solid #2563eb;
  background: #ffffff;
  color: #2563eb;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.ngrt-content .tab-btn.active,
.ngrt-content .tab-btn:hover {
  background: #2563eb;
  color: #ffffff;
}

/* ===============================
   CHAPTER HEADING
================================ */
.ngrt-content .chapter-heading {
  font-size: 22px;
  font-weight: 700;
  color: #0b3c8a;
  margin-bottom: 16px;
}

/* ===============================
   SEARCH BOX
================================ */
.ngrt-content .topic-search-box {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.ngrt-content .topic-search-box input {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #c7d2fe;
  outline: none;
  width: 260px;
}

/* ===============================
   TABLE
================================ */
.simple-topic-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
}

.simple-topic-table thead {
  background: #0b2f63;
}

.simple-topic-table th {
  padding: 14px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}

.simple-topic-table td {
  padding: 14px;
  font-size: 14px;
  color: #1f2937;
  border-bottom: 1px solid #e5edff;
}

.simple-topic-table tr:hover {
  background: #f5f9ff;
}

.simple-topic-table ul {
  padding-left: 18px;
  margin: 0;
}

/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .ngrt-wrapper {
    flex-direction: column;
  }

  .ngrt-sidebar {
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 12px;
  }

  .ngrt-sidebar ul {
    display: flex;
    gap: 12px;
  }

  .ngrt-sidebar li {
    min-width: 120px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .ngrt-content {
    padding: 20px;
  }

  .ngrt-content .main-title {
    font-size: 22px;
  }

  .ngrt-content .subject-tabs {
    flex-wrap: wrap;
  }

  .topic-search-box {
    justify-content: center;
  }

  .topic-search-box input {
    width: 100%;
  }

  /* table to card view */
  .simple-topic-table thead {
    display: none;
  }

  .simple-topic-table tr {
    display: block;
    margin-bottom: 16px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  }

  .simple-topic-table td {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
  }

  .simple-topic-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #475569;
  }
}

/* why apply ngrt */
/* ===============================
   NGRT BENEFITS SECTION
================================ */
.ngrt-benefits-section {
  padding: 90px 20px;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.ngrt-benefits-container {
  max-width: 1200px;
  margin: auto;
}

/* ===============================
   HEADING
================================ */
.ngrt-benefits-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 60px;
}

.ngrt-benefits-title span {
  display: block;
  color: #2563eb;
  margin-top: 6px;
}

/* ===============================
   GRID
================================ */
.ngrt-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ===============================
   CARD
================================ */
.ngrt-benefit-card {
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ngrt-benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.16);
}

/* Image */
.ngrt-benefit-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Content */
.ngrt-benefit-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 22px 22px 12px;
}

.ngrt-benefit-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #475569;
  margin: 0 22px 28px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  .ngrt-benefits-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ngrt-benefit-card img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .ngrt-benefits-title {
    font-size: 30px;
  }

  .ngrt-benefit-card h3 {
    font-size: 20px;
  }

  .ngrt-benefit-card p {
    font-size: 15px;
  }
}

/* ngrt faqs */
/* =========================================
   FAQ SECTION
========================================= */
.exam-key-info {
  padding: 70px 0;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.section-subtitle {
  margin: 0 auto 42px;
  color: #64748b;
  font-size: 15px;
  max-width: 520px;
  line-height: 1.6;
  position: relative;
}

.section-subtitle::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #facc15;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* =========================================
   INFO CARDS
========================================= */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.info-card {
  padding: 32px 22px;
  border-radius: 20px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  transition: 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

/* Colors */
.blue {
  background: #eaf2ff;
  color: #1e40af;
}

.peach {
  background: #fff1e6;
  color: #92400e;
}

.mint {
  background: #e9fff4;
  color: #065f46;
}

.lavender {
  background: #f3edff;
  color: #5b21b6;
}

.green {
  background: #eaffea;
  color: #166534;
}

.pink {
  background: #ffeef3;
  color: #9f1239;
}

/* =========================================
   🔥 REAL BACKGROUND BLUR (IMPORTANT)
========================================= */
body.modal-open #pageContent {
  filter: blur(8px);
  transition: filter 0.3s ease;
  pointer-events: none;
}

/* =========================================
   MODAL OVERLAY
========================================= */
.exam-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.exam-modal.active {
  display: flex;
}

/* =========================================
   MODAL BOX
========================================= */
.exam-box {
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  width: 90%;
  max-width: 640px;
  padding: 36px;
  border-radius: 26px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: modalFade 0.3s ease;
}

@keyframes modalFade {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.exam-box h3 {
  font-size: 23px;
  margin-bottom: 18px;
  color: #0f172a;
}

.exam-box li {
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Close button */
.exam-box .close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: #64748b;
}

.exam-box .close:hover {
  color: #0f172a;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 992px) {
  .info-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .info-card-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 26px;
  }
}

/* gap */
/* GAP after FAQ cards section */
.exam-key-info {
  padding-bottom: 120px;
}

/* EXTRA SAFETY GAP before Contact section */
.exam-key-info+section,
.exam-key-info+div {
  margin-top: 120px;
}

/* PTM about us */
/* ================= PTM ABOUT SECTION ================= */
.ptm-about-alt {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Soft wave background */
.ptm-about-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='1440' height='500' viewBox='0 0 1440 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100 C260 180 520 40 760 90 1000 140 1240 60 1440 110 V500 H0 Z' fill='%23eef3ff'/%3E%3C/svg%3E") no-repeat top center;
  background-size: cover;
  opacity: 0.55;
  z-index: 0;
}

/* ---------- INTRO ---------- */
.ptm-intro {
  max-width: 880px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
}

.ptm-intro h2 {
  font-size: 38px;
  font-weight: 800;
  color: #0b2a66;
  margin-bottom: 14px;
}

.ptm-intro p {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
}

/* ---------- MAIN GRID ---------- */
.ptm-journey-wrapper {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  position: relative;
  z-index: 1;
}

/* ================= LEFT : TIMELINE ================= */
.ptm-journey {
  position: relative;
  padding-left: 34px;
}

.ptm-journey::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #60a5fa, #34d399);
  border-radius: 10px;
}

.ptm-journey h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 34px;
  color: #0f172a;
}

/* Timeline cards */
.journey-step {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  position: relative;
}

.journey-step::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 22px;
  width: 14px;
  height: 14px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.journey-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0b2a66;
  margin-bottom: 6px;
}

.journey-step p {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
}

/* ================= RIGHT : INSIGHT CARDS ================= */
.ptm-insights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.insight-card {
  border-radius: 18px;
  padding: 20px 20px 22px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
}

.insight-card h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #0b2a66;
  margin-bottom: 6px;
}

.insight-card p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
}

/* Card color tones (soft, professional) */
.insight-card.blue {
  background: #f1f6ff;
}

.insight-card.peach {
  background: #fff3e6;
}

.insight-card.mint {
  background: #eefcf5;
}

.insight-card.lavender {
  background: #f4f1ff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .ptm-journey-wrapper {
    grid-template-columns: 1fr;
  }

  .ptm-insights {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .ptm-intro h2 {
    font-size: 28px;
  }

  .ptm-insights {
    grid-template-columns: 1fr;
  }

  .ptm-journey {
    padding-left: 28px;
  }

  .ptm-journey::before {
    left: 4px;
  }
}

/* ===== CENTER ABOUT PTM INTRO ===== */
.ptm-intro {
  max-width: 880px;
  margin: 0 auto 70px auto;
  /* center horizontally */
  text-align: center;
  /* center text */
}

/* Heading center */
.ptm-intro h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Paragraph center */
.ptm-intro p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FIX LAST CARD (Confidence in Mathematics) ===== */
.insight-card.lavender {
  background: linear-gradient(135deg,
      #e0e7ff,
      /* soft indigo */
      #f1f5ff
      /* light professional tint */
    );
}

/* Make text darker & consistent */
.insight-card.lavender h4 {
  color: #0f172a;
}

.insight-card.lavender p {
  color: #1e293b;
}

/* Improve image blending inside last card */
.insight-card.lavender img {
  background: transparent;
  filter: drop-shadow(0 8px 18px rgba(99, 102, 241, 0.25));
}

/* PTM LEVEL TABLE */
/* ================= PTM LEVELS SECTION ================= */
.ptm-levels-section {
  padding: 80px 0;
  background: #f8fbff;
}

/* wrapper */
.ptm-levels-wrapper {
  max-width: 1100px;
  margin: auto;
  padding: 0 16px;
  /* mobile side spacing */
  text-align: center;
  /* ✅ force center alignment */
}

/* ---------- HEADINGS ---------- */
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #0b2a66;
  margin-bottom: 10px;
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: #475569;
  max-width: 760px;
  margin: 0 auto 40px;
  /* ✅ true center */
  line-height: 1.6;
  text-align: center;
}

/* ---------- TABLE WRAPPER ---------- */
.ptm-table-wrapper {
  background: #ffffff;
  border-radius: 18px;
  overflow-x: auto;
  /* mobile horizontal scroll */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  -webkit-overflow-scrolling: touch;
  text-align: left;
  /* keep table content left-aligned */
}

/* ---------- TABLE ---------- */
.ptm-level-table {
  width: 100%;
  min-width: 760px;
  /* keeps columns readable */
  border-collapse: collapse;
}

.ptm-level-table thead {
  background: #1d4ed8;
  color: #ffffff;
}

.ptm-level-table th,
.ptm-level-table td {
  padding: 16px 18px;
  text-align: left;
  font-size: 14.5px;
  white-space: nowrap;
}

.ptm-level-table th {
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* table rows */
.ptm-level-table tbody tr {
  border-bottom: 1px solid #e5edff;
}

.ptm-level-table tbody tr:last-child {
  border-bottom: none;
}

.ptm-level-table tbody tr:hover {
  background: #f1f6ff;
}

/* ---------- HEADER ROUNDED CORNERS ---------- */
.ptm-level-table thead th:first-child {
  border-top-left-radius: 18px;
}

.ptm-level-table thead th:last-child {
  border-top-right-radius: 18px;
}

/* ================= MOBILE OPTIMIZATION ================= */
@media (max-width: 768px) {

  .ptm-levels-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 14.5px;
    margin-bottom: 28px;
  }

  .ptm-level-table th,
  .ptm-level-table td {
    font-size: 13.5px;
    padding: 14px 16px;
  }
}

@media (max-width: 480px) {

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
  }
}

/* ptm why apply section */
/* ================= PTM BACKGROUND ================= */
.ptm-section-bg {
  background:
    radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.08), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(59, 130, 246, 0.08), transparent 45%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 45%, #f3f8ff 100%);
  padding: 90px 0;
}

/* ================= HERO ================= */
.ptm-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.ptm-hero-text h1 {
  font-size: 40px;
}

.ptm-hero-text span {
  color: #22c55e;
}

.ptm-hero-img img {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

/* ================= FLOW ================= */
.ptm-flow-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 90px auto 70px;
  padding: 0 20px;
}

.ptm-flow-line {
  position: absolute;
  top: 44px;
  left: 6%;
  right: 6%;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  border-radius: 10px;
  z-index: 1;
}

.ptm-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.flow-step {
  text-align: center;
}

.flow-step .icon {
  width: 72px;
  height: 72px;
  background: #22c55e;
  color: #fff;
  font-size: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  box-shadow: 0 14px 35px rgba(34, 197, 94, 0.35);
}

.flow-step h4 {
  margin-top: 18px;
  font-size: 18px;
}

.flow-step p {
  font-size: 14px;
  color: #475569;
  max-width: 220px;
  margin: 6px auto 0;
}

/* ================= INFO ================= */
.ptm-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.info-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 35px;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* ================= METRICS ================= */
.ptm-metrics {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 60px 0;
  font-weight: 600;
  color: #16a34a;
}

/* ================= OUTCOMES ================= */
.ptm-outcomes h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.outcome-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.outcome-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.outcome-card h4 {
  padding: 16px 20px 6px;
}

.outcome-card p {
  padding: 0 20px 20px;
  font-size: 14px;
  color: #475569;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

  .ptm-hero,
  .ptm-info,
  .ptm-flow,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .ptm-flow-line {
    display: none;
  }

  .ptm-metrics {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

/* FAQ */
/* ================= FULL SCREEN MODAL OVERLAY ================= */
.exam-modal {
  position: fixed;
  inset: 0;
  /* top:0 right:0 bottom:0 left:0 */
  width: 100vw;
  height: 100vh;

  display: none;
  /* controlled via JS */
  justify-content: center;
  align-items: center;

  background: rgba(15, 23, 42, 0.6);
  /* dark overlay */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  z-index: 999999;
}

/* ================= MODAL BOX ================= */
.exam-box {
  background: #ffffff;
  width: 90%;
  max-width: 650px;
  padding: 32px;

  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);

  position: relative;
}

/* ================= CLOSE BUTTON ================= */
.exam-box .close {
  position: absolute;
  top: 18px;
  right: 20px;

  font-size: 24px;
  font-weight: bold;
  color: #64748b;
  cursor: pointer;
}

.exam-box .close:hover {
  color: #0f172a;
}

/* ================= MODAL CONTENT ================= */
.exam-box h3 {
  margin-bottom: 14px;
  color: #0f172a;
}

.exam-box p,
.exam-box li {
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

.exam-box ul {
  padding-left: 18px;
}

/* ================= MOBILE OPTIMIZATION ================= */
@media (max-width: 600px) {
  .exam-box {
    padding: 24px;
    border-radius: 18px;
  }
}

/* FAQ */
.exam-modal {
  display: none;
}

.exam-modal.active {
  display: flex;
}

body.modal-open {
  overflow: hidden;
}

/* PTE CSS */
/* ================= LEVEL MAPPING TABLE ================= */
.ptm-mapping-section {
  padding: 70px 0;
  background: #ffffff;
  text-align: center;
}

.mapping-table-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.mapping-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* HEADER */
.mapping-table thead th {
  background: #1f4ed8;
  /* same PTM blue */
  color: #ffffff;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

/* ROWS */
.mapping-table tbody td {
  padding: 15px 16px;
  font-size: 14px;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
}

/* STRIPED ROW */
.mapping-table tbody tr:nth-child(even) {
  background: #f8fbff;
}

/* HOVER */
.mapping-table tbody tr:hover {
  background: #eef4ff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .mapping-table thead {
    display: none;
  }

  .mapping-table,
  .mapping-table tbody,
  .mapping-table tr,
  .mapping-table td {
    display: block;
    width: 100%;
  }

  .mapping-table tr {
    margin-bottom: 18px;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    background: #ffffff;
  }

  .mapping-table td {
    padding: 12px 16px;
    text-align: left;
    position: relative;
  }
}

/* PTS LEVEL TABLE*/
/* ================= LEVEL MAPPING TABLE ================= */
.level-mapping-section {
  padding: 80px 0;
  background: #ffffff;
}

.mapping-table-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.mapping-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* HEADER */
.mapping-table thead th {
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 600;
  text-align: left;
  padding: 16px 18px;
  font-size: 15px;
}

/* BODY */
.mapping-table tbody td {
  padding: 16px 18px;
  font-size: 14.5px;
  color: #0f172a;
  border-bottom: 1px solid #e5edff;
}

.mapping-table tbody tr:nth-child(even) {
  background: #f8fbff;
}

/* Highlight (like Year 9 / transition rows) */
.mapping-table .highlight-row {
  background: #f1f6ff;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .mapping-table thead {
    display: none;
  }

  .mapping-table,
  .mapping-table tbody,
  .mapping-table tr,
  .mapping-table td {
    display: block;
    width: 100%;
  }

  .mapping-table tr {
    margin-bottom: 18px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .mapping-table td {
    padding: 14px 16px;
    position: relative;
  }

  .mapping-table td::before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #475569;
  }
}

/* IBT LEVEL TABLE */
/* ===== SECTION ===== */
.exam-mapping-section {
  padding: 70px 15px;
  background: #ffffff;
}

.section-title {
  display: block;
  width: 100%;
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;

  font-size: 34px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}


.section-subtitle {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
}

/* ===== TABLE WRAPPER ===== */
.mapping-table-wrapper {
  overflow-x: auto;
}

/* ===== TABLE ===== */
.mapping-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

/* ===== TABLE HEADER ===== */
.mapping-table thead {
  background: linear-gradient(90deg, #1e40af, #2563eb);
  color: #ffffff;
}

/* 🔥 FORCE CENTER TABLE HEADINGS */
.mapping-table thead th {
  text-align: center !important;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  vertical-align: middle;
}

/* ===== TABLE BODY ===== */
.mapping-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

.mapping-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.mapping-table tbody tr:hover {
  background: #eef2ff;
}

/* Default body alignment */
.mapping-table td {
  padding: 16px 18px;
  font-size: 15px;
  color: #0f172a;
}

/* Center first 3 columns (Year, Level, Age) */
.mapping-table tbody td:nth-child(1),
.mapping-table tbody td:nth-child(2),
.mapping-table tbody td:nth-child(3) {
  text-align: center;
}

/* Keep Purpose column readable */
.mapping-table tbody td:nth-child(4) {
  text-align: left;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  /* Hide table header */
  .mapping-table thead {
    display: none;
  }

  .mapping-table,
  .mapping-table tbody,
  .mapping-table tr,
  .mapping-table td {
    display: block;
    width: 100%;
  }

  .mapping-table tr {
    margin-bottom: 18px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 12px;
  }

  .mapping-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    text-align: right;
  }

  .mapping-table td:last-child {
    border-bottom: none;
  }

  .mapping-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #1e40af;
    text-align: left;
  }
}

/* ISA LEVLE TABLE */
/* ================= SECTION ================= */
.exam-mapping-section {
  width: 100%;
  padding: 70px 15px;
  background: #ffffff;
}

/* ================= TITLE ================= */
.exam-mapping-section .section-title {
  display: block;
  width: 100%;
  text-align: center !important;
  margin: 0 auto 12px;

  font-size: 34px;
  font-weight: 700;
  color: #0f172a;
}

/* ================= SUBTITLE ================= */
.exam-mapping-section .section-subtitle {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;

  font-size: 16px;
  color: #475569;
  line-height: 1.6;
}

/* ================= TABLE WRAPPER ================= */
.mapping-table-wrapper {
  overflow-x: auto;
}

/* ================= TABLE ================= */
.exam-mapping-section table.mapping-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

/* ================= TABLE HEADER ================= */
.exam-mapping-section table.mapping-table thead {
  background: linear-gradient(90deg, #1e40af, #2563eb);
  color: #ffffff;
}

/* Force center table headings */
.exam-mapping-section table.mapping-table thead th {
  text-align: center !important;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  vertical-align: middle;
}

/* ================= TABLE BODY ================= */
.exam-mapping-section table.mapping-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

.exam-mapping-section table.mapping-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.exam-mapping-section table.mapping-table tbody tr:hover {
  background: #eef2ff;
}

.exam-mapping-section table.mapping-table td {
  padding: 16px 18px;
  font-size: 15px;
  color: #0f172a;
}

/* Center first 3 columns */
.exam-mapping-section table.mapping-table tbody td:nth-child(1),
.exam-mapping-section table.mapping-table tbody td:nth-child(2),
.exam-mapping-section table.mapping-table tbody td:nth-child(3) {
  text-align: center;
}

/* Keep last column readable */
.exam-mapping-section table.mapping-table tbody td:nth-child(4) {
  text-align: left;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {

  .exam-mapping-section .section-title {
    font-size: 26px;
  }

  .exam-mapping-section .section-subtitle {
    font-size: 15px;
  }

  /* Hide table header on mobile */
  .exam-mapping-section table.mapping-table thead {
    display: none;
  }

  .exam-mapping-section table.mapping-table,
  .exam-mapping-section table.mapping-table tbody,
  .exam-mapping-section table.mapping-table tr,
  .exam-mapping-section table.mapping-table td {
    display: block;
    width: 100%;
  }

  .exam-mapping-section table.mapping-table tr {
    margin-bottom: 18px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 12px;
  }

  .exam-mapping-section table.mapping-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;

    font-size: 14px;
    text-align: right;
  }

  .exam-mapping-section table.mapping-table td:last-child {
    border-bottom: none;
  }
}

/* gap */
/* =====================================================
   FINAL SAFE GAP FIX — WORKS 100%
   Does NOT affect header, fonts, hero, navbar
===================================================== */

/* Create visible gap AFTER FAQ cards */
.cat4-info-cards .container {
  padding-bottom: 50px;
}

/* Create visible gap BEFORE Contact section */
#contact.contact-area>.container {
  padding-top: 50px;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 768px) {
  .cat4-info-cards .container {
    padding-bottom: 50px;
  }

  #contact.contact-area>.container {
    padding-top: 50px;
  }
}

/* =====================================================
   UNIVERSAL GAP BETWEEN EXAM CONTENT BLOCKS (FINAL)
   Works even when sections share same parent
   No layout / font / header break
===================================================== */

/* Gap before level / age-band table headings */
.exam-mapping-section,
.exam-mapping-section h2 {
  margin-top: 80px;
}

/* Gap before FAQ section */
.cat4-info-cards,
.cat4-info-cards h2 {
  margin-top: 80px;
}

/* Gap before Contact section */
#contact.contact-area,
#contact.contact-area h2 {
  margin-top: 80px;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 768px) {

  .exam-mapping-section,
  .exam-mapping-section h2,
  .cat4-info-cards,
  .cat4-info-cards h2,
  #contact.contact-area,
  #contact.contact-area h2 {
    margin-top: 50px;
  }
}

/* extra */
/* DESKTOP DROPDOWN */
.exam-dropdown {
  position: relative;
}

.exam-dropdown-menu {
  position: absolute;
  top: 48px;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  display: none;
  z-index: 9999;
}

.exam-dropdown-menu span {
  display: block;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 500;
}

.exam-dropdown-menu span:hover {
  background: #f1f5ff;
}

.exam-dropdown-menu.show {
  display: block;
}

/* MOBILE */
.mobile-exam-menu {
  padding-left: 10px;
}

.mobile-exam-title {
  font-weight: 700;
  display: block;
  margin: 10px 0 5px;
}

/* MOBILE MENU */
/* ================= MOBILE NAV FIX ================= */

.mobile-action-bar {
  display: none;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  height: 100vh;
  background: #ffffff;
  padding: 20px;
  z-index: 9999;
  overflow-y: auto;
  transition: left 0.3s ease;
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav a {
  display: block;
  padding: 12px 10px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  color: #002A7E;
  text-decoration: none;
}

/* Exams section */
.mobile-exams {
  margin-top: 10px;
}

.mobile-exams-title {
  font-weight: 700;
  padding: 12px 10px;
  cursor: pointer;
  background: #f3f6ff;
  border-radius: 6px;
}

.mobile-exam-list {
  display: none;
  margin-top: 8px;
}

.mobile-exam-list a {
  padding-left: 20px;
  font-size: 15px;
}

/* SHOW MOBILE BAR */
@media (max-width: 992px) {
  .mobile-action-bar {
    display: block;
    padding: 10px;
    background: #002A7E;
  }

  .mobile-menu-btn {
    background: #ffffff;
    color: #002A7E;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 6px;
    font-weight: 700;
  }

  .navbar-wrapper {
    display: none;
  }
}

/* =====================================
   ABOUT FEATURES – HARD FORCE ALIGN FIX
   ===================================== */

.about-features-fix {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* EACH ROW */
.about-features-fix li {
  display: flex !important;
  align-items: flex-start !important;
  /* 🔑 FIX */
  gap: 12px;
  margin-bottom: 16px;
}

/* REMOVE ALL OLD ICON STYLES */
.about-features-fix li::before,
.about-features-fix li::after {
  content: none !important;
}

/* GREEN TICK */
.tick-fix {
  font-size: 14px;
  line-height: 1;
  margin-top: 6px;
  /* 🔑 SAME FOR ALL */
  color: #16a34a;
  flex-shrink: 0;
}

/* TEXT WRAPPER */
.text-fix {
  display: flex;
  flex-direction: column;
}

/* TITLE */
.title-fix {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}

/* DESCRIPTION */
.desc-fix {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #374151;
}

/* MOBILE SAFETY */
@media (max-width: 768px) {
  .about-features-fix li {
    gap: 10px;
  }

  .tick-fix {
    margin-top: 5px;
  }
}

@media (max-width: 768px) {

  .about-features {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .about-features li {
    display: grid;
    grid-template-columns: 22px 1fr;
    /* FIXED tick column */
    column-gap: 12px;
    align-items: start;
    margin-bottom: 16px;
  }

  .about-features li::before {
    content: "✔";
    color: #22c55e;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 2px;
  }

  .about-features li span {
    display: block;
  }

  .about-features li span strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
  }

  .about-features li span small {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
  }
}

/* =========================================
   HARD RESET – FORCE REAL TABLE ON MOBILE
========================================= */

/* Force table structure back */
.mapping-table,
.mapping-table thead,
.mapping-table tbody,
.mapping-table tr,
.mapping-table th,
.mapping-table td {
  display: table !important;
}

.mapping-table thead {
  display: table-header-group !important;
}

.mapping-table tbody {
  display: table-row-group !important;
}

.mapping-table tr {
  display: table-row !important;
}

.mapping-table th,
.mapping-table td {
  display: table-cell !important;
}

/* Wrapper must NOT hide table */
.mapping-table-wrapper {
  width: 100%;
  overflow: visible !important;
}

/* Table base */
.mapping-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* Header */
.mapping-table thead th {
  background: #1f4fd8;
  color: #ffffff;
  padding: 14px 10px;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}

/* Body */
.mapping-table tbody td {
  padding: 14px 10px;
  font-size: 14px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  text-align: center;
  word-break: break-word;
}

/* Last column left aligned */
.mapping-table th:last-child,
.mapping-table td:last-child {
  text-align: left;
}

/* Highlight row */
.mapping-table .highlight-row {
  background: #f1f6ff;
  font-weight: 600;
}

/* =========================================
   MOBILE – SAME TABLE, SMALLER TEXT ONLY
========================================= */
@media (max-width: 768px) {

  .mapping-table thead th {
    font-size: 11px;
    padding: 8px 6px;
  }

  .mapping-table tbody td {
    font-size: 11px;
    padding: 8px 6px;
  }

}

/* =====================================
   PTS WRAPPER – MOBILE SAFE FIX
===================================== */

/* DEFAULT (DESKTOP UNCHANGED) */
.cat4-wrapper {
  display: flex;
  gap: 24px;
}

/* SIDEBAR */
.cat4-sidebar {
  width: 260px;
  flex-shrink: 0;
}

/* CONTENT */
.cat4-content {
  flex: 1;
  min-width: 0;
}

/* =====================================
   MOBILE VIEW FIX
===================================== */
@media (max-width: 768px) {

  .cat4-wrapper {
    flex-direction: column;
  }

  .cat4-sidebar {
    width: 100%;
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px;
  }

  .cat4-sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .cat4-sidebar li {
    flex: 1 1 30%;
    text-align: center;
    padding: 10px 8px;
    border-radius: 10px;
    background: #ffffff;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid #e5e7eb;
  }

  .cat4-sidebar li.active {
    background: #1f4fd8;
    color: #fff;
    font-weight: 600;
  }

  .cat4-content {
    width: 100%;
  }

  .main-title {
    font-size: 20px;
    text-align: center;
  }

  .subtitle {
    font-size: 14px;
    text-align: center;
    padding: 0 12px;
  }
}

/* =====================================
   ABOUT FEATURES – SAFE GLOBAL FIX
   (Desktop + Mobile, No Break)
===================================== */

.about-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-features li {
  position: relative;
  padding-left: 30px;
  /* space for tick */
  margin-bottom: 16px;
}

/* GREEN TICK – WORKS EVERYWHERE */
.about-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 4px;
  color: #22c55e;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

/* TEXT STRUCTURE */
.about-features li span {
  display: block;
}

.about-features li span strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.about-features li span small {
  display: block;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

/* =====================================
   HARD FIX – TEXT BREAK ON MOBILE
   (Forces full width, fixes letter breaking)
===================================== */
@media (max-width: 768px) {

  /* FORCE STACKING */
  .about-portal-content {
    display: block !important;
    width: 100% !important;
  }

  .about-left,
  .about-right {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  /* FIX TEXT CONTAINER */
  .about-right {
    padding: 0 !important;
  }

  /* FIX LIST */
  .about-features {
    width: 100% !important;
    padding-left: 0 !important;
  }

  .about-features li {
    width: 100% !important;
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
  }

  /* TEXT – THIS IS THE KEY FIX */
  .about-features li span,
  .about-features li strong,
  .about-features li small {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
}

/* =========================================
   GLOBAL EXAM CARD IMAGE FIX (FOR ALL PAGES)
   ========================================= */

/* Force all images inside cards to behave */
.card img,
.exam img,
.exam-box img,
.exam-item img,
.exam-grid img,
.exam-list img,
img[src*="CAT"],
img[src*="exam"],
img[src*="EXAM"] {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #ffffff !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Remove faded overlays */
.card::before,
.card::after,
.exam::before,
.exam::after,
.exam-box::before,
.exam-box::after {
  display: none !important;
}

/* MOBILE ONLY – FIX DULL BACKGROUND */
@media (max-width: 768px) {

  .card,
  .exam,
  .exam-box,
  .exam-item {
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
  }

  img {
    background: #ffffff !important;
  }
}

.exam-dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  max-height: 360px;
  overflow-y: auto;
  z-index: 9999;
  pointer-events: auto;
  /* 🔥 MUST */
}

.exam-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #0f172a;
}

.exam-dropdown-menu a:hover {
  background: #f1f5f9;
}

/* menu button */
/* ==============================
   MOBILE MENU BUTTON VISIBILITY
============================== */

/* DESKTOP / LAPTOP */
@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

/* MOBILE / TABLET */
@media (max-width: 991px) {
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #0b5ed7;
    background: #ffffff;
    color: #0b5ed7;
    border-radius: 6px;
    cursor: pointer;
  }
}

/* ngrt */
.exam-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  z-index: 999999;
}

.exam-box {
  background: #fff;
  width: 90%;
  max-width: 600px;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}

.close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 26px;
  cursor: pointer;
}

/* ap level table */
/* ===== TABLE BASE ===== */
.ap-table {
  width: 100%;
  border-collapse: collapse;
}

.ap-table th,
.ap-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ap-table {
    min-width: 700px;
    /* important */
  }

  .ap-table th,
  .ap-table td {
    font-size: 10px;
    padding: 12px;
  }
}

.exam-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #c7d2fe;
  background: #ffffff;
  color: #1e3a8a;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.exam-tab:hover {
  background: #1e40af;
  color: #ffffff;
}

/* ielts */
/* =========================
   EXAM MAPPING TABLE – GLOBAL
   ========================= */

.exam-mapping-section {
  padding: 70px 15px;
  background: #ffffff;
}

/* ---------- TITLES ---------- */
.section-title {
  text-align: center;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #475569;
  line-height: 1.65;
  letter-spacing: 0.2px;
}

/* ---------- TABLE WRAPPER ---------- */
.table-responsive {
  overflow-x: auto;
}

/* ---------- TABLE ---------- */
.exam-mapping-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
}

/* ---------- TABLE HEADER ---------- */
.exam-mapping-table thead {
  background: #1d4ed8;
}

.exam-mapping-table thead th {
  padding: 14px 16px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-align: left;
  white-space: nowrap;
}

/* ---------- TABLE BODY ---------- */
.exam-mapping-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

.exam-mapping-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.exam-mapping-table tbody tr:hover {
  background: #eef2ff;
}

/* ---------- TABLE CELLS ---------- */
.exam-mapping-table td {
  padding: 14px 16px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #0f172a;
  line-height: 1.5;
  vertical-align: top;
}

/* Slight emphasis for first column (Band / Year) */
.exam-mapping-table td:first-child {
  font-weight: 500;
}

/* ---------- LISTS INSIDE TABLE ---------- */
.exam-mapping-table ul {
  margin: 0;
  padding-left: 18px;
}

.exam-mapping-table ul li {
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.45;
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 768px) {

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .exam-mapping-table thead th,
  .exam-mapping-table td {
    font-size: 13.5px;
    padding: 12px;
  }
}

/* ---------- EXTRA SMALL DEVICES ---------- */
@media (max-width: 480px) {

  .exam-mapping-table thead th,
  .exam-mapping-table td {
    font-size: 13px;
    padding: 10px;
  }
}

/* scroll button */
/* =====================================
   EXAM TAB GRID – FINAL VERSION
===================================== */

.exam-tab-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  /* 5 per row */
  gap: 14px;
  padding: 15px 0;
}

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

.exam-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  height: 54px;
  padding: 8px 10px;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;

  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 12px;

  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: normal;
  /* allow wrap */
}

/* Hover */
.exam-tab:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.15);
}

/* Active */
.exam-tab.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

/* =====================================
   RESPONSIVE BREAKPOINTS
===================================== */

@media (max-width: 1200px) {
  .exam-tab-track {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .exam-tab-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .exam-tab-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .exam-tab-track {
    grid-template-columns: 1fr;
  }

  .exam-tab {
    height: auto;
    padding: 12px;
  }
}

/* =====================================
   EXAM TAB TRACK – FIXED 5 PER ROW
===================================== */

.exam-tab-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* ALWAYS 5 */
  gap: 14px;
  padding: 15px 0;
}

/* =====================================
   EXAM TAB BUTTON
===================================== */

.exam-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  height: 54px;
  padding: 8px 10px;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;

  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 12px;

  text-decoration: none;
  cursor: pointer;
  white-space: normal;
  /* text wrap */

  transition: all 0.25s ease;
}

/* Hover */
.exam-tab:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Active */
.exam-tab.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* =====================================
   IMPORTANT: NO RESPONSIVE BREAK
   (keeps 5 buttons even on mobile)
===================================== */
/* ===============================
   FORCE GRID (IGNORE BOOTSTRAP)
================================ */
.exam-tab-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  /* EXACTLY 5 */
  column-gap: 14px;
  row-gap: 14px;
  width: 100%;
}

/* ===============================
   BUTTON STYLE
================================ */
.exam-tab-grid .exam-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  height: 54px;
  padding: 8px 10px;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;

  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 12px;

  text-decoration: none;
  white-space: normal;
  box-sizing: border-box;
}

/* Hover */
.exam-tab-grid .exam-tab:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ===============================
   WRAPPER (BOOTSTRAP SAFE)
================================ */
.exam-tabs-wrapper {
  width: 100%;
  overflow: hidden;
}

/* ===============================
   FORCE 5 COLUMNS – GRID
================================ */
.exam-tab-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* EXACTLY 5 */
  gap: 10px;
  width: 100%;
}

/* ===============================
   BUTTON STYLE
================================ */
.exam-tab {
  height: 60px;
  padding: 8px 10px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;

  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 12px;

  text-decoration: none;
  white-space: normal;
  box-sizing: border-box;
}

/* Hover */
.exam-tab:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ===============================
   RESET EVERYTHING
================================ */
.exam-tabs-container,
.exam-tab-track,
.exam-tab {
  box-sizing: border-box;
}

/* ===============================
   CONTAINER (BREAK BOOTSTRAP)
================================ */
.exam-tabs-container {
  width: 100%;
  overflow: hidden;
}

/* ===============================
   FORCE 5 COLUMNS – GRID
================================ */
.exam-tab-track {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px;
  width: 100%;
}

/* ===============================
   BUTTON
================================ */
.exam-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  height: 40px;
  padding: 6px 8px;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;

  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 40px;

  text-decoration: none;
  white-space: normal;
}

/* card size */
/* ================================
   CARD COLUMN (VERY IMPORTANT)
   Apply to col / swiper-slide
================================ */
.exam-card-col {
  display: flex;
  height: 100%;
}

/* ================================
   CARD WRAPPER
================================ */
.exam-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;

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

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ================================
   IMAGE – SAME HEIGHT FOR ALL
================================ */
.exam-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

/* ================================
   CARD BODY
================================ */
.exam-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* ================================
   TITLE – FIXED HEIGHT
================================ */
.exam-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;

  min-height: 48px;
  /* KEY */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================
   DESCRIPTION – FIXED HEIGHT
================================ */
.exam-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 10px;

  min-height: 42px;
  /* KEY */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================
   META INFO (GRADE, ETC.)
================================ */
.exam-card-meta {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;

  min-height: 20px;
  /* ALIGNMENT FIX */
}

/* ================================
   BUTTON – ALWAYS AT BOTTOM
================================ */
.exam-card .btn,
.exam-card button {
  margin-top: auto;
  /* MOST IMPORTANT */
  width: 100%;

  background: #1d4ed8;
  color: #ffffff;
  border: none;

  border-radius: 999px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
}

/* ================================
   OPTIONAL HOVER EFFECT
================================ */
.exam-card:hover {
  transform: translateY(-4px);
  transition: 0.3s ease;
}

/* ================================
   RESPONSIVE IMAGE
================================ */
@media (max-width: 768px) {
  .exam-card img {
    height: 155px;
  }
}

@media (max-width: 480px) {
  .exam-card img {
    height: 145px;
  }
}

/* form */
/* =========================
   FORM WRAPPER
========================= */
.registration-form {
  max-width: 520px;
  margin: 0 auto;
}

/* =========================
   FORM HEADING
========================= */
.registration-form h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.registration-form p {
  font-size: 14px;
  color: #475569;
  margin-bottom: 22px;
  line-height: 1.6;
}

/* =========================
   INPUT GROUP
========================= */
.form-group {
  margin-bottom: 16px;
}

/* =========================
   INPUT & SELECT
========================= */
.registration-form input,
.registration-form select {
  width: 100%;
  height: auto !important;

  padding: 0 16px;
  font-size: 15px;
  color: #0f172a;

  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;

  outline: none;
  transition: 0.25s ease;
}

/* Focus State */
.registration-form input:focus,
.registration-form select:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* =========================
   PLACEHOLDER
========================= */
.registration-form input::placeholder {
  color: #64748b;
}

/* =========================
   SELECT FIX
========================= */
.registration-form select {
  cursor: pointer;
}

/* =========================
   SUBMIT BUTTON
========================= */
.registration-form button {
  width: 100%;
  height: 54px;
  margin-top: 10px;

  background: #2563eb;
  color: #ffffff;

  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;

  cursor: pointer;
  transition: 0.3s ease;
}

.registration-form button:hover {
  background: #1e40af;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 576px) {
  .registration-form {
    padding: 0 12px;
  }

  .registration-form h2 {
    font-size: 24px;
  }
}

/* =========================
   SIDE INFO BOX WRAPPER
========================= */
.side-info-box {
  display: flex;
  align-items: center;
}

/* =========================
   INFO BOX
========================= */
.info-box {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Heading */
.info-box h5 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

/* List */
.info-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.info-box ul li {
  font-size: 14px;
  color: #334155;
  margin-bottom: 10px;
}

/* Contact */
.info-contact {
  border-top: 1px dashed #cbd5e1;
  padding-top: 14px;
}

.info-contact p {
  font-size: 14px;
  margin-bottom: 6px;
  color: #0f172a;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {
  .side-info-box {
    margin-top: 20px;
  }
}

.dropdown-wrapper {
  position: relative;
}

.dropdown-input {
  cursor: pointer;
}

.dropdown-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.dropdown-menu-custom {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  z-index: 9999;
  padding: 0;
  margin-top: 6px;
}

.dropdown-menu-custom li {
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}

.dropdown-menu-custom li:hover {
  background: #2563eb;
  color: #fff;
}

/* ===== EXAM BUTTON GRID ===== */
.exam-tab-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

/* Tablet */
@media (max-width: 992px) {
  .exam-tab-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .exam-tab-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Button style safety */
.exam-tab {
  text-align: center;
  padding: 12px 8px;
  white-space: normal;
  font-size: 14px;
}

/* ===== EXAM BUTTON GRID ===== */
.exam-tab-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

/* Tablet */
@media (max-width: 992px) {
  .exam-tab-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile – CLEAR BUTTONS */
@media (max-width: 576px) {
  .exam-tab-track {
    grid-template-columns: repeat(1, 1fr);
    /* 🔥 ONE BUTTON PER ROW */
  }

  .exam-tab {
    padding: 14px 12px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
  }
}

/* ===== TABLE SCROLL FIX ===== */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  /* 🔥 SCROLL ENABLE */
  -webkit-overflow-scrolling: touch;
}

.syllabus-table {
  min-width: 900px;
  /* 🔥 forces scroll on mobile */
  border-collapse: collapse;
}

/* view detail button */
/* ================= FORCE CARD BUTTON ALIGNMENT ================= */

/* slider track */
.featured-track {
  display: flex !important;
  gap: 22px !important;
}

/* card */
.exam-card {
  position: relative !important;
  width: 320px !important;
  min-height: 420px !important;
  background: #ffffff !important;
  border-radius: 22px !important;
  padding: 14px !important;
  box-sizing: border-box !important;
}

/* image */
.exam-img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
}

/* content */
.exam-content {
  padding: 12px 6px 80px !important;
}

/* button */
.exam-card .view-btn {
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 14px !important;
  height: 48px !important;
  border-radius: 999px !important;
  border: none !important;
  background: #1e40af !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

/* redirect page */
.exam-card {
  position: relative;
  width: 320px;
  min-height: 420px;
  background: #fff;
  border-radius: 22px;
  padding: 14px;
}

.exam-card .view-btn {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
}

/* view detail button */
/* ================= PERFECT SAME SIZE FEATURED CARDS ================= */

/* slider track */
.featured-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

/* CARD */
.featured-card {
  width: 320px;
  height: 460px;
  /* 🔥 SAME HEIGHT FOR ALL */
  background: #ffffff;
  border-radius: 22px;
  padding: 14px;
  box-sizing: border-box;

  display: flex;
  /* 🔥 KEY */
  flex-direction: column;
  /* 🔥 KEY */
}

/* IMAGE */
.featured-card img {
  width: 100%;
  height: 180px;
  /* 🔥 SAME IMAGE HEIGHT */
  object-fit: cover;
  border-radius: 16px;
}

/* TITLE */
.featured-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0 6px;
}

/* DESCRIPTION (LIMIT HEIGHT) */
.featured-card p {
  font-size: 14px;
  color: #475569;
  margin-bottom: 6px;

  display: -webkit-box;
  /* 🔥 prevents height change */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* META */
.featured-card .meta {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
}

/* BUTTON */
.featured-card .view-btn {
  margin-top: auto;
  /* 🔥 ALWAYS PUSH TO BOTTOM */
  height: 48px;
  border-radius: 999px;
  border: none;
  background: #1e40af;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

/* ================= FINAL CARD FIX ================= */

.featured-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

/* CARD */
.featured-card {
  width: 320px;
  height: 400px;
  /* 🔥 smaller card */
  background: #ffffff;
  border-radius: 22px;
  padding: 14px;
  box-sizing: border-box;

  display: grid;
  /* 🔥 KEY */
  grid-template-rows: auto auto auto auto;
}

/* IMAGE */
.featured-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 16px;
}

/* TITLE */
.featured-card h4 {
  margin: 8px 0 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

/* DESCRIPTION */
.featured-card p {
  margin: 0 0 4px;
  font-size: 14px;
  color: #475569;
  line-height: 1.3;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* 🔥 SAME TEXT HEIGHT */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* META */
.featured-card .meta {
  margin: 0 0 8px;
  font-size: 13px;
  color: #64748b;
}

/* BUTTON */
.featured-card .view-btn {
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #1e40af;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* leader */
/* ===== SECTION ===== */
.committee-section {
  padding: 90px 0;
  background: #ffffff;
}

/* HEADER */
.committee-header {
  text-align: center;
  margin-bottom: 60px;
}

.committee-header h2 {
  font-size: 38px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.header-line {
  display: block;
  width: 70px;
  height: 3px;
  background: #1e40af;
  margin: 0 auto 10px;
}

.committee-header p {
  font-size: 16px;
  color: #475569;
}

/* LAYOUT */
.committee-layout {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 50px;
  align-items: flex-start;
}

/* IMAGE */
.committee-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

/* INFO */
.committee-info h3 {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.committee-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 6px;
}

.committee-site {
  display: inline-block;
  font-size: 14px;
  color: #2563eb;
  margin-bottom: 18px;
  text-decoration: none;
}

.committee-site:hover {
  text-decoration: underline;
}

/* TEXT */
.committee-desc {
  max-width: 640px;
}

.committee-desc p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 14px;
}

/* MOBILE */
@media (max-width: 768px) {
  .committee-layout {
    grid-template-columns: 1fr;
  }

  .committee-desc {
    max-width: 100%;
  }
}

.section-header3 {
  margin-bottom: 25px !important;
}

.section-subtitle {
  margin-top: 6px !important;
}

/* WhatsApp section spacing fix */
.subscribe-area {
  padding-bottom: 30px !important;
  margin-bottom: 0 !important;
}

/* Organizing Committee spacing fix */
.committee-section,
.organizers-section {
  padding-top: 40px !important;
  margin-top: 0 !important;
}

/* ===== ORGANIZING COMMITTEE HEADING ===== */
.committee-heading {
  text-align: center;
  margin: 40px 0 45px;
}

.committee-heading h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

/* Blue divider */
.heading-divider {
  display: block;
  width: 70px;
  height: 3px;
  background-color: #1e40af;
  margin: 0 auto 8px;
  border-radius: 2px;
}

/* Leadership subtitle */
.committee-heading p {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #64748b;
  text-transform: uppercase;
  margin: 0;
}

/* hover */
/* WhatsApp Submit Button – Olive Green */
.subscribe-btn,
#whatsapp-submit-btn {
  background-color: #556b2f;
  /* olive green */
  color: #ffffff;
  border: 2px solid #556b2f;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(85, 107, 47, 0.25);
}

/* Hover effect */
.subscribe-btn:hover,
#whatsapp-submit-btn:hover {
  background-color: #6b8e23;
  /* lighter olive */
  border-color: #6b8e23;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(85, 107, 47, 0.35);
}

/* Active (click) */
.subscribe-btn:active,
#whatsapp-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(85, 107, 47, 0.25);
}

/* Base button */
.submit-btn {
  background-color: #556b2f;
  /* olive green */
  color: #ffffff;
  border: none;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(85, 107, 47, 0.25);
}

/* Icon */
.submit-btn i {
  transition: transform 0.3s ease;
}

/* Hover (NO WHITE) */
.submit-btn:hover {
  background-color: #6b8e23;
  /* lighter olive */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(85, 107, 47, 0.35);
}

/* Arrow animation */
.submit-btn:hover i {
  transform: translateX(4px);
}

/* Active */
.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(85, 107, 47, 0.25);
}

.submit-btn {
  background-color: #556b2f;
  /* olive green */
  color: #ffffff;
  border: none;

  /* 👇 SIZE INCREASE HERE */
  padding: 20px 44px;
  /* was 10px 26px */
  font-size: 20px;
  /* was 14px */

  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(85, 107, 47, 0.28);
}

/* Hover – NO WHITE */
.submit-btn:hover {
  background-color: #556b2f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(85, 107, 47, 0.35);
}

/* Arrow animation */
.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(4px);
}

/* ===== WHATSAPP SUBMIT BUTTON ===== */
#whatsapp-submit-btn {
  background-color: #556b2f !important;
  /* olive green */
  color: #ffffff !important;

  font-size: 22px !important;
  font-weight: 600 !important;

  padding: 16px 24px !important;
  border-radius: 12px !important;

  border: none !important;
  box-shadow: 0 10px 24px rgba(107, 142, 35, 0.35) !important;

  transition: all 0.3s ease !important;
}

/* ===== HOVER (NO WHITE ISSUE) ===== */
#whatsapp-submit-btn:hover,
#whatsapp-submit-btn:focus {
  background-color: #556b2f !important;
  /* darker olive */
  color: #ffffff !important;

  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(107, 142, 35, 0.45) !important;
}

/* ===== REMOVE BOOTSTRAP WHITE EFFECT ===== */
#whatsapp-submit-btn:active {
  background-color: #556b2f !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  padding: 80px 20px;
  transform: translateX(-100%);
  transition: 0.3s ease;
  z-index: 9999;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
}



@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }
}

.exam-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.exam-content {
  flex-grow: 1;
}

.exam-card .view-btn {
  margin-top: auto;
}

.exam-tab-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 10px;
}

.exam-tab {
  flex: 0 0 auto;
}

.submit-btn,
.subscribe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 24px;
  font-size: 18px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .leader-card {
    flex-direction: column;
    text-align: center;
  }

  .leader-image img {
    width: 100%;
    max-width: 280px;
    margin: auto;
  }

  .leader-content {
    padding-top: 16px;
  }
}

@media (max-width: 768px) {

  /* Hide left MAP Levels panel */
  .syllabus-left {
    display: none;
  }

  /* Right section full width */
  .syllabus-right {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================
   MOBILE TABLE FIX
========================= */

/* Scroll wrapper */
.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Force table width */
.syllabus-table {
  min-width: 900px;
  /* adjust if needed */
  border-collapse: collapse;
}

/* Improve touch usability */
.table-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #2b310a;
  /* olive green */
  border-radius: 10px;
}

/* Mobile-only adjustments */
@media (max-width: 768px) {

  .syllabus-table th,
  .syllabus-table td {
    font-size: 13px;
    padding: 10px;
    white-space: nowrap;
  }
}

/* =====================================
   UNIVERSAL MOBILE TABLE FIX (ALL EXAMS)
===================================== */

/* Wrapper enables horizontal scroll */
.syllabus-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

/* Ensure table doesn't shrink */
.syllabus-table {
  min-width: 900px;
  /* important */
  border-collapse: collapse;
}

/* Scrollbar styling (optional but professional) */
.syllabus-table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.syllabus-table-wrapper::-webkit-scrollbar-thumb {
  background: #2b310a;
  /* olive green */
  border-radius: 10px;
}

/* Mobile optimizations */
@media (max-width: 768px) {

  .syllabus-table th,
  .syllabus-table td {
    font-size: 13px;
    padding: 10px;
    white-space: nowrap;
  }
}

/* ===============================
   =============================== */


/* ===============================
   PARIKSHA PORTAL DUBAI – CUSTOM
   =============================== */
/* =====================================
   PARIKSHA PORTAL – GLOBAL BLOCK
   ===================================== */

/* =====================================
   PARIKSHA PORTAL – GLOBAL STANDARD BLOCK
   ===================================== */

#pp-global-whatsapp {
  padding: 90px 20px;
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.pp-global-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* LEFT */
.pp-global-left h2 {
  font-size: 38px;
  font-weight: 600;
  color: #1f1d4e;
  margin-bottom: 12px;
}

.pp-global-desc {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
}

.pp-global-points {
  margin: 24px 0;
  padding-left: 18px;
}

.pp-global-points li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Logos */
.pp-global-logos {
  display: flex;
  gap: 30px;
  margin-top: 25px;
  flex-wrap: wrap;
  align-items: center;
}

.pp-global-logos img {
  height: 64px;
  object-fit: contain;
}

/* RIGHT CARD */
.pp-global-card {
  background: #f9fafc;
  border-radius: 16px;
  padding: 40px 35px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.pp-global-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f1d4e;
  margin-bottom: 10px;
}

.pp-global-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

/* FORM */
/* WhatsApp Field */
.pp-wa-form {
  max-width: 420px;
}

.pp-wa-input-wrap {
  display: flex;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  overflow: hidden;
}

.pp-country-box {
  background: #eef1f6;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 500;
}

.ppArrow {
  font-size: 12px;
  opacity: 0.7;
}

.pp-wa-input-wrap input {
  flex: 1;
  border: none;
  padding: 12px;
  outline: none;
  font-size: 14px;
}

.pp-country-dropdown {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-top: 6px;
  width: 220px;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.pp-country-dropdown div {
  padding: 10px 14px;
  cursor: pointer;
}

.pp-country-dropdown div:hover {
  background: #f4f6fb;
}

.pp-wa-btn {
  margin-top: 14px;
  width: 100%;
  padding: 13px;
  background: #1f1f55;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
}





.pp-global-card small {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: #777;
}

/* Mobile */
@media (max-width: 900px) {
  .pp-global-container {
    grid-template-columns: 1fr;
  }
}

/* new hero */
/* HERO SECTION */
/* HERO SLIDER */
/* RESET */
/* RESET */
/* HERO BASE */
/* ========== RESET / SAFETY ========== */
html,
body {
  margin: 0;
  padding: 0;
  height: auto;
}

main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.pp-hero,
.pp-hero * {
  box-sizing: border-box;
}

/* html,
body {
  overflow-x: hidden;
} */

/* ========== HERO WRAPPER ========== */
.pp-hero {
  position: relative;
  width: 100%;
  min-height: auto;     /* 🔑 remove forced height */
  height: auto;
  overflow: visible;
  background: #0b1220;
}

/* ========== SLIDES LAYER ========== */
.pp-hero__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pp-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
}

.pp-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* KHDA-ish overlay: darker left, lighter right */
.pp-hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(10, 25, 45, .85) 0%,
      rgba(10, 25, 45, .70) 38%,
      rgba(10, 25, 45, .25) 68%,
      rgba(10, 25, 45, .05) 100%);
}

/* ========== CONTENT GRID (TEXT + FORM) ========== */
.pp-hero__container {
  position: relative;
  z-index: 3;
  height: 100%;
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  padding: 28px 0;
}

/* ========== LEFT TEXT ========== */
.pp-hero__text {
  color: #fff;
  padding: 12px 0;
}

.pp-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  letter-spacing: .2px;
  margin-bottom: 18px;
}

.pp-hero__title {
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 800;
}

.pp-hero__title .hl {
  color: #f5c400;
}

/* golden */
.pp-hero__sub {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  opacity: .92;
  margin: 0 0 16px;
  max-width: 560px;
}

.pp-hero__bullets {
  margin: 12px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.pp-hero__bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, .92);
}

.pp-hero__bullets li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(245, 196, 0, .20);
  color: #f5c400;
  font-weight: 700;
  flex: 0 0 22px;
  margin-top: 2px;
}

.pp-hero__ctaRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pp-btn {
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  user-select: none;
}

.pp-btn:active {
  transform: translateY(1px);
}

.pp-btn--primary {
  background: #fff;
  color: #0b1220;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}

.pp-btn--ghost {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
}

/* ========== RIGHT FORM (CARD) ========== */
.pp-hero__card {
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  position: relative;
  overflow: hidden;
}

.pp-hero__card::before {
  content: "";
  position: absolute;
  inset: -2px -2px auto -2px;
  height: 6px;
  background: linear-gradient(90deg, #1d4ed8, #60a5fa);
}

.pp-hero__cardHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pp-hero__cardTitle {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  color: #0b1220;
  letter-spacing: -.2px;
  text-align: center !important;
}

.pp-hero__cardHint {
  margin: 6px 0 0;
  color: #5b6473;
  font-size: 13px;
}

.pp-form {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.pp-input,
.pp-select {
  width: 100%;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  background: #fbfcff;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.pp-input:focus,
.pp-select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .15);
  background: #fff;
}

/* two column row for phone country code + number if needed later */
.pp-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pp-submit {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 16px;
  background: #1d4ed8;
  color: #fff;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}

.pp-submit:hover {
  filter: brightness(1.03);
}

.pp-submit:active {
  transform: translateY(1px);
}

/* =====================================
   COMPACT HERO FORM – FINAL OVERRIDE
   ===================================== */

/* Form container spacing */
.pp-form {
  margin-top: 6px;
  gap: 10px;
  /* reduce vertical gaps */
}

/* Inputs + Selects (height & font reduced) */
.pp-input,
.pp-form select {
  height: 44px;
  /* 🔥 was too tall earlier */
  padding: 8px 12px;
  /* tighter padding */
  font-size: 14px;
  /* slightly smaller text */
  border-radius: 10px;
  line-height: 1.2;
}

/* Remove browser weird select clipping */
.pp-form select {
  appearance: auto;
  background-color: #fbfcff;
}

/* Focus still premium but lighter */
.pp-input:focus,
.pp-form select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}

/* Two select row tighter */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Submit button – smaller but strong */
.pp-submit {
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 12px;
  margin-top: 6px;
}

/* ===============================
   MOBILE ADJUSTMENTS
   =============================== */
@media (max-width: 768px) {

  .pp-form {
    gap: 8px;
  }

  .pp-input,
  .pp-form select {
    height: 42px;
    font-size: 14px;
    padding: 8px 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
    /* stack on mobile */
    gap: 8px;
  }

  .pp-submit {
    font-size: 15px;
    padding: 12px;
  }
}

/* ========== NAV-LIKE CONTROLS (ARROWS + DOTS + LANG) ========== */
.pp-hero__arrow {
  position: relative;

  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, .20);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s ease, transform .15s ease;
  backdrop-filter: blur(6px);
}

.pp-hero__arrow:hover {
  background: rgba(255, 255, 255, .28);
}

.pp-hero__arrow:active {
  transform: translateY(-50%) scale(.98);
}

.pp-hero__arrow--left {
  left: 18px;
}

.pp-hero__arrow--right {
  right: 18px;
}

.pp-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 10px;
  align-items: center;
}

.pp-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .38);
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, width .15s ease;
}

.pp-dot.is-active {
  background: #fff;
  width: 22px;
}

.pp-hero__lang {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 7;
  display: flex;
  gap: 10px;
  align-items: center;
}

.pp-langBtn {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.pp-langBtn.is-active {
  background: #1d4ed8;
  color: #fff;
}

/* ========== RTL SUPPORT ========== */
.pp-hero.is-rtl .pp-hero__text {
  text-align: right;
  direction: rtl;
}

.pp-hero.is-rtl .pp-hero__bullets li {
  flex-direction: row-reverse;
  text-align: right;
}

.pp-hero.is-rtl .pp-hero__bullets li::before {
  margin-top: 2px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .pp-hero {
    height: auto;
    min-height: unset;
    max-height: none;
    padding-bottom: 26px;
  }

  .pp-hero__container {
    grid-template-columns: 1fr;
    padding: 90px 0 70px;
    align-items: start;
  }

  .pp-hero__card {
    width: min(520px, 100%);
    margin-inline: auto;
  }

  .pp-hero__arrow {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .pp-hero__arrow--left {
    left: 18px;
  }

  .pp-hero__arrow--right {
    right: 18px;
  }

  .pp-hero__dots {
    bottom: 22px;
  }
}

/* Allow dropdowns to overflow hero safely */
.hero,
.hero-slider,
.hero-slide {
  overflow: visible !important;
}
.home_banner_area,
.slider_area,
.hero,
.banner,
.owl-carousel {
  position: relative;
  z-index: 1;
}


/* Registration card must float above slider */
.registration-card {
  position: relative;
  z-index: 50;
}

/* Fix select dropdown clipping */
.registration-card select {
  position: relative;
  z-index: 100;
}

/* Mobile Safari fix */
select {
  -webkit-appearance: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Stack on mobile */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== FOOTER FINAL POLISH ===== */
/* ===== FOOTER RESET ===== */
.pp-footer {
  background: linear-gradient(135deg, #0a1222, #0f1f3a);
  color: #ffffff;
  width: 100%;
}

/* MAIN GRID */
.pp-footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px 50px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 40px;
}

/* BRAND */
.footer-brand h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.7;
}

/* HEADINGS */
.pp-footer h4 {
  color: #facc15;
  font-size: 15px;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

/* LINKS */
.footer-links a {
  display: block;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: all 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* CONTACT */
.footer-contact p {
  font-size: 14px;
  color: #e5e7eb;
  margin-bottom: 10px;
}

/* BOTTOM BAR */
.pp-footer-bottom {
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.35);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .pp-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .pp-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links a:hover {
    transform: none;
  }
}

/* === GLOBAL FIX FOR WHITE SPACE ISSUE === */
html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

main {
  flex: 1;
  /* pushes footer to bottom */
}

/* OUTER WRAPPER — forces true centering */
.pp-demo-header-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* INNER HEADER — column alignment */
.pp-demo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

/* Badge */
.pp-demo-badge {
  background: #ffcc29;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Brand title */
.pp-brand-title {
  font-size: 30px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

/* Colors */
.pp-brand-blue {
  color: #2563eb;
}

.pp-brand-red {
  color: #ef4444;
}

/* Subtitle */
.pp-demo-subtitle {
  margin-top: 0px;
  font-size: 14px;
  color: #444;
  max-width: 420px;
}

/* leadership */
.pp-leadership {
  padding: 0px 0;
  background: #f8fafc;
  font-family: 'Poppins', sans-serif;
}

.pp-container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* Header */
.pp-leadership-head {
  text-align: center;
  margin-bottom: 50px;
  font-family: 'Poppins', sans-serif;

}

.pp-leadership-head h2 {
  font-size: 36px;
  font-weight: 700;
  color: #000000;
  font-family: 'Poppins', sans-serif;

}

.pp-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  color: #f02020;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;

  font-family: 'Poppins', sans-serif;
}

/* LEFT & RIGHT LINES */
.pp-section-title::before,
.pp-section-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #facc15, #facc15);
  border-radius: 2px;
}

/* Right line reversed for symmetry */
.pp-section-title::after {
  background: linear-gradient(to left, #facc15, #facc15);
}

/* Mobile optimization */
@media (max-width: 600px) {

  .pp-section-title::before,
  .pp-section-title::after {
    width: 30px;
  }
}

/* Card */
.pp-leader-card {
  display: flex;
  gap: 40px;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  align-items: center;
  font-family: 'Poppins', sans-serif;

}

/* Image */
.pp-leader-image {
  position: relative;
  flex-shrink: 0;
}

.pp-leader-image img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

.pp-leader-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #ef4444;
  color: #fff;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;

}

/* Content */
.pp-leader-content h3 {
  font-size: 26px;
  color: #0b2545;
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;

}

.pp-leader-content h4 {
  color: #ef4444;
  font-weight: 600;
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;

}

.pp-leader-content a {
  color: #2563eb;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;

}

.pp-leader-highlight {
  margin: 16px 0;
  font-weight: 500;
  color: #374151;
  font-family: 'Poppins', sans-serif;

}

.pp-leader-points {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  font-family: 'Poppins', sans-serif;

}

.pp-leader-points li {
  margin-bottom: 8px;
  color: #374151;
  font-family: 'Poppins', sans-serif;

}

/* Button */
.pp-readmore-btn {
  margin-top: 15px;
  padding: 10px 22px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
}

/* Bio */
.pp-leader-bio {
  display: none;
  margin-top: 30px;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  font-family: 'Poppins', sans-serif;

}

.pp-leader-bio p {
  margin-bottom: 15px;
  color: #374151;
  line-height: 1.7;
  font-family: 'Poppins', sans-serif;

}

/* Responsive */
@media (max-width: 900px) {
  .pp-leader-card {
    flex-direction: column;
    text-align: center;
    font-family: 'Poppins', sans-serif;

  }

  .pp-leader-image img {
    width: 220px;
    height: 260px;
    font-family: 'Poppins', sans-serif;

  }
}

/* =========================
 Pariksha Portal Dubai – Why Apply
========================= */

#pp-dubai-why-apply {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff, #f8f9fb);
  font-family: 'Poppins', sans-serif;
}

/* Header */
.pp-dubai-header {
  max-width: 820px;
  margin: 0 auto 30px;
}

.pp-dubai-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f6c453, #e6a700);
  color: #1a1a1a;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

.pp-dubai-title {
  margin-top: 20px;
  font-size: 34px;
  font-weight: 700;
  color: #111;
}

.pp-dubai-subtitle {
  margin-top: 12px;
  font-size: 16px;
  color: #666;
}

/* Cards */
.pp-dubai-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
}

.pp-dubai-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
}

.pp-dubai-card h5 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.pp-dubai-card p {
  margin-top: 10px;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Icons */
.pp-dubai-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}

.bg-blue {
  background: #3b82f6;
}

.bg-orange {
  background: #f97316;
}

.bg-purple {
  background: #8b5cf6;
}

.bg-green {
  background: #22c55e;
}

.bg-gold {
  background: linear-gradient(135deg, #f6c453, #e6a700);
}

.bg-dark {
  background: #111827;
}

/* Responsive */
@media (max-width: 768px) {
  .pp-dubai-title {
    font-size: 26px;
  }
}

#pp-dubai-command {
  padding: 100px 0;
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
}

/* Authority strip */
.pp-dubai-authority {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pp-dubai-authority span {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 30px;
  background: #f1f5f9;
  font-weight: 500;
}

/* Title */
.pp-dubai-command-title {
  font-size: 40px;
  font-weight: 700;
  color: #0f172a;
}

.pp-dubai-command-title span {
  color: #b8860b;
}

/* Grid */
.pp-dubai-command-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.pp-dubai-command-item h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pp-dubai-command-item p {
  font-size: 14.5px;
  color: #475569;
}

/* CTA */
.pp-dubai-command-cta {
  background: linear-gradient(145deg, #020617, #0f172a);
  color: #fff;
  border-radius: 22px;
  padding: 38px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45);
}

.pp-dubai-cta-chip {
  background: #f6c453;
  color: #111;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
}

.pp-dubai-command-cta h4 {
  margin-top: 16px;
  font-size: 26px;
}

.pp-dubai-command-cta p {
  margin-top: 10px;
  color: #e5e7eb;
}

.pp-dubai-command-btn {
  display: block;
  margin-top: 20px;
  background: linear-gradient(135deg, #f6c453, #e6a700);
  color: #111;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
}

.pp-dubai-command-btn:hover {
  transform: translateY(-2px);
}

.pp-dubai-command-cta small {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 992px) {
  .pp-dubai-command-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
 Leadership Section
========================= */

.pp-leadership-new {
  padding: 80px 0;
  background: #f8fafc;
  font-family: 'Poppins', sans-serif;
}

.pp-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.pp-leadership-header {
  text-align: center;
  margin-bottom: 40px;
}

.pp-leadership-header h2 {
  font-size: 36px;
  font-weight: 700;
}

.pp-leadership-label {
  display: inline-block;
  margin-top: 6px;
  color: #e11d48;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Card */
.pp-leader-wrapper {
  display: flex;
  gap: 40px;
  background: #fff;
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Image */
.pp-leader-photo {
  position: relative;
  flex: 0 0 260px;
}

.pp-leader-photo img {
  width: 100%;
  border-radius: 14px;
}

.pp-leader-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #ef4444;
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 20px;
}

/* Info */
.pp-leader-info h3 {
  font-size: 24px;
  font-weight: 700;
}

.pp-leader-info h4 {
  margin-top: 4px;
  color: #dc2626;
  font-weight: 600;
}

.pp-leader-link {
  display: inline-block;
  margin-top: 6px;
  color: #2563eb;
  text-decoration: none;
}

.pp-leader-summary {
  margin-top: 14px;
  color: #475569;
}

.pp-leader-highlights {
  margin-top: 16px;
  padding-left: 18px;
}

.pp-leader-highlights li {
  margin-bottom: 6px;
  font-size: 14.5px;
}

/* Button */
.pp-toggle-btn {
  margin-top: 18px;
  padding: 12px 24px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* Bio */
.pp-leader-bio-new {
  display: none;
  margin-top: 30px;
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.pp-leader-bio-new p {
  margin-bottom: 12px;
  color: #334155;
}

/* Responsive */
@media (max-width: 768px) {
  .pp-leader-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .pp-leader-photo {
    margin: auto;
  }
}

/* ===============================
 Pariksha Portal Section Heading
=============================== */

.pp-portal-heading {
  text-align: center;
  margin-bottom: 50px;
}

.pp-main-title {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

/* Sub title with lines */
.pp-sub-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.pp-sub-title .pp-text {
  color: #ef4444;
  /* Red LEADERSHIP */
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 14px;
}

.pp-sub-title .pp-line {
  width: 40px;
  height: 3px;
  background-color: #facc15;
  /* Yellow line */
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .pp-main-title {
    font-size: 32px;
  }
}

/* classwise mobile view fix */
/* ================================
   MOBILE FIX – CLASSWISE SECTION
   ================================ */
@media (max-width: 768px) {

  /* Container stack */
  .ppd-container {
    display: block;
  }

  /* =========================
     CLASS BUTTON GRID (TOP)
     ========================= */
  .ppd-class-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }

  /* First button (Classwise) full width */
  .ppd-class-grid .ppd-class-btn:first-child {
    grid-column: span 2;
  }

  .ppd-class-btn {
    width: 100%;
    padding: 14px 10px;
    font-size: 15px;
    border-radius: 14px;
  }

  /* =========================
     CONTENT AREA
     ========================= */
  .ppd-content {
    width: 100%;
  }

  .ppd-panel {
    padding: 0;
  }

  .ppd-panel h3 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 14px;
  }

  /* =========================
     TABLE – FORCE DESKTOP STYLE
     ========================= */
  .ppd-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
  }

  .ppd-table thead {
    display: table-header-group !important;
  }

  .ppd-table tbody {
    display: table-row-group !important;
  }

  .ppd-table tr {
    display: table-row !important;
  }

  .ppd-table th,
  .ppd-table td {
    display: table-cell !important;
    padding: 12px 10px;
    font-size: 14px;
    vertical-align: middle;
    white-space: normal;
    word-break: break-word;
  }

  /* Column widths */
  .ppd-table th:nth-child(1),
  .ppd-table td:nth-child(1) {
    width: 12%;
    text-align: center;
  }

  .ppd-table th:nth-child(2),
  .ppd-table td:nth-child(2) {
    width: 58%;
  }

  .ppd-table th:nth-child(3),
  .ppd-table td:nth-child(3) {
    width: 30%;
    text-align: center;
  }

  /* =========================
     TAG STYLE (Private / Govt)
     ========================= */
  .ppd-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 999px;
    white-space: nowrap;
  }

  /* =========================
     SAFE HORIZONTAL SCROLL
     ========================= */

}

/* =====================================
   CRITICAL TEXT BREAK FIX – MOBILE ONLY
   ===================================== */
@media (max-width: 768px) {

  /* Stop vertical letter breaking */
  .ppd-table,
  .ppd-table th,
  .ppd-table td {
    word-break: normal !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    white-space: normal !important;
  }

  /* Ensure exam name stays readable */
  .ppd-table td:nth-child(2),
  .ppd-table th:nth-child(2) {
    white-space: normal !important;
    text-align: left;
    line-height: 1.4;
  }

  /* Header text fix */
  .ppd-table th {
    writing-mode: horizontal-tb !important;
    transform: none !important;
  }
}

/* =========================================================
   MOBILE FIX — PPD EXAMS SECTION
   Desktop unchanged | Mobile clean & readable
   ========================================================= */

@media (max-width: 768px) {

  /* 1️⃣ STACK LAYOUT (NO SIDE-BY-SIDE) */
  .ppd-container {
    display: block !important;
  }

  .ppd-class-grid {
    width: 100%;
    margin-bottom: 20px;
  }

  .ppd-content {
    width: 100%;
  }

  /* 2️⃣ CLASS BUTTON GRID (2 PER ROW) */
  .ppd-class-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ppd-class-btn {
    width: 100%;
    padding: 14px 10px;
    font-size: 14px;
    border-radius: 12px;
    text-align: center;
  }

  /* Make "Classwise" full width */
  .ppd-class-btn:first-child {
    grid-column: span 2;
  }

  /* 3️⃣ PANEL HEADINGS */
  .ppd-panel h2,
  .ppd-panel h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 16px;
  }

  /* 4️⃣ TABLE WRAPPER — ENABLE HORIZONTAL SCROLL */


  /* 5️⃣ TABLE FIX — PREVENT VERTICAL TEXT */
  .ppd-table {
    width: 100%;
    border-collapse: collapse;
  }

  .ppd-table th,
  .ppd-table td {
    white-space: nowrap;
    /* 🔥 FIXES VERTICAL TEXT */
    word-break: normal;
    text-align: left;
    font-size: 14px;
    padding: 12px 10px;
  }

  .ppd-table th {
    background: #f1f4f8;
    font-weight: 600;
  }

  /* 6️⃣ TAG ALIGNMENT */
  .ppd-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 999px;
    white-space: nowrap;
  }

}

@media (max-width: 768px) {

  /* Make last column (Type) sticky */
  .ppd-table th:last-child,
  .ppd-table td:last-child {
    right: 0;
    background: #ffffff;
    z-index: 2;
    text-align: center;
    min-width: 120px;
  }

  /* Header background consistency */
  .ppd-table th:last-child {
    background: #f1f4f8;
    z-index: 3;
  }

  /* Add subtle divider so user understands scroll */

}

/* ==============================
   MOBILE TABLE FIX (FINAL)
================================ */
/* ===============================
   FINAL MOBILE FIX – PPD TABLE
   =============================== */
@media (max-width: 768px) {

  /* Stop any internal scrolling */
  .ppd-panel,
  .ppd-table,
  .ppd-table tbody,
  .ppd-table tr,
  .ppd-table td {
    overflow: visible !important;
  }

  /* Hide table header */
  .ppd-table thead {
    display: none !important;
  }

  /* Break table layout completely */
  .ppd-table,
  .ppd-table tbody,
  .ppd-table tr {
    display: block !important;
    width: 100% !important;
  }

  /* Each row becomes a clean card */
  .ppd-table tr {
    background: #ffffff;
    border: 1px solid #e3e7f0;
    border-radius: 14px;
    padding: 14px 14px 12px;
    margin-bottom: 14px;
  }

  /* Cells stack vertically */
  .ppd-table td {
    display: block !important;
    width: 100% !important;
    border: none !important;
    padding: 6px 0 !important;
    text-align: left !important;
  }

  /* Sr No */
  .ppd-table td:nth-child(1) {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
  }

  /* Exam name */
  .ppd-table td:nth-child(2) {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: #111827;
    word-break: break-word;
  }

  /* Type badge – ALWAYS VISIBLE */
  .ppd-table td:nth-child(3) {
    margin-top: 8px;
  }

  .ppd-tag {
    display: inline-block;
    font-size: 13px;
    padding: 6px 14px;
    /* white-space: nowrap; */
  }
}

/* dropdown select */
/* ================================
   FIX SELECT SHOWING ONLY 2 OPTIONS
   ================================ */

select {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overflow-y: auto !important;

  appearance: auto !important;
  -webkit-appearance: menulist !important;
  -moz-appearance: menulist !important;

  background-image: none !important;
}

/* Critical for options */
select option {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
}

/* Parent containers MUST NOT clip */
.form-row,
.form-row * {
  overflow: visible !important;
}
/* ===============================
   POWERED BY AI – MOBILE FIX
   =============================== */

/* Card container */
.pp-ai-box {
  position: relative;
}

/* Header layout */
.pp-ai-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* AI logo – desktop + mobile */
.pp-ai-logo {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: auto;
  z-index: 5;
}

/* Tag spacing so it doesn’t collide */
.pp-ai-tag {
  display: inline-block;
  padding-right: 60px;
}

/* ---------- MOBILE ONLY ---------- */
@media (max-width: 768px) {

  /* Lock logo to top-right */
  .pp-ai-logo {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
  }

  /* Ensure header does not stack */
  .pp-ai-header {
    flex-wrap: nowrap;
  }

  /* Push text down slightly for breathing room */
  .pp-ai-box h3 {
    margin-top: 40px;
  }
}
/* =====================================
   GLOBAL / PARTNER LOGOS – SINGLE ROW MOBILE
   ===================================== */

.pp-global-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 24px 0;
  flex-wrap: nowrap;
}

/* Normalize logo size */
.pp-global-logos img {
  max-width: 90px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* ---------- MOBILE VIEW (SINGLE ROW SCROLL) ---------- */
@media (max-width: 768px) {

  .pp-global-logos {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 16px;
    gap: 20px;

    /* smooth scrolling */
    scroll-behavior: smooth;

    /* hide scrollbar */
    scrollbar-width: none; /* Firefox */
  }

  .pp-global-logos::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }

  .pp-global-logos img {
    max-width: 75px;
    max-height: 50px;
  }
}
/* ===== REMOVE DOUBLE SCROLL ISSUE ===== */

/* iframe wrapper */
/* ==========================
   EXAM PAGE IFRAME FIX
   ========================== */

/* iframe container */
/* iframe container */
.exam-content {
  width: 100%;
}

.exam-iframe {
  width: 100%;
  border: none;
  display: block;
}

footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

section:last-of-type {
  margin-bottom: 0 !important;
}
