/*----------------------------------------------
*
* [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
9. Footer
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;
  --footer-bg-color: #121117;
  --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,
footer,
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,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

html {
  overflow-x: hidden;
}

body {
  padding: 0 !important;
  background-color: var(--primary-bg-color);
  font-family: var(--secondary-font);
  color: var(--primary-p-color);
}
body.odd {
  background-color: var(--secondary-bg-color);
  color: var(--secondary-p-color);
}

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 {
  padding: 0;
  max-width: 1170px;
}
.container.header {
  max-width: 1140px;
}
.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 */
header {
  position: relative;
  z-index: 5;
}
header .navbar-expand {
  position: fixed;
  top: 0;
  z-index: 2;
  width: 100%;
  padding: 20px 25px;
}
header .navbar-expand .navbar-brand {
  padding: 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 0;
  color: var(--nav-item-color);
}
header .navbar-expand .navbar-brand i {
  font-size: 1.8rem;
  font-weight: bold;
  font-style: initial;
  color: var(--primary-color);
}
header .navbar-expand .navbar-nav.toggle {
  display: none;
}
header .navbar-expand .navbar-nav.toggle i {
  font-size: 20px;
}
header .navbar-expand .navbar-nav .nav-item {
  margin: 0;
}
header .navbar-expand .navbar-nav .nav-item a:not(.btn) {
  display: flex;
  align-items: center;
  padding-right: 1rem;
  padding-left: 1rem;
  font-weight: 500;
  color: var(--white-color);
}
header .navbar-expand .navbar-nav .nav-item .nav-link:not(.btn):not(.title):hover, header .navbar-expand .navbar-nav .nav-item .nav-link.active:not(.btn):not(.title) {
  color: var(--primary-color);
}
header .navbar-expand .navbar-nav .dropdown .dropdown-menu {
  display: block;
  width: max-content;
  min-width: 14.375rem;
  padding: 0.625rem 0;
  border: none;
  border-radius: 2px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
}
header .navbar-expand .navbar-nav .dropdown .dropdown-menu::before {
  content: "";
  position: absolute !important;
  top: -10px;
  right: auto;
  bottom: auto;
  left: 10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}
header .navbar-expand .navbar-nav .dropdown .dropdown-menu .nav-link:not(.btn) {
  justify-content: space-between;
  padding: 0.625rem;
  color: var(--nav-item-color);
  font-size: 0.8125rem;
  text-transform: uppercase;
  font-weight: 700;
}
header .navbar-expand .navbar-nav .dropdown .dropdown-menu .nav-link.title {
  font-weight: 600;
  color: var(--primary-t-color);
  opacity: 0.8;
}
header .navbar-expand .navbar-nav .dropdown .dropdown-menu .nav-link:not(.btn):not(.title):hover {
  background-color: rgba(1, 114, 128, 0.05);
  color: var(--primary-color);
}
header .navbar-expand .navbar-nav .dropdown .dropdown-menu .dropdown-menu {
  top: -8px;
  left: 100%;
}
header .navbar-expand .navbar-nav .dropdown .dropdown-menu .dropdown-menu::before {
  content: none;
}
header .navbar-expand .navbar-nav .dropdown i.icon-arrow-down {
  position: relative;
  top: 1.5px;
  margin: 0 0 0 0.3rem;
  font-size: 12px;
  font-weight: 600;
}
header .navbar-expand .navbar-nav .dropdown i.icon-arrow-right {
  position: relative;
  top: 0;
  left: 5px;
  margin: 0 0 0 0.3rem;
  font-size: 10px;
  font-weight: 600;
}
header .navbar-expand .navbar-nav .dropdown:hover > .dropdown-menu {
  visibility: unset;
  opacity: 1;
  margin: 0;
  transform: translateY(0px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
header .navbar-expand .icons i {
  font-weight: 400;
}
header .navbar-expand:not(.navbar-sticky) .navbar-brand:not(.invert) img {
  filter: brightness(0) invert(1);
}
header .navbar-sticky {
  background-color: rgba(255, 255, 255, 0.69);
  backdrop-filter: blur(10px);
  animation: 500ms ease-in-out 0s normal none 1 running fadeInDown;
}
header .navbar-sticky .navbar-nav .nav-item a:not(.btn) {
  color: var(--nav-item-color);
}

.dropdown .dropdown-menu > li {
  padding: 0 0.625rem;
}

.menu .items {
  margin-left: -5px;
  width: calc(100% + 10px);
}
.menu .navbar-nav {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.menu .navbar-nav .nav-item {
  margin: 0;
}
.menu .navbar-nav .nav-item .nav-link:not(.btn) {
  width: calc(100% - 12px);
  padding: 0.5rem 1rem;
  margin: 0 5px;
  border-radius: var(--border-radius-sm);
}
.menu .navbar-nav .nav-item .nav-link:not(.btn):hover {
  background-color: #e5e6f6;
  color: var(--primary-color);
}
.menu .navbar-nav .nav-item .nav-link:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-t-color);
}
.menu .navbar-nav .dropdown .dropdown-menu {
  display: none;
  width: 100%;
  padding: 0 0 0 10px;
  margin: 0 0 10px;
  background: none;
  border: none;
  visibility: visible;
  opacity: 1;
}
.menu .navbar-nav .dropdown .dropdown-menu.show {
  display: block;
}
.menu .navbar-nav .dropdown .dropdown-menu .nav-link {
  padding: 0.625rem;
  margin: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--nav-item-color);
  text-align: left;
  text-transform: uppercase;
}
.menu .navbar-nav .dropdown .dropdown-menu .nav-link:hover, .menu .navbar-nav .dropdown .dropdown-menu .nav-link.active {
  color: var(--primary-color);
}
.menu .navbar-nav .dropdown .dropdown-menu .nav-link.title {
  font-weight: 600;
  color: var(--primary-t-color);
  border: none;
  opacity: 0.8;
}
.menu .navbar-nav .dropdown .dropdown-menu .dropdown-menu {
  position: relative;
  top: initial;
  left: initial;
}
.menu .navbar-nav .dropdown .dropdown-menu .left,
.menu .navbar-nav .dropdown .dropdown-menu .right {
  width: 50%;
}
.menu .navbar-nav .dropdown:first-child {
  margin-top: 0;
}
.menu .navbar-nav i.icon-arrow-down {
  font-size: 18px;
}

