/*=============================================================
  Samdos Smart Educational Management System - theme overrides
  Brand: deep green #024906 / accent #00A651 / logo.png
 ==============================================================*/

:root {
  --tp-theme-primary: #00A651;
  --tp-theme-primary-dark: #008B43;
  --tp-samdos-bg: #024906;
  --tp-samdos-bg-2: #013A05;
  --tp-samdos-bg-3: #012B04;
  --tp-samdos-card: #013C06;
  --tp-samdos-line: rgba(255, 255, 255, 0.12);
  --tp-common-white: #F3F8F3;
}

body {
  background-color: var(--tp-samdos-bg);
}

img {
  max-width: 100%;
}

/*----------------------------------------*/
/*  Header / logo / nav
/*----------------------------------------*/
.tp-header-logo img,
.tp-offcanvas-logo img,
.tp-footer-6-logo img {
  height: 62px;
  width: auto !important;
  object-fit: contain;
}

.tp-offcanvas-logo img {
  height: 56px;
}

.tp-header-area.tp-header-blur {
  backdrop-filter: blur(14px);
  background-color: rgba(2, 45, 5, 0.72) !important;
}

.tp-header-dropdown nav ul li > a {
  color: var(--tp-common-white);
}

.tp-header-dropdown nav ul li.has-dropdown > a::after {
  border-color: var(--tp-common-white) transparent transparent transparent;
}

.tp-header-dropdown nav ul li .tp-submenu {
  background-color: #013304;
  border: 1px solid var(--tp-samdos-line);
}

.tp-header-dropdown nav ul li .tp-submenu li a {
  color: rgba(243, 248, 243, 0.78);
}

.tp-header-dropdown nav ul li .tp-submenu li a:hover {
  color: var(--tp-theme-primary);
}

.tp-header-right {
  gap: 14px;
}

.samdos-nav-cta {
  padding: 15px 22px;
  font-size: 14px;
}

.tp-offcanvas-wrapper.offcanvas-black-bg {
  background-color: #013304;
}

.samdos-offcanvas-social a:hover {
  color: var(--tp-theme-primary);
}

/*----------------------------------------*/
/*  Buttons
/*----------------------------------------*/
.tp-btn-green {
  color: #03210A;
}

.tp-btn-green:hover {
  color: #03210A;
  background-color: var(--tp-theme-primary-dark);
}

.tp-btn-green.btn-white-bg {
  color: #03210A;
  background-color: var(--tp-grey-1);
}

.tp-btn-outline {
  display: inline-block;
  padding: 17px 26px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tp-common-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: 0.3s ease-in-out;
}

.tp-btn-outline:hover {
  color: #03210A;
  background-color: var(--tp-theme-primary);
  border-color: var(--tp-theme-primary);
}

/*----------------------------------------*/
/*  Section headings
/*----------------------------------------*/
.tp-section-subtitle {
  color: var(--tp-theme-primary);
}

.samdos-section-subtitle::before {
  background-color: var(--tp-theme-primary) !important;
}

/*----------------------------------------*/
/*  Hero
/*----------------------------------------*/
.samdos-hero {
  padding-top: 170px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.samdos-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tp-common-white);
  background: rgba(0, 166, 81, 0.16);
  border: 1px solid rgba(0, 166, 81, 0.5);
  border-radius: 100px;
}

.samdos-hero-eyebrow i {
  color: var(--tp-theme-primary);
}

.samdos-hero-title {
  font-size: 66px;
  line-height: 1.06;
  font-weight: 700;
  font-family: var(--tp-ff-unbounded);
  color: var(--tp-common-white);
  margin-bottom: 26px;
}

.samdos-hero-title span {
  color: var(--tp-theme-primary);
}

.samdos-hero-text {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(243, 248, 243, 0.72);
  margin-bottom: 34px;
  max-width: 620px;
}

.samdos-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}

.samdos-hero-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.samdos-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--tp-samdos-line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--tp-common-white);
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}

.samdos-chip:hover {
  border-color: var(--tp-theme-primary);
  background: rgba(0, 166, 81, 0.14);
  color: var(--tp-common-white);
}

.samdos-chip i {
  color: var(--tp-theme-primary);
}

.samdos-hero-media {
  position: relative;
}

.samdos-hero-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
}

.samdos-hero-media-badge {
  position: absolute;
  left: -26px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--tp-theme-primary);
  color: #03210A;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.samdos-hero-media-badge i {
  font-size: 30px;
}

.samdos-hero-media-badge strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.samdos-hero-media-badge span {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 991px) {
  .samdos-hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }
  .samdos-hero-title {
    font-size: 44px;
  }
  .samdos-hero-media img {
    height: 360px;
    margin-top: 20px;
  }
  .samdos-hero-media-badge {
    left: 16px;
  }
}

