/*
Theme Name: STCS Custom WordPress Theme
Theme URI: https://example.com/
Author: Custom Theme Conversion
Description: Custom WordPress theme converted from the supplied HTML/CSS/JS website.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: stcs-theme
*/

/* =========================================================
   STCS STYLE.CSS
   Red/white educational institute theme
   ========================================================= */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
}
:root {
  --red: lab(17.86% 47.19 -67.24);
  --dark-red: #0300b9;
  --black: #171717;
  --text: #555;
  --muted: #777;
  --light: #f7f7f7;
  --white: #fff;
  --border: #e9e9e9;
  --shadow: 0 12px 35px rgba(0, 0, 0, .08);
  --radius: 4px;
  --container: 1160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(92%, var(--container));
  margin: auto;
}

/* Top strip */
.top-strip {
  background: #111;
  color: #ddd;
  font-size: 12px;
}

.top-strip-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.top-strip i {
  color: var(--red);
  margin-right: 5px;
}

/* Header */
.site-header {
  background: var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 15px rgba(0, 0, 0, .12);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #fff;
}

.logo-mark {
  width: 50px;
  height: 50px;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 700;
}

.logo strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 1px;
}

.logo small {
  display: block;
  margin-top: 4px;
  font-size: 8px;
  letter-spacing: 1.4px;
  opacity: .9;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: .25s;
}

.main-nav a:hover {
  opacity: .7;
}

.main-nav .nav-button {
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.7);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 570px;
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.32)),
    radial-gradient(circle at 75% 40%, #666 0, #292929 42%, #111 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 0 65%, rgba(227,6,19,.45) 65% 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 80px 0;
}

.eyebrow,
.section-kicker {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fff;
}

.hero h1 {
  margin: 10px 0 15px;
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  max-width: 750px;
}

.hero h1 span,
h2 span {
  color: var(--red);
}

.hero-text {
  max-width: 650px;
  color: #eee;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  transition: .25s;
}

.btn-red {
  color: #fff;
  background: var(--red);
}

.btn-red:hover {
  background: var(--dark-red);
  transform: translateY(-2px);
}

.btn-light {
  color: #111;
  background: #fff;
}

.btn-light:hover {
  color: #fff;
  background: #111;
}

/* Quick services */
.quick-services {
  position: relative;
  z-index: 5;
  margin-top: -60px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 205px;
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.service-card:last-child {
  border-right: 0;
}

.service-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  color: var(--red);
  border: 1px solid #eee;
  border-radius: 50%;
  font-size: 19px;
}

.service-card h3,
.program-card h3,
.news-card h3,
.event-item h3 {
  color: #222;
  font-size: 15px;
  line-height: 1.4;
}