.dropdown .nav-link i {
  transition: transform 0.3s ease-in-out;
}

.rotate-arrow {
  transform: rotate(-180deg);
  transition: transform 0.3s ease-in-out; /* Smooth transition for the rotation */
}

.navbar-nav .dropdown-menu {
  transition: visibility 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.navbar-nav .show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* #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;
}

/*----------------------------------------------
9. Footer
----------------------------------------------*/
/* #region Footer */
.footer-area .footer-top {
  padding: 80px 0;
}
.footer-area .footer-top hr {
  margin: 25px 0;
  border-style: solid;
}
.footer-area .footer-top .social-icons a.icon {
  color: linear-gradient(90deg, #3d5927, #6b7d27);
}
.footer-area .nav-item {
  margin: 0;
}
.footer-area .nav-item a.nav-link {
  display: inline-block;
  padding: 0.5rem 0;
  font-weight: 500;
}
.footer-area .nav-item a.nav-link:not(:hover) {
  color: var(--nav-item-color);
}
.footer-area .copyright-area {
  border-top: 1px solid var(--primary-l-color);
}
@media (min-width: 992px) {
  .footer-area.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
  }
}
@media (max-width: 575px) {
  .footer-area .items .item:first-child {
    margin-top: 0;
  }
}

/* #endregion Footer */
/*----------------------------------------------
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
----------------------------------------------*/
/* #region All Media Queries */
@media (max-width: 1199px) {
  /* #region Section */
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  /* #endregion Section */
  /* #region Header */
  header .navbar-expand .navbar-nav.toggle {
    display: flex;
  }
  header .navbar-expand .navbar-nav.contacts, header .navbar-expand .navbar-nav.items, header .navbar-expand .navbar-nav.icons .social {
    display: none;
  }
  /* #endregion Header */
}
@media (max-width: 991px) {
  /* #region General */
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 2rem;
  }
  /* #endregion General */
  /* #region Helper Class */
  .intro {
    margin-bottom: 50px;
  }
  /* #endregion Helper Class */
}
@media (max-width: 767px) {
  /* #region General */
  body {
    overflow-x: hidden;
  }
  h1 {
    font-size: 2.8rem;
  }
  /* #endregion General */
  /* #region Section */
  section {
    padding: 90px 0;
  }
  /* #endregion Section */
  /* #region Header */
  .navbar-brand {
    margin: 0;
  }
  /* #endregion Header */
}
@media (max-width: 600px) {
  /* #region Header */
  header .navbar-sticky {
    margin-top: 0 !important;
  }
  /* #endregion Header */
}
@media (max-width: 576px) {
  /* #region Helper Class */
  .avatar-lg {
    width: 4rem;
    height: 4rem;
  }
  /* #endregion Helper Class */
  /* #region Modal */
  .modal-body {
    align-items: start;
  }
  /* #endregion Modal */
}
/* #endregion All Media Queries *//*# sourceMappingURL=style.css.map */