@media (max-width: 575px) {
  .samdos-hero-title {
    font-size: 34px;
  }
  .samdos-hero-text {
    font-size: 16px;
  }
}

/*----------------------------------------*/
/*  Text marquee
/*----------------------------------------*/
.ca-text-slider-ptb {
  padding: 30px 0;
}

.ca-text-slider-item span:first-child {
  color: #03210A;
}

/*----------------------------------------*/
/*  About / central registry
/*----------------------------------------*/
.samdos-about-text {
  color: rgba(243, 248, 243, 0.72);
  font-size: 17px;
  line-height: 1.75;
}

.samdos-highlight {
  color: var(--tp-theme-primary);
}

.samdos-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

#about .tp-section-title {
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1.08;
}

.samdos-stat {
  padding: 30px 24px;
  border: 1px solid var(--tp-samdos-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.samdos-stat i {
  font-size: 26px;
  color: var(--tp-theme-primary);
  margin-bottom: 16px;
  display: block;
}

.samdos-stat h3 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  font-family: var(--tp-ff-unbounded);
  color: var(--tp-common-white);
  margin-bottom: 10px;
}

.samdos-stat h3 i {
  display: inline;
  font-size: inherit;
  color: var(--tp-theme-primary);
  margin: 0;
}

.samdos-stat span {
  font-size: 14px;
  color: rgba(243, 248, 243, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 991px) {
  .samdos-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .samdos-stats {
    grid-template-columns: 1fr;
  }
  .samdos-stat h3 {
    font-size: 38px;
  }
}

/*----------------------------------------*/
/*  Apps showcase
/*----------------------------------------*/
.samdos-app-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tp-samdos-line);
  border-radius: 22px;
  background: var(--tp-samdos-card);
  overflow: hidden;
  transition: 0.35s ease-in-out;
}

.samdos-app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 166, 81, 0.7);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
}

.samdos-app-thumb {
  position: relative;
  overflow: hidden;
}

.samdos-app-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.6s ease-in-out;
}

.samdos-app-card:hover .samdos-app-thumb img {
  transform: scale(1.06);
}

.samdos-app-thumb i {
  position: absolute;
  left: 20px;
  bottom: -22px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #03210A;
  background: var(--tp-theme-primary);
  border-radius: 14px;
}

.samdos-app-body {
  padding: 40px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.samdos-app-body h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.samdos-app-body h4 a {
  color: var(--tp-common-white);
}

.samdos-app-body h4 a:hover {
  color: var(--tp-theme-primary);
}

.samdos-app-body p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(243, 248, 243, 0.66);
  margin-bottom: 20px;
  flex: 1;
}

.samdos-app-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tp-theme-primary);
}

.samdos-app-link i {
  transition: 0.3s ease-in-out;
}

.samdos-app-link:hover i {
  transform: translateX(5px);
  color: var(--tp-theme-primary);
}

/*----------------------------------------*/
/*  Cross-platform feature
/*----------------------------------------*/
.samdos-feature-media {
  position: relative;
}

.samdos-feature-media > img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 24px;
}

.samdos-feature-float {
  position: absolute;
  right: -20px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: var(--tp-theme-primary);
  color: #03210A;
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
  font-weight: 700;
}

.samdos-feature-float i {
  font-size: 26px;
}

.samdos-feature-title {
  font-size: 46px;
  line-height: 1.12;
  font-weight: 700;
  font-family: var(--tp-ff-unbounded);
  color: var(--tp-common-white);
  margin-bottom: 22px;
}

.samdos-feature-sub {
  font-size: 20px;
  font-weight: 700;
  color: var(--tp-theme-primary);
  margin: 26px 0 10px;
}

.samdos-feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.samdos-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(243, 248, 243, 0.78);
}

.samdos-feature-list li i {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #03210A;
  background: var(--tp-theme-primary);
  border-radius: 50%;
}

@media (max-width: 991px) {
  .samdos-feature-title {
    font-size: 34px;
  }
  .samdos-feature-media > img {
    height: 380px;
    margin-bottom: 34px;
  }
  .samdos-feature-float {
    right: 16px;
  }
}

@media (max-width: 479px) {
  .samdos-feature-list {
    grid-template-columns: 1fr;
  }
}