.service-card p,
.program-card p,
.news-card p {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* Sections */
.section {
  padding: 100px 0;
}

.light-section {
  background: var(--light);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.section-image {
  min-height: 470px;
}

.about-image {
  position: relative;
  background:
    linear-gradient(135deg, rgba(227,6,19,.16), rgba(0,0,0,.55)),
    radial-gradient(circle at 35% 35%, #c7c7c7, #737373 42%, #252525 100%);
  box-shadow: var(--shadow);
}

.about-image::before {
  content: "STCS";
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(255,255,255,.35);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.75);
  font-family: "Playfair Display", serif;
  font-size: 72px;
  letter-spacing: 5px;
}

.image-badge {
  position: absolute;
  left: -25px;
  bottom: 30px;
  min-width: 170px;
  padding: 18px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}

.image-badge strong {
  font-size: 32px;
  line-height: 1;
}

.image-badge span {
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-content h2,
.section-heading h2,
.event-layout h2 {
  margin: 8px 0 15px;
  color: #202020;
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1.2;
}

.section-content > p,
.event-layout > div > p {
  font-size: 13px;
  margin: 12px 0;
}

.red-line {
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: 14px 0 22px;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
  margin: 24px 0;
}

.about-points div {
  color: #333;
  font-size: 12px;
}

.about-points i {
  color: var(--red);
  margin-right: 6px;
}

.text-link,
.news-body a,
.program-card a {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.text-link i,
.news-body a i,
.program-card a i {
  margin-left: 5px;
  transition: .2s;
}

.text-link:hover i,
.news-body a:hover i,
.program-card a:hover i {
  transform: translateX(4px);
}

/* Headings */
.section-heading {
  margin-bottom: 45px;
}

.centered {
  text-align: center;
}

.centered-line {
  margin: 14px auto 15px;
}

.section-heading > p:last-child {
  font-size: 13px;
}

/* Programs */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.program-card {
  position: relative;
  padding: 35px 30px;
  background: #fff;
  border: 1px solid var(--border);
  transition: .25s;
}

.program-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.program-card > i {
  color: var(--red);
  font-size: 30px;
  margin-bottom: 17px;
}

.program-number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #ddd;
  font-size: 28px;
  font-weight: 700;
}

.program-card p {
  min-height: 65px;
  margin-bottom: 17px;
}

/* Stats */
.stats-section {
  padding: 65px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(227,6,19,.94), rgba(168,0,8,.94)),
    #c00;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat {
  border-right: 1px solid rgba(255,255,255,.3);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 38px;
  line-height: 1.1;
}

.stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: .25s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.news-image {
  height: 215px;
  background-size: cover;
  background-position: center;
}

.image-one {
  background:
    linear-gradient(135deg, rgba(227,6,19,.15), rgba(0,0,0,.45)),
    radial-gradient(circle at 30% 30%, #d8d8d8, #777 45%, #252525);
}

.image-two {
  background:
    linear-gradient(135deg, rgba(227,6,19,.1), rgba(0,0,0,.45)),
    radial-gradient(circle at 70% 35%, #ddd, #777 40%, #222);
}

.image-three {
  background:
    linear-gradient(135deg, rgba(227,6,19,.15), rgba(0,0,0,.55)),
    radial-gradient(circle at 50% 25%, #ddd, #888 40%, #222);
}

.news-body {
  padding: 25px;
}

.date {
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.news-body h3 {
  margin: 8px 0 5px;
  font-size: 16px;
}

/* Events */
.event-layout {
  align-items: stretch;
}

.event-list {
  margin-top: 28px;
}

.event-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.event-date {
  width: 62px;
  min-width: 62px;
  padding: 8px 5px;
  text-align: center;
  color: #fff;
  background: var(--red);
}

.event-date strong {
  display: block;
  font-size: 23px;
  line-height: 1;
}

.event-date span {
  font-size: 9px;
  letter-spacing: 1px;
}

.event-item h3 {
  font-size: 14px;
}

.event-item p {
  color: var(--muted);
  font-size: 11px;
}

.event-panel {
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding: 45px;
  background:
    linear-gradient(135deg, rgba(0,0,0,.72), rgba(227,6,19,.72)),
    radial-gradient(circle at 65% 35%, #777, #222);
}

.event-panel-inner {
  color: #fff;
}

.event-panel .section-kicker {
  color: #fff;
}

.event-panel h3 {
  margin: 7px 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 35px;
  line-height: 1.2;
}

.event-panel p:not(.section-kicker) {
  max-width: 450px;
  margin-bottom: 24px;
  color: #eee;
  font-size: 13px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-item {
  min-height: 210px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(227,6,19,.25), rgba(0,0,0,.4)),
    radial-gradient(circle at 40% 35%, #ddd, #777 45%, #222);
}

.gallery-item::after {
  content: "STCS";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.55);
  font-family: "Playfair Display", serif;
  font-size: 28px;
  letter-spacing: 2px;
  opacity: 0;
  transition: .25s;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-b { filter: brightness(.85); }
.gallery-c { filter: contrast(.9); }
.gallery-d { filter: grayscale(.25); }
.gallery-e { filter: brightness(1.05); }
.gallery-f { filter: contrast(1.1); }

/* CTA */
.cta {
  padding: 65px 0;
  background: #151515;
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.cta .section-kicker {
  color: #fff;
}

.cta h2 {
  margin-top: 5px;
  font-family: "Playfair Display", serif;
  font-size: 35px;
}

/* Footer */
.footer {
  color: #aaa;
  background: #0e0e0e;
}

.footer-grid {
  padding: 65px 0 45px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 60px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-text {
  max-width: 390px;
  font-size: 12px;
}

.footer h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-grid > div > a:not(.footer-logo) {
  display: block;
  margin: 6px 0;
  font-size: 12px;
}

.footer-grid p {
  margin: 7px 0;
  font-size: 12px;
}

.footer-grid p i {
  width: 20px;
  color: var(--red);
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid oklch(61.522% 0.17848 135.952 / 0.87);
  font-size: 10px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

/* Back to top */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 43px;
  height: 43px;
  border: 0;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .25s;
  z-index: 900;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav {
    gap: 15px;
  }

  .service-grid,
  .program-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-image {
    min-height: 400px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 0;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

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

@media (max-width: 700px) {
  .top-strip-inner {
    justify-content: center;
    gap: 10px;
    font-size: 10px;
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: none;
    padding: 15px 5%;
    background: #b9000a;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .main-nav .nav-button {
    padding: 12px 0;
    border: 0;
  }

  .hero {
    min-height: 510px;
  }

  .hero-content {
    padding: 60px 0;
  }

  .quick-services {
    margin-top: 0;
  }

  .service-grid,
  .program-grid,
  .news-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .section {
    padding: 70px 0;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .section-image {
    min-height: 330px;
  }

  .image-badge {
    left: 15px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom .container {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 39px;
  }

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

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

  .stat strong {
    font-size: 28px;
  }
}
.hero {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.9s ease-in-out;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    padding: 8px 36px;
  
}

.tracking-container {
    width: 100%;
    max-width: 800px;
    height: 50px;

    display: flex;

    border: 2px solid #444;
    border-radius: 3px;
    overflow: hidden;
}

    border: none;
    outline: none;

    padding: 3 25px;

    font-size: 15px;
    color: #333;
}

#trackingNumber::placeholder {
    color: #333;
    opacity: 2;
}

.tracking-container button {
    width: 341px;

    border: none;
    outline: none;

    background: #df0011;
    color: white;

    font-size: 40px;
    cursor: pointer;

    transition: background 0.2s ease;
}

.tracking-container button:hover {
    background: #c9000f;
}

.tracking-container button:active {
    background: #b5000d;
}

#result {
    max-width: 300px;
    margin-top: 20px;

    font-size: 15px;
    color: #333;
}
.hero-content {
    position:left ;
    z-index: 1;
}
.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: left 1s ease-in-out;
}

.hero-slide.active {
    left: 0;
}
/* Menu Button */
#menuBtn {
    background: white;
    border: 2px  #222;
    border-radius: 10px;
    width: 80px;
    height: 60px;
    font-size: 32px;
    cursor: pointer;
}