/* own styling start */
/* Mobile First Approach */

/* Hide on mobile (show on desktop) */
.hide-on-mobile {
  display: none;
}

/* Hide on desktop (show on mobile) */
.hide-on-desktop {
  display: block;
}

/* When screen width is 768px and above (tablet/desktop) */
@media screen and (min-width: 768px) {
  .hide-on-mobile {
    display: block;
  }

  .hide-on-desktop {
    display: none;
  }
}





/* css for topper */


.topper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 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;
}

#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;
}
/* footer css */
/* 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;
}

/* 4) ensure footer is above everything (override theme negative z-index) */
.footer-area,
.footer,
footer,
.footer-top,
.footer-bottom,
.copyright-area {
    position: relative !important;
    z-index: 9999 !important;
    background-color: #ffffff !important;
    background-image: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* 5) ensure cards/boxes don't float above footer with huge z-index */
.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;
}

/* 4) Put footer above everything and remove negative z-index */
.footer-area.footer-fixed {
    position: static !important;
    z-index: 50 !important;
}
footer, .footer-area, .footer {
    position: relative !important;
    z-index: 50 !important;
    background-color: #ffffff !important;
}

/* 5) Ensure cards/boxes don't float above footer */
.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 */



/* to stop overlap between navbar and first section */
body {
  padding-top: 95px;   /* adjust only if navbar height changes */
}

/* make banner full width */
.banner img {
  width: 100%;
  display: block;
}
/* navbar start */

#mainNavbar {
  background: #3D5B24;           /* OLIVE GREEN */
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

#mainNavbar .nav-title,
#mainNavbar .nav-link {
  line-height: 58px;
}

#mainNavbar .nav-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

#mainNavbar .nav-link {
  font-size: 15px;
  color: #ffffff !important;
  margin: 0 10px;
  padding: 0;
}

#mainNavbar .nav-link:hover {
  color: #ffeb3b !important;
}

.call-now-btn {
  background: #ff7900;
  color: #fff;
  padding: 7px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}


/* shrinking */
/* STOP old navbar shrinking / animation */
.navbar-sticky,
.scrolling-navbar,
header .navbar-fixed,
header .navbar {
  transition: none !important;
  padding: 0 !important;
  height: auto !important;
  animation: none !important;
}
/* thank you popup */
.thank-popup {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(2px);
  z-index: 999999;
}

.thank-box {
  background: #ffffff;
  padding: 35px 25px;
  width: 90%;
  max-width: 470px;
  border-radius: 22px;
  text-align: center;
  animation: zoom .32s ease-out;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  border-top: 8px solid #3D5B24;   /* Olive top border */
}

.thank-box h3 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 5px;
  color: #1f1f1f;
}

.thank-box h2 {
  font-size: 30px;
  color: #3D5B24;
  font-weight: 700;
  margin: 10px 0 5px;
}

.icon {
  width: 70px;
  height: 70px;
  background: #27a844;
  color: #fff;
  margin: 12px auto;
  font-size: 36px;
  font-weight: bold;
  line-height: 70px;
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(39,168,68,0.4);
}

.call-btn {
  background: #3D5B24;              /* Olive Green */
  padding: 14px 34px;
  border-radius: 34px;
  color: #fff;
  display: inline-block;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  transition: .25s;
  text-decoration: none;
}

.call-btn:hover {
  background: #2C4418;              /* darker olive */
}

.close-popup {
  background: transparent;
  border: none;
  margin-top: 16px;
  font-size: 16px;
  color: #666;
  text-decoration: underline;
  cursor: pointer;
}

.close-popup:hover {
  color: #000;
}