/*----------------------------------------*/
/*  Services
/*----------------------------------------*/
.samdos-service-item {
  height: 100%;
  padding: 46px 40px;
  border: 1px solid var(--tp-samdos-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  transition: 0.35s ease-in-out;
}

.samdos-service-item:hover {
  background: var(--tp-samdos-card);
  border-color: rgba(0, 166, 81, 0.65);
  transform: translateY(-6px);
}

.samdos-service-item .tp-service-item-icon {
  margin-bottom: 34px;
}

.samdos-service-item .tp-service-item-icon i {
  font-size: 42px;
  line-height: 1;
  color: var(--tp-theme-primary);
  transition: 0.35s ease-in-out;
}

.samdos-service-item:hover .tp-service-item-icon i {
  transform: translateY(-4px);
}

.samdos-service-item .tp-service-item-title {
  font-size: 24px;
  margin-bottom: 14px;
}

.samdos-service-item .tp-service-item-title a {
  color: var(--tp-common-white);
}

.samdos-service-item p {
  color: rgba(243, 248, 243, 0.64);
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .samdos-service-item {
    padding: 36px 28px;
  }
}

/*----------------------------------------*/
/*  Testimonials
/*----------------------------------------*/
.ca-testimonial-item {
  background-color: var(--tp-samdos-card);
  border: 1px solid var(--tp-samdos-line);
  border-radius: 18px;
}

.ca-testimonial-item-content p {
  text-transform: none;
  color: rgba(243, 248, 243, 0.82);
  font-size: 21px;
}

.ca-testimonial-item-user-thumb {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--tp-theme-primary);
}

.ca-testimonial-item-user-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ca-testimonial-item-user-content h4 {
  font-size: 16px;
}

.ca-testimonial-item-user-content p {
  color: var(--tp-theme-primary);
}

.samdos-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 18px;
  color: var(--tp-theme-primary);
  font-size: 14px;
}

/*----------------------------------------*/
/*  Offcanvas
/*----------------------------------------*/
.tp-offcanvas-title {
  color: var(--tp-common-white);
}

.tp-offcanvas-content p,
.tp-offcanvas-contact li a,
.tp-offcanvas-social a {
  color: rgba(243, 248, 243, 0.7);
}

.tp-offcanvas-contact li a:hover,
.tp-offcanvas-social a:hover {
  color: var(--tp-theme-primary);
}

/*----------------------------------------*/
/*  Footer
/*----------------------------------------*/
.tp-footer-6-info span a,
.tp-footer-6-info p,
.tp-footer-widget-menu ul li a {
  color: rgba(243, 248, 243, 0.7);
}

.tp-footer-widget-menu ul li a:hover {
  color: var(--tp-theme-primary);
}

.tp-footer-widget-title {
  color: var(--tp-common-white);
}

.tp-footer-6-btn a {
  background-color: var(--tp-theme-primary);
  color: #03210A;
}

.tp-footer-6-big-title {
  color: rgba(255, 255, 255, 0.06);
}

.tp-footer-3-copyright-text p,
.tp-footer-3-copyright-text a {
  color: rgba(243, 248, 243, 0.55);
}

.ds-footer-widget-input.tp-footer-6-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--tp-samdos-line);
  border-radius: 100px;
}

.ds-footer-widget-input.tp-footer-6-input input {
  color: var(--tp-common-white);
}

.tp-footer-6-input-btn {
  background: var(--tp-theme-primary);
  color: #03210A;
}

.samdos-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.samdos-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: rgba(243, 248, 243, 0.72);
}

.samdos-footer-contact li i {
  color: var(--tp-theme-primary);
  margin-top: 4px;
}

.samdos-footer-contact li a {
  color: rgba(243, 248, 243, 0.72);
}

.samdos-footer-contact li a:hover {
  color: var(--tp-theme-primary);
}

/*----------------------------------------*/
/*  Misc fixes
/*----------------------------------------*/
.samdos-divider {
  height: 1px;
  background: var(--tp-samdos-line);
}

.tp-service-item .tp-service-item-btn a {
  color: var(--tp-theme-primary);
}

main {
  overflow: hidden;
}

/*----------------------------------------*/
/*  GSAP reveal guard
/*----------------------------------------*/
.tp_fade_anim {
  transition-property: background-color, border-color, color, box-shadow,
    text-decoration-color, fill, stroke;
}

/*----------------------------------------*/
/*  Mobile section spacing
/*----------------------------------------*/
@media (max-width: 767px) {
  #top {
    padding-bottom: 30px;
  }

  #about,
  #apps {
    padding-top: 90px;
    padding-bottom: 80px;
  }

  .pt-30.pb-140 {
    padding-bottom: 80px;
  }

  #about .tp-section-title {
    font-size: 30px;
  }
}

/*----------------------------------------*/
/*  SplitText word grouping (no mid-word wraps)
/*----------------------------------------*/
.tp-split-title .samdos-word {
  display: inline-block;
  white-space: nowrap;
}