@keyframes zoom {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

#mainNavbar {
  background: #385723;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 9999;
  white-space: nowrap;
}

#mainNavbar .nav-left {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-right: 45px;
}

#mainNavbar .nav-center {
  display: flex;
  gap: 42px;
  justify-content: center;
  flex: 1;
}

#mainNavbar .nav-center a {
  color: white;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
}

/* Active menu highlight */
#mainNavbar .nav-center a.active {
  font-weight: 700;
  border-bottom: 2px solid #ffbc00;
  padding-bottom: 3px;
}

#mainNavbar .nav-right .call-btn {
  background: #124d0d;
  padding: 6px 18px;
  border-radius: 22px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* Stop shrinking forever */
.navbar,
.navbar-sticky,
header .navbar {
  height: 48px !important;
  transition: none !important;
  animation: none !important;
}


/* ✔ stop shrinking from bootstrap scripts */
.navbar,
.navbar-sticky,
.scrolling-navbar,
header .navbar {
  height: auto !important;
  padding: 8px 15px !important;
  transition: none !important;
  animation: none !important;
}

/* Push content below navbar on mobile */
@media(max-width:992px){
  .call-now-btn { display: block; margin: 8px auto; }
}
/* loader css */

 .form-loader {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.spinner {
  width: 45px;
  height: 45px;
  border: 5px solid #ccc;
  border-top: 5px solid #3e5321;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* form layout */
/* FORM PROFESSIONAL LOOK */
.hero-form {
  border: 2px solid #dcdcdc;
  border-radius: 15px;
  padding: 30px;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* TITLE STYLING */
.hero-form h3 {
  font-size: 26px;
  font-weight: 700;
  color: #1d1d1d;
}

/* INPUT FIELDS */
.hero-form input,
.hero-form select {
  border: 2px solid #bfbfbf !important;
  background: #f7f9ff !important;
  height: 58px;
  border-radius: 12px !important;
  font-size: 17px !important;
  transition: 0.3s;
}

/* HOVER + FOCUS EFFECT */
.hero-form input:focus,
.hero-form select:focus {
  border-color: #4c6b21 !important;
  background: #ffffff !important;
  box-shadow: 0 0 6px rgba(76, 107, 33, 0.35);
}

/* PLACEHOLDER */
.hero-form input::placeholder {
  color: #8b8b8b;
  font-size: 15px;
}

/* LABEL SMALL & LIGHT */
.hero-form label {
  font-size: 13px;
  color: #5a5a5a;
}

/* SUBMIT BUTTON PROFESSIONAL */
.hero-form button {
  background: #42571c !important;
  border-radius: 35px;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 0;
  transition: 0.3s;
}

.hero-form button:hover {
  background: #2a3710 !important;
  transform: translateY(-2px);
}

/* DISCLAIMER TEXT */
.hero-form p.small {
  font-size: 13px;
  margin-top: 8px;
}
.hero-form p.small a {
  font-weight: 600;
  color: #42571c;
}
/* Remove floating label effect (no jumping, no overlay) */
.form-floating > label {
  display: none !important;
}

/* Uniform styling for all input & select */
.hero-form .form-control,
.hero-form select.form-control {
  height: 55px !important;
  width: 100%;
  border-radius: 10px !important;
  border: 2px solid #cccccc !important;
  background: #f6f8ff !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #000 !important;
  line-height: 55px !important;
}

/* Placeholder visible & same style everywhere */
.hero-form .form-control::placeholder {
  color: #666 !important;
  font-weight: 500 !important;
}

/* Focus style */
.hero-form .form-control:focus {
  background: #ffffff !important;
  border-color: #4c6b21 !important;
  box-shadow: 0 0 4px rgba(76, 107, 33, 0.25);
  outline: none;
}

/* dropdown items */
.hero-form select option {
  color: #000 !important;
  font-weight: 600 !important;
}

/* spacing between fields */
.form-floating {
  margin-bottom: 15px !important;
}

/* Same size button like inputs */
.hero-form button {
  height: 55px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
}
/* Contact form input typing text visible fix */
#contact-form-2 .form-control {
    color: #000 !important;       /* Text black */
    font-weight: 600 !important;  /* Bold & visible */
}

/* Placeholder color (light gray) */
#contact-form-2 .form-control::placeholder {
    color: #777 !important;
}

/* Label color visible */
#contact .form-floating > label {
    color: #666 !important;
}
/* footer lowerside */
.scholarship-section {
  padding: 60px 0;
}

.row-sec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.left-content {
  flex: 1;
}

.right-form {
  flex: 1;
}

.right-form form input {
  width: 100%;
  margin-bottom: 15px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.right-form form button {
  background: #385723;
  color: #fff;
  padding: 14px 26px;
  border-radius: 40px;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 18px;
}
/* 👇 Make Scholarship & Form side-by-side properly */
#contact .row.justify-content-between.align-items-center {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* Left & Right width balance */
#contact .contact-info {
    flex: 1;
}

#contact .form-container-2 {
    flex: 1;
}

/* Form width full */
#contact .contact-form.outlined input {
    width: 100%;
}

/* Fix footer bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
footer {
    margin-top: auto;
}
/* submit form */
.form-select {
    height: 64px;
    padding-top: 20px;
}
.form-floating label {
    padding-left: 12px;
}
/* FORM BOX */
.form-container-2 {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 6px 22px rgba(0,0,0,.08);
    padding: 32px;
}

/* ALL INPUT, EMAIL, TEL, DROPDOWN MATCH EXACT LOOK */
.form-container-2 .form-control,
.form-container-2 .form-select {
    height: 62px;
    border-radius: 14px;
    font-size: 16px;
    border: 1.5px solid #dcdcdc;
    background: #f8f9fa;
    padding-left: 18px;
}

/* FOCUS LOOK */
.form-container-2 .form-control:focus,
.form-container-2 .form-select:focus {
    border-color: #3d5927;
    background: #ffffff;
    box-shadow: 0 0 0 .18rem rgba(61, 89, 39, 0.18);
}

/* FLOATING LABEL FIX */
.form-floating label {
    padding-left: 12px;
    font-size: 14px;
    color: #777;
}

/* SUBMIT BUTTON */
#submit-btn-2 {
    background: linear-gradient(90deg, #3d5927, #6b7d27);
    border-radius: 40px;
    padding: 16px;
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    transition: .3s;
    margin-top: 8px;
}
#submit-btn-2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.form-container-2 {
    margin-top: 40px;   /* gap increase */
}
/* left right match to form */
/* Section container spacing */
.contact-info,
.form-container-2 {
    background: #fff;
}

/* Align both blocks from top */
.row.align-items-start {
    align-items: flex-start !important;
}

/* Left box spacing */
.contact-info {
    padding: 20px 10px;
}

/* Fix icon alignment & spacing */
.contact-info .list-group-item {
    border: none;
    padding: 14px 0;
}

.icon-box .icon {
    background: #294a1b;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make columns balanced */
.col-12.col-md-5 {
    padding-right: 30px;
}

/* Form container styling */
.form-container-2 {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 0 18px rgba(0,0,0,0.08);
}

/* Mobile gap fix */
@media (max-width: 768px) {
    .col-12.col-md-6.mt-4.mt-md-0 {
        margin-top: 30px !important;
    }
}
/* Main container 2-column layout */
.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;   /* perfect top alignment */
    gap: 40px;
    flex-wrap: wrap;
}

/* Left side info */
.contact-info {
    flex: 1;
}

/* Right side form box */
.form-container-2 {
    flex: 1;
    max-width: 550px;      /* reduces extra width */
}

/* Form styling */
.contact-form input,
.contact-form select {
    height: 60px;
    border-radius: 15px;
    font-size: 17px;
}

/* Smooth alignment for mobile */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
    }
    .form-container-2 {
        width: 100%;
        max-width: 100%;
    }
}
/* REMOVE WRONG TOP MARGIN */
.scholarship-row .contact-info h3 {
    margin-top: 0 !important;
}

/* ALIGN SCHOLARSHIP HEADING EXACT LEVEL WITH FORM */
.scholarship-row .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-info,
.form-container-2 input,
.form-container-2 select {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 17px;
}
/* Scholarship heading and form perfect horizontal alignment */
.scholarship-row {
    display: flex;
    align-items: center; /* vertically center both sides */
}

/* remove extra space above heading */
.scholarship-row .contact-info h3 {
    margin-top: 0 !important;
}

/* adjust subtitle under heading */
.scholarship-row .contact-info p {
    margin-top: 6px;
}
.scholarship-row > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* align scholarship title and form on same height */
.scholarship-row {
    display: flex;
    align-items: center; /* center both blocks vertically */
}

/* remove extra gap above heading */
.scholarship-row .contact-info h3 {
    margin-top: 0 !important;
}

/* text under heading correct spacing */
.scholarship-row .contact-info p {
    margin-top: 6px !important;
}

/* make left block vertically centered */
.scholarship-row > .col-12.col-md-5 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* make right block vertically centered with left */
.scholarship-row > .col-12.col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}








/* navbar Parikash portal dubai */
.nav-btn {
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  color: #0b1a42;
  background: white;
  border: 3px solid #0b1a42;
  padding: 6px 18px;
  border-radius: 7px;
  margin: 0 6px;
  transition: 0.3s ease;
}

.nav-btn:hover {
  background: #0b1a42;
  color: white;
}

.active-btn {
  background: #0b1a42 !important;
  color: white !important;
}
.navbar-wrapper {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px; /* VERY IMPORTANT – stops image overlap */
}
/* end navbar*/

/* pariksha portal dubai CAT4 form  */
/* MAIN FORM CONTAINER */
.perfect-form-box {
  background: #ffffff;
  padding: 46px;
  border-radius: 22px;
  max-width: 520px;
  width: 100%;
  margin: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
}

/* HEADING */
.perfect-form-box h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: hsl(232, 83%, 50%);      /* professional dark blue-gray */
  margin-bottom: 32px;
}

/* INPUT + SELECT */
.perfect-input {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  border: 1.8px solid #d9e4ff;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 16px;
  background: #fafbff;
  color: #1c2b55;
  font-weight: 500;
  transition: 0.25s;
}

.perfect-input::placeholder {
  color: #7d8ba7;
}

.perfect-input:focus {
  border-color: #0067ff;
  box-shadow: 0 0 8px rgba(0,102,255,0.25);
  outline: none;
}

/* BUTTON */
.perfect-submit-btn {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  border: none;
  background: #0067ff;             /* premium blue */
  color: white;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.perfect-submit-btn:hover {
  background: #0056d3;
  transform: translateY(-2px);
}

.perfect-submit-btn:active {
  transform: scale(0.97);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .perfect-form-box { padding: 34px; }
  .perfect-form-box h2 { font-size: 28px; }
}

/* --- TEXT COLOR AND FONT MATCH IN INPUT FIELDS --- */
.perfect-input,
.perfect-input::placeholder,
select.perfect-input option {
  font-family: inherit;
  color: #1b2040 !important;
}

/* --- FORCE PROFESSIONAL BLUE BUTTON --- */
.perfect-submit-btn {
  background: #005dff !important;
  color: #ffffff !important;
  border: none !important;
  transition: 0.25s;
}
.perfect-submit-btn:hover {
  background: #0047c7 !important;
  transform: translateY(-2px);
}
.perfect-submit-btn:active {
  transform: scale(.97);
}

/* end extra css */
/* pariksha portal dubai CAT4 form end*/
/* Make both columns same height */
.equal-box {
    display: flex;
}

/* Match image height with form */
.left-img {
    height: 100%;
    display: flex;
}

.left-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* fills area without distortion */
    border-radius: 20px;
}

/* Make form fill available height too */
.right-form {
    display: flex;
    align-items: stretch;
}

.right-form .cat4-form-box {
    width: 100%;
    height: 100%;
}
/* Make image height match form height */
.left-img,
.right-form {
    display: flex;
    height: 100%;
}

/* Match image height with form */
.left-img img,
.left-img .carousel-inner,
.left-img .carousel-item {
    height: 100%;
    object-fit: cover; /* fully covers the space */
}

/* Make both sections same height */
.pp-section {
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
}

/* 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;
    }
}
/* social icon */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f2f2f2;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    margin-right: 10px;
}

.footer-social a i {
    color: #3a431b;
    font-size: 18px;
}
/* submit button */
.submit-btn,
button[type="submit"] {
    background: #2e5c1f;          /* normal green */
    color: #fff;
    border: none;
    transition: all 0.2s ease;
}

/* When clicked */
.submit-btn:active,
button[type="submit"]:active {
    background: #264d1a !important; /* darker visible shade */
    transform: scale(0.98);         /* small click animation */
}

/* When focused (keyboard / mobile tap) */
.submit-btn:focus,
button[type="submit"]:focus {
    outline: 2px solid #95d089;
}
/* mobile view */
/* ===========================
   MOBILE UI FIX (Screenshot Based)
   =========================== */
@media (max-width: 768px) {

    /* Reduce big logo/banner space */
    .banner-wrapper img {
        width: 100%;
        height: auto;
        max-height: 120px !important;   /* Smaller banner */
        object-fit: contain;
    }

    /* Remove extra white space above navbar */
    .navbar-wrapper {
        margin-top: 0 !important;
        padding: 5px 0 !important;
    }

    /* Fix navbar alignment */
    .nav-inner {
        padding-left: 0 !important;
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 6px !important;
    }

    /* Make buttons smaller & cleaner */
    .nav-btn {
        font-size: 14px !important;
        padding: 6px 12px !important;
        border-radius: 6px !important;
        width: auto !important;
        display: inline-block;
    }

    /* Fix huge spacing below navbar */
    .navbar-wrapper + section,
    .navbar-wrapper + div {
        margin-top: 0 !important;
        padding-top: 5px !important;
    }

    /* Reduce gap before registration banner */
    .pp-section {
        margin-top: -10px !important;
    }

    /* Make the registration banner image smaller */
    .carousel-img {
        width: 100% !important;
        border-radius: 12px !important;
        max-height: 260px !important;
        object-fit: cover;
    }

    /* Reduce spacing before form title */
    h4 {
        margin-top: 10px !important;
        font-size: 20px !important;
    }

    /* Form spacing fix */
    .cat4-form-box {
        padding: 12px !important;
    }
}
/* ===== FIX BROKEN IMAGES ON MOBILE ===== */
@media (max-width: 768px) {

    /* Top banner images */
    .banner-wrapper img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;   /* remove forced height */
        object-fit: contain !important;
        display: block;
    }

    /* Carousel image below buttons */
    .carousel-img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;   /* no crop */
        object-fit: contain !important;
        border-radius: 10px !important;
    }
}
/* =======================================
   📱 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;
    }
}
/* footer css */
/* ------------------------------
   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;
    }

    /* ------------------------------
       FOOTER FIX
    --------------------------------*/
    footer .row {
        display: block !important;
        text-align: center !important;
    }

    footer .col-md-3,
    footer .col-md-4 {
        width: 100% !important;
        margin-bottom: 20px;
    }

    footer .social-icons {
        justify-content: center !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;
    }
}


/* ================= MOBILE NAVBAR FIX ================= */
/* =====================================================
  /* Hide mobile menu on desktop */
.mobile-action-bar,
.mobile-nav {
  display: none;
}

/* MOBILE ONLY */
@media (max-width: 768px) {

  /* Hide desktop navbar */
  .navbar-wrapper {
    display: none !important;
  }

  /* Show menu button */
  .mobile-action-bar {
    display: flex;
    justify-content: flex-end;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid #ddd;
  }

  .mobile-menu-btn {
    background: #243c75;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }

  /* Mobile menu */
  .mobile-nav {
    display: none;
    margin: 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    overflow: hidden;
  }

  .mobile-nav.active {
    display: block;
  }

  .mobile-nav a {
    display: block;
    padding: 18px;
    font-size: 17px;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #eee;
  }

  .mobile-nav a:last-child {
    border-bottom: none;
  }
}



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

  /* Center content cards */
  .info-card,
  .content-card,
  .cat4-info-card {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 92% !important;     /* perfect mobile width */
    max-width: 420px;          /* prevents over-stretch */
  }

}

/* loader css */
/* ===== LOADER OVERLAY ===== */
#loader {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 45px;
  height: 45px;
  border: 5px solid #ddd;
  border-top: 5px solid #0d6efd;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== THANK YOU POPUP ===== */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.popup-box {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 380px;
}
/* thank you */
/* Hide thank-you popup initially */
#popup { display: none; }
#loader { display: none; }

/* full web */
@media (max-width: 768px) {

  /* ===============================
     FIX DOUBLE HEADER ISSUE
  =============================== */

  /* Hide desktop-only header */
  .hide-on-mobile,
  .desktop-header,
  .desktop-logo {
    display: none !important;
  }

  /* Show mobile-only header */
  .hide-on-desktop,
  .mobile-header,
  .mobile-logo {
    display: block !important;
  }

}
