/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Exo:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors — Golden Glassmorphism Palette ==========*/
  --gold-primary: hsl(46, 100%, 50%);
  /* #ffd60a */
  --gold-deep: hsl(38, 100%, 40%);
  /* warm deep gold */
  --gold-light: hsl(50, 100%, 70%);
  /* pale shimmer gold */
  --gold-glass: hsla(46, 100%, 50%, 0.05);
  --gold-glass-mid: hsla(46, 100%, 50%, 0.1);
  --gold-glass-strong: hsla(46, 100%, 50%, 0.2);
  --gold-border: hsla(46, 100%, 60%, 0.65);
  --gold-glow: hsla(46, 100%, 50%, 0.5);

  --first-color: hsl(46, 100%, 50%);
  --first-color-alt: hsl(38, 100%, 40%);
  --title-color: hsl(46, 80%, 95%);
  --text-color: hsl(46, 30%, 80%);
  --text-color-light: hsl(46, 20%, 60%);
  --white-color: #fff;
  --body-color: hsl(30, 10%, 5%);
  --container-color: hsla(46, 20%, 8%, 0.7);

  /*========== Font and typography ==========*/
  --body-font: 'Exo', sans-serif;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  background-image:
    radial-gradient(ellipse at 20% 30%, hsla(46, 100%, 30%, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, hsla(38, 100%, 25%, 0.10) 0%, transparent 55%);
  color: var(--text-color);
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1024px;
  margin-right: 1.5rem;
  margin-left: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--gold-primary);
  text-shadow: 0 0 18px hsla(46, 100%, 50%, 0.5);
  letter-spacing: 0.04em;
}

.main {
  overflow: hidden;
}

.shap__big {
  width: 300px;
  height: 300px;
}

.shap__small {
  width: 300px;
  height: 300px;
}

.shape__smaller {
  width: 180px;
  height: 180px;
  filter: blur(64px);
}

.shape__smallerBoss {
  width: 180px;
  height: 180px;
  filter: blur(64px);
}


/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background: hsla(0, 0%, 0%, 0.2) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gold-border);
  border-radius: 0 0 1.5rem 1.5rem;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle {
  color: var(--gold-primary);
  display: inline-flex;
}

.nav__logo {
  align-items: center;
  column-gap: 0.25rem;
  font-weight: var(--font-medium);
  transition: 0.3s;
  flex-shrink: 0;
  margin-right: 1rem;
  text-shadow: 0 0 12px var(--gold-glow);
}

.nav__logo img {
  height: 4.5rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav__toggle {
  cursor: pointer;
}


@media screen and (max-width: 700px) {

  /* Find this block around line 155 and replace it entirely */
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    z-index: 5000 !important;
    /* Increased z-index to stay above everything */
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  text-align: center;
  row-gap: 3rem;
  padding-top: 15rem;

}

.nav__link {
  text-transform: uppercase;
  color: var(--title-color);
  font-size: var(--font-medium);
  transition: 0.3s;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
}

.nav__link:hover {
  color: var(--gold-primary);
  text-shadow: 0 0 10px var(--gold-glow);
}

.nav__close {
  font-size: 2rem;
  top: 3rem;
  right: 3rem;
  cursor: pointer;
  color: var(--gold-primary);
  position: absolute;
  /* background-color: #e49d00; */
  /* border-radius: 5rem; */
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Change background header */
.scroll-header {
  border-radius: 0 0 1.5rem 1.5rem;
  background: hsla(30, 15%, 3%, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 4px 24px hsla(46, 100%, 40%, 0.15);
  transition: 0.5s;
}

/* Active link */
.active-link {
  color: var(--gold-primary);
  text-shadow: 0 0 10px var(--gold-glow);
}

/*=============== Academic Flowchart Section ===============*/
.Academic_section h2 {
  color: var(--gold-primary);
  text-align: center;
  text-shadow: 0 0 16px var(--gold-glow);
}

.Academic_section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 2rem;
  margin: 2rem;
  text-align: center;
  padding: 0.6rem;
  overflow: hidden;
}

/* dark overlay */
.Academic_section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: hsla(30, 10%, 3%, 0.65);
  border-radius: 2rem;
  z-index: 0;
}

.Academic_section>* {
  position: relative;
  z-index: 1;
}

/* Glass card on top */
.Academic_section>.container,
.Academic_section>div {
  background: var(--gold-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--gold-border);
  border-radius: 1.75rem;
  box-shadow: 0 -0.4rem 0.3rem var(--gold-primary), inset 0 1px 0 hsla(50, 100%, 80%, 0.15);
}

.card__content {
  margin-inline: 1.75rem;
  overflow: hidden;
}

.card__article {
  width: 300px;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid var(--gold-border);
  box-shadow: 0 8px 32px hsla(46, 100%, 30%, 0.2);
}

.card__image {
  position: relative;
  background-color: transparent;
}

.card__data {
  background: var(--gold-glass-mid);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 1.5rem 2rem;
  border-radius: 0 0 2rem 2rem;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--gold-border);
}

.card__name {
  background: var(--gold-glass-strong);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 0 14px hsla(46, 100%, 50%, 0.25);
  color: var(--gold-primary);
}

.subject {
  background: var(--gold-glass);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  margin-bottom: 1rem;
  color: var(--gold-light);
}

.card__button {
  background: var(--gold-glass-strong);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  margin-top: 5rem;
  padding: 0.5rem 1.5rem;
  color: var(--gold-primary);
  font-size: var(--font-medium);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: 0.3s;
  cursor: pointer;
}

.card__button:hover {
  background: hsla(46, 100%, 50%, 0.45);
  box-shadow: 0 0 18px var(--gold-glow);
}

/*=============== GPA Calculator Section ===============*/
.gpa-section,
section#gpa,
.section.gpa,
[id*="gpa" i],
[class*="gpa" i] {
  position: relative;
}

/* Wrapper for GPA section — target by section ID or parent via JS; 
   background applied via the container below */

.container__cal {
  position: relative;
  background: var(--gold-glass-mid);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
  padding: 2rem;
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 30px hsla(46, 100%, 40%, 0.2), inset 0 1px 0 hsla(50, 100%, 80%, 0.12);
  align-items: center;
  justify-content: center;
  max-width: 600px;
  width: 90%;
  margin: auto;
}

/* Section background images */
#Cal,
section.Cal,
.Cal {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 2.5rem;
  overflow: hidden;
  margin: 1rem;
  padding: 3rem 0;
}

#Cal::before,
section.Cal::before,
.Cal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: hsla(30, 10%, 3%, 0.65);
  border-radius: 2.5rem;
  z-index: 0;
}

#Cal>*,
section.Cal>*,
.Cal>* {
  position: relative;
  z-index: 1;
}

/* Schedule Builder Section */
#Schedule,
section.Schedule,
.Schedule,
[id*="schedule" i]:not(input):not(select):not(ul) {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 2.5rem;
  overflow: hidden;
  margin: 1rem;
  padding: 3rem 0;
}

#Schedule::before,
section.Schedule::before,
.Schedule::before {
  content: '';
  position: absolute;
  inset: 0;
  background: hsla(30, 10%, 3%, 0.65);
  border-radius: 2.5rem;
  z-index: 0;
}

#Schedule>*,
section.Schedule>*,
.Schedule>* {
  position: relative;
  z-index: 1;
}

/* Thermodynamics Assistant Section */
#AIThermo,
section.AIThermo,
.AIThermo,
[id*="thermo" i]:not(input):not(select) {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 2.5rem;
  overflow: hidden;
  margin: 1rem;
  padding: 3rem 0;
}

#AIThermo::before,
section.AIThermo::before,
.AIThermo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: hsla(30, 10%, 3%, 0.65);
  border-radius: 2.5rem;
  z-index: 0;
}

#AIThermo>*,
section.AIThermo>*,
.AIThermo>* {
  position: relative;
  z-index: 1;
}

/* Subjects Section */
#Subjects,
section.Subjects,
.Subjects,
.featured,
section.featured {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 2.5rem;
  overflow: hidden;
  margin: 1rem;
  padding: 3rem 0;
}

#Subjects::before,
section.Subjects::before,
.Subjects::before,
.featured::before,
section.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: hsla(30, 10%, 3%, 0.65);
  border-radius: 2.5rem;
  z-index: 0;
}

#Subjects>*,
section.Subjects>*,
.Subjects>*,
.featured>*,
section.featured>* {
  position: relative;
  z-index: 1;
}

h1 {
  text-align: center;
}

.previous-data,
.course {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  width: 100%;
}

.pre__GPA {
  margin-top: 2rem;
  width: 100%;
}

input,
select {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  background: hsla(30, 15%, 5%, 0.6);
  color: var(--gold-light);
  outline: none;
  transition: 0.3s;
}

input:focus,
select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
}

button {
  margin-right: 10px;
  padding: 10px 20px;
  color: white;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  cursor: pointer;
  background: var(--gold-glass-mid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: 0.3s;
  font-family: var(--body-font);
}

button:hover {
  background: hsla(46, 100%, 50%, 0.4);
  box-shadow: 0 0 16px var(--gold-glow);
  color: var(--gold-primary);
}

#result {
  margin-top: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--gold-primary);
  text-align: center;
  background: var(--gold-glass);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem;
  border-radius: 999px;
  width: 100%;
  text-shadow: 0 0 10px var(--gold-glow);
}

.input__GPA__name {
  background: hsla(30, 15%, 5%, 0.6);
  color: var(--gold-light);
  width: 30%;
  text-align: center;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
}

.input_GPA_Hr {
  background: hsla(30, 15%, 5%, 0.6);
  color: var(--gold-light);
  width: 30%;
  text-align: center;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
}

.input_GPA_grade {
  background: hsla(30, 15%, 5%, 0.6);
  color: var(--gold-light);
  width: 30%;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
}

.input_GPA_Add {
  background: var(--gold-glass-mid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  font-weight: 700;
  margin: 1rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 0 10px var(--gold-glow);
}

.input_GPA_res {
  background: var(--gold-glass-mid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  font-weight: 700;
  border-radius: 999px;
  border: none;
  box-shadow: 0 0 10px var(--gold-glow);
}

.input_GPA_preGPA {
  background: hsla(30, 15%, 5%, 0.6);
  color: var(--gold-light);
  text-align: center;
  margin-bottom: 0.5rem;
  width: 50%;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
}

.input_GPA_preH {
  background: hsla(30, 15%, 5%, 0.6);
  color: var(--gold-light);
  text-align: center;
  width: 50%;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
}

/*=============== AI Thermo ===============*/
.container__AIThermo {
  max-width: 800px;
  width: 90%;
  margin: auto;
  background: var(--gold-glass-mid);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
  box-shadow: 0 4px 32px hsla(46, 100%, 30%, 0.2);
  padding: 30px;
  border-radius: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.container__AIThermo h1 {
  text-align: center;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-primary));
  color: #000;
  margin-bottom: 30px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 0 14px var(--gold-glow);
}

.labelof_AI {
  display: block;
  font-size: 1.2em;
  color: var(--gold-light);
  margin-bottom: 10px;
}

textarea {
  width: 100%;
  min-height: 100px;
  padding: 15px;
  color: var(--gold-light);
  border: 2px solid var(--gold-border);
  border-radius: 1.5rem;
  font-weight: 500;
  font-family: 'Amiri', serif;
  resize: vertical;
  background: hsla(30, 15%, 5%, 0.6);
  transition: border-color 0.3s ease;
  text-align: left;
  box-sizing: border-box;
  outline: none;
}

textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px var(--gold-glow);
}

.button_AITH {
  display: block;
  width: 200px;
  margin: 20px auto;
  padding: 12px 24px;
  background: var(--gold-glass-mid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 10px var(--gold-glow);
  transition: 0.3s;
}

.button_AITH:hover {
  box-shadow: 0 0 28px var(--gold-glow);
  transform: translateY(-2px);
}

.solution-box {
  text-align: left;
  color: var(--gold-light);
  background: var(--gold-glass);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

/*=============== Schedule Builder ===============*/
.course-builder {
  background: var(--gold-glass-mid);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
  border-radius: 2rem;
  box-shadow: 0 0 24px hsla(46, 100%, 30%, 0.2);
  max-width: 600px;
  width: 90%;
  margin: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.course-builder button {
  padding: 10px 20px;
  margin: 1rem;
  background: var(--gold-glass-mid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  font-weight: 700;
  margin: 1rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 0 10px var(--gold-glow);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 0 12px var(--gold-glow);
  transition: 0.3s;
}

.course-builder button:hover {
  box-shadow: 0 0 28px var(--gold-glow);
  transform: translateY(-2px);
}

.course-builder input {
  margin: 1rem;
  background: hsla(30, 15%, 5%, 0.6);
  color: var(--gold-light);
  text-align: center;
  padding: 10px 20px;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  width: 80%;
  outline: none;
  transition: 0.3s;
}

.course-builder input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

#enteredCRNs {
  width: 100%;
  padding: 0;
  margin: 1rem 0;
}

#enteredCRNs li {
  margin-right: 15px;
  list-style: square;
  font-size: 14px;
  margin-left: 2rem;
  color: var(--gold-light);
}

#schedules {
  margin-top: 20px;
  padding: 10px;
  background: var(--gold-glass);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.schedule {
  margin-bottom: 15px;
  padding: 10px 16px;
  color: var(--gold-light);
  background: var(--gold-glass-mid);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  text-align: right;
  font-size: 1rem;
}


/*=============== HOME ===============*/

.home__image {
  z-index: -100;
  min-height: 100vh;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  position: absolute;
  top: 0;
  transform: rotate(-90deg);
}

.home__image img {
  transform: scale(2);
}

.home {
  position: relative;
  overflow: hidden;
  min-height: 100vh;

}

.home__container {
  position: relative;
  padding-top: 4rem;
  row-gap: 3rem;
  width: 100%;
}

.home__data {
  text-align: center;
}

.home__center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.home__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.home__title {
  font-size: var(--h1-font-size);
  margin-bottom: 1rem;
  background: hsla(46, 100%, 50%, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  box-shadow: 0 0 24px hsla(46, 100%, 50%, 0.3), inset 0 1px 0 hsla(50, 100%, 80%, 0.15);
  border-radius: 999px;
  margin: 1rem;
  padding: 0.75rem 1.5rem;
  margin-left: 10%;
  margin-right: 10%;
  color: var(--gold-primary);
  text-shadow: 0 0 14px var(--gold-glow);
}

.home__subttile {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  background: hsla(46, 100%, 50%, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  margin: 1rem;
  padding: 0.5rem 1.5rem;
  margin-left: 15%;
  margin-right: 15%;
  color: var(--gold-light);
}

.shap {
  background-color: #e49d00;
  filter: blur(150px);
  border-radius: 50%;
}

.shapBoss {
  background-color: hsla(46, 100%, 30%, 0.5);
  filter: blur(150px);
  border-radius: 50%;
}

.home__img {
  width: 250px;
  /* adjust to taste */
  justify-self: center;
}

.home__eng {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  text-align: center;
}

.home__button {
  grid-column: 1 / -1;
  /* makes it span both columns — REMOVE this if button is outside .home__eng */
}

.social__home {
  display: flex;
  justify-content: center;
  column-gap: 3rem;
  text-align: center;
  margin-right: 2rem;
}

.social__home a {
  background: var(--gold-glass-mid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  font-size: 2rem;
  padding: 1rem;
  color: var(--gold-primary);
  transition: 0.3s;
}

.social__home a:hover {
  background: hsla(46, 100%, 50%, 0.4);
  box-shadow: 0 0 18px var(--gold-glow);
}

.home__eng-number {
  font-size: 1.2rem !important;
  color: hsl(0, 0%, 90%);
  padding: 0.5rem;
}

.home__eng-data {
  text-align: center;
  background: var(--gold-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
}

.home__eng-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  color: hsl(0, 0%, 90%);
}

.home__eng-icon i {
  padding: 0.1rem;
  font-size: 2rem;
}

.home__button {
  position: relative;
  border: 3px solid var(--gold-border);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  font-size: var(--small-font-size);
  color: var(--gold-primary);
  font-weight: 500;
  margin: 2rem;
  background: var(--gold-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home__button::before {
  content: '';
  border: 8px solid var(--gold-primary);
  width: 90px;
  height: 90px;
  position: absolute;
  border-radius: 999px;
  box-shadow: 0 0 20px var(--gold-primary);
  animation: button 2s infinite;
}

.home .shap__big,
.shap__small {
  position: absolute;
}

.home .shap__big {
  left: -9rem;
  top: -4rem;
}

.home .shap__small {
  right: -10rem;
  bottom: 3rem;
}

@keyframes button {
  0% {
    box-shadow: 0 0 20px var(--gold-primary);
    border: 3px solid var(--gold-primary);
  }

  50% {
    box-shadow: 0 0 50px var(--gold-deep);
    border: 3px solid var(--gold-deep);
  }

  100% {
    box-shadow: 0 0 20px var(--gold-primary);
    border: 3px solid var(--gold-primary);
  }
}

/*=============== BUTTON ===============*/
.button {
  display: inline-block;
  background: var(--gold-glass-mid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: var(--normal-font-size);
  font-weight: 600;
  transition: 0.3s;
  margin-left: 2rem;
  box-shadow: 0 0 10px hsla(46, 100%, 40%, 0.15);
}

.button:hover {
  background: hsla(46, 100%, 50%, 0.4);
  box-shadow: 0 0 20px var(--gold-glow);
  color: var(--gold-primary);
}

/*=============== ABOUT ===============*/
.about__container {
  row-gap: 6rem;
}

.about__group {
  position: relative;
  margin-left: 1rem;
}

.about__img {
  width: 300px;
  border-radius: 0rem 2rem 0rem 2rem;
  border: 1px solid var(--gold-border);
  box-shadow: 0 0 50px hsla(46, 100%, 50%, 0.474);
}

.about__card {
  width: 200px;
  margin-right: -1rem;
  position: absolute;
  bottom: -1rem;
  right: 0;
  background: var(--gold-glass-mid);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  padding: 1rem 0.75rem;
  text-align: center;
  border-radius: 1.5rem;
  box-shadow: 0 0 20px hsla(46, 100%, 50%, 0.504);
}

.about__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
  color: var(--gold-primary);
}

.about__card-dec {
  font-size: var(--smaller-font-size);
  color: var(--gold-light);
}

.about__title {
  text-align: initial;
  margin-bottom: 2rem;
  margin-left: 2rem;
  background: linear-gradient(to right, hsla(46, 60%, 12%, 0.85), transparent);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border-left: 3px solid var(--gold-primary);
  color: var(--gold-primary);
}

.about__dec {
  margin-bottom: 2rem;
  margin-left: 2rem;
  text-align: center;
  color: var(--text-color);
}

.button__chart {
  background: var(--gold-glass-mid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 0.85rem 2rem;
  margin: 2rem;
  color: var(--gold-primary);
  font-size: var(--h3-font-size);
  font-family: var(--body-font);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.button__chart:hover {
  background: hsla(46, 100%, 50%, 0.4);
  box-shadow: 0 0 16px var(--gold-glow);
}

/*=============== POPULAR ===============*/
.popular__conitainer {
  padding-top: 1rem;
}

.popular__card {
  position: relative;
  width: 258px;
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 2rem;
  margin-bottom: 3.5rem;
  overflow: hidden;
  background: var(--gold-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-border);
  box-shadow: 0 8px 32px hsla(46, 100%, 30%, 0.15);
  transition: 0.3s;
}

.popular__card .shape__smaller {
  position: absolute;
  top: -2.5rem;
  left: -2.5rem;
}

.popular__title,
.popular__subtitle,
.popular__img {
  position: relative;
}

.popular__title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  text-align: center;
  color: var(--gold-primary);
}

.popular__subtitle {
  right: 0;
  font-size: 1rem;
  color: var(--gold-light);
  font-weight: 400;
  text-align: center;
}

.popular__data {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
}

.popular__data-group {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--gold-light);
}

.popular__button {
  border: none;
  outline: none;
  padding: .75rem 1rem;
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 2rem 0 2rem 0;
  cursor: pointer;
  background: var(--gold-glass-strong);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  transition: 0.3s;
}

.popular__button:hover {
  background: hsla(46, 100%, 50%, 0.5);
  box-shadow: 0 0 14px var(--gold-glow);
}

.popular__card img {
  transition: 0.2s ease;
}

.popular__card:hover .popular__img {
  transform: translateY(-0.15rem);
}

/* Swiper class */
.swiper-pagination-bullet {
  background: var(--gold-border);
}

.swiper-pagination-bullet-active {
  background: var(--gold-primary);
}

/*=============== Drs ===============*/
.popular2__card {
  position: relative;
  width: 250px;
  max-height: 380px;
  background: var(--gold-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-border);
  border-radius: 2rem;
  margin-bottom: 3.5rem;
  /* margin: 0.1rem; */
  overflow: hidden;
  transition: max-height 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  box-shadow: 0 8px 24px hsla(46, 100%, 30%, 0.15);
}

/* Style <hr> separators inside professor bio text */


.popularBoss__card {
  position: relative;
  width: 270px;
  max-height: 400px;
  background: var(--gold-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-border);
  border-radius: 2rem;
  margin-bottom: 3.5rem;
  overflow: hidden;
  transition: max-height 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  box-shadow: 0 8px 28px hsla(46, 100%, 30%, 0.15);
}

.popular2__subtitle:hover {
  display: block;
}

.popular2__title,
.popular2__subtitle,
.popular2__img {
  position: relative;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular2__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--gold-primary);
}

.popular2__titleL {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  background: var(--gold-glass);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: var(--gold-primary);
  padding: .3rem .9rem;
  width: fit-content;
  margin: auto;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular2__titleL span {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  background: var(--gold-glass-mid);
  border-radius: 999px;
  color: var(--gold-light);
  padding: 0.4rem 0.8rem;
}

.popular2__subtitle {
  right: 0;
  font-size: 1rem;
  color: white;
  font-weight: 400;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  background: hsla(46, 60%, 10%, 0.5);
  border: 1px solid var(--gold-border);
  padding: 1rem;
  border-radius: 1.5rem;
  position: relative;
  margin: 1rem 0.5rem;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.popular2__subtitle span {
  position: relative;
  display: block;
  text-align: center;
  font-size: 1rem;
  color: var(--gold-primary);
  font-weight: 700;
  margin-left: 1rem;
}

.popular2__data {
  grid-template-columns: repeat(2, max-content);
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
}

.popular2__data-group {
  display: block;
  text-align: right;
  margin-top: 1rem;
  color: white;
  opacity: 0;
  transform: translateY(16px);
  background: var(--gold-glass);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 2rem;
  margin: 0.5rem;
  padding: 1rem;
  transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}

.readme {
  text-align: center;
  background: hsla(46, 80%, 20%, 0.2);
  position: absolute;
  bottom: 0;
  width: 100%;
}

.popular2__card:hover .popular2__title {
  opacity: 1;
  transform: translateY(-8px);
}

.popular2__card:hover .popular2__subtitle {
  opacity: 1;
  transform: translateY(0);
}

.popular2__card:hover {
  max-height: 1200px;
  box-shadow: 0 16px 40px hsla(46, 100%, 30%, 0.3);
  border-color: var(--gold-primary);
}

.popular2__card:hover .popular2__img {
  opacity: 1;
  transform: translateY(-8px);
}

.popular2__card:hover .popular2__titleL {
  opacity: 1;
  transform: translateY(-6px);
}

.popular2__card:hover .popular2__data-group {
  opacity: 1;
  transform: translateY(0);
}

.popular2__card:hover .readme {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes show-card {
  50% {
    transform: translatey(2rem);
  }

  100% {
    transform: translatey(2rem);
  }
}

/* Boss */
.popularBoss__card:hover .popular2__title {
  opacity: 0;
  transform: translateY(-8px);
}

.popularBoss__card:hover .popular2__subtitle {
  opacity: 1;
  transform: translateY(0);
}

.popularBoss__card:hover {
  max-height: 700px;
  box-shadow: 0 16px 40px hsla(46, 100%, 30%, 0.3);
  border-color: var(--gold-primary);
}

.popularBoss__card:hover .popular2__img {
  opacity: 0;
  transform: translateY(-8px);
}

.popularBoss__card:hover .popular2__titleL {
  opacity: 0;
  transform: translateY(-6px);
}

.popularBoss__card:hover .popular2__data-group {
  opacity: 1;
  transform: translateY(0);
}

.popularBoss__card:hover .readme {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popular2__data-group span {
  display: block;
  text-align: center;
  margin-right: 1.4rem;
  margin-top: 1rem;
  color: var(--gold-primary);
}

.popular2__button {
  border: none;
  outline: none;
  padding: .75rem 1rem;
  position: absolute;
  left: -2.05rem;
  top: -0.05rem;
  border-radius: 2rem 0 2rem 0;
  cursor: pointer;
  background: var(--gold-glass-strong);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  transition: 0.3s;
}

.popular2__card img {
  width: 120px;
  position: absolute;
  inset: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
}

.popularBoss__card img {
  width: 120px;
  position: absolute;
  inset: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
}




/*=============== FEATURES (ACHIEVEMENTS) ===============*/
.features {
  overflow: hidden;
  position: relative;
}

/* Remove the background image from the container — we'll put it on the section wrapper */
.features__container {
  padding-top: 2rem;
  border-radius: 2rem;
  grid-template-columns: 1fr;
  justify-content: center;
  width: 100%;
  padding: 2rem 1rem;

  /* ADD THESE LINES */
  background: url('../img/achievements_engineers.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

/* ADD THIS — dark overlay so cards stay readable */
.features__container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: hsla(30, 10%, 3%, 0.72);
  border-radius: 2rem;
  z-index: 0;
}

/* ADD THIS — so children sit above the overlay */
.features__container>* {
  position: relative;
  z-index: 1;
}

.features__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
  width: 100%;
  gap: 2rem;
}

/* The side image + date card — keep it centered above the grid */
.features__img {
  width: 150px !important;
  /* border-radius: 50%; */
  /* border: 1px solid var(--gold-border); */
  /* box-shadow: 0 0 32px hsla(46, 100%, 40%, 0.25); */
  display: block;
  margin: 0 auto;
}

.features__card {
  width: fit-content;
  background: var(--gold-glass-mid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-radius: 2rem;
  padding: 0.75rem 1.75rem;
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 4px 16px hsla(46, 100%, 30%, 0.2);
  position: static;
  /* override old absolute */
}

.features__card-1 {
  top: unset;
  left: unset;
}

.features__card-title {
  font-size: var(--h3-font-size);
  color: var(--gold-primary);
}

.Done {
  color: var(--gold-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
}

.features__map {
  border-radius: 2rem;
  width: 100%;
  display: block;
  margin-top: 2rem;
  opacity: 0.85;
}

/* ======== ACHIEVEMENTS GRID ======== */
.cardsAchi {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  width: 100%;
  padding: 0.5rem;
}

.card_con {
  /* Reset old absolute positioning */
  position: relative;
  top: unset;
  right: unset;
  opacity: 1;

  /* Card styling */
  background: linear-gradient(145deg,
      hsla(46, 100%, 50%, 0.08) 0%,
      hsla(38, 100%, 30%, 0.05) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-border);
  border-radius: 1.5rem;
  padding: 1.25rem 1rem;
  width: 100%;
  height: auto;
  min-height: 100px;
  text-align: center;
  margin: 0;
  transition: transform 1s ease, box-shadow 1s ease, background 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Subtle top shimmer line */
  box-shadow:
    0 1px 0 hsla(50, 100%, 80%, 0.1) inset,
    0 4px 20px hsla(46, 100%, 30%, 0.12);
}

.card_con:hover {
  transform: translateY(-4px) scale(1.02);
  background: linear-gradient(145deg,
      hsla(46, 100%, 50%, 0.18) 0%,
      hsla(38, 100%, 30%, 0.12) 100%);
  box-shadow:
    0 0 0 1px var(--gold-primary),
    0 8px 32px hsla(46, 100%, 40%, 0.3);
}

/* Numbered counter badge */
.card_con {
  counter-increment: achi-counter;
}

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



.card_con::before {
  content: counter(achi-counter);
  position: absolute;
  top: -0.6rem;
  right: 0.9rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--gold-primary);
  color: #000;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  box-shadow: 0 0 10px var(--gold-glow);
  line-height: 1.4;
}

.text_ach {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--title-color);
  line-height: 1.6;
  direction: rtl;
}









/*=============== FEATURED (Subjects) ===============*/
.featured__container {
  padding-top: 1rem;
}

.featured__filters {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.1rem;
  margin-bottom: 3.5rem;
}

.featured__item {
  width: 60px;
  height: 30px;
  border: 1px solid var(--gold-border);
  outline: none;
  padding: 0.5rem;
  border-radius: 999px;
  background: var(--gold-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold-light);
  font-size: 0.7rem;
  transition: .3s;
  cursor: pointer;
}

.featured__item img {
  width: 1.5rem;
}

.featured__item span,
.featured__item img {
  opacity: .6;
  transition: 0.3s;
}

.featured__item:hover {
  background: hsla(46, 100%, 50%, 0.35);
  box-shadow: 0 0 14px var(--gold-glow);
  color: var(--gold-primary);
}

.featured__item:hover span,
.featured__item img {
  opacity: 1;
}

.featured__content {
  grid-template-columns: 280px;
  /* 👈 increase this value to make cards wider */
  row-gap: 2.5rem;
  justify-content: center;
}

.featured__card {
  position: relative;
  background: var(--gold-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-border);
  padding: 1rem 1rem 1rem;
  border-radius: 2rem;
  box-shadow: 0 8px 24px hsla(46, 100%, 30%, 0.15);
  transition: 0.3s;
}

.featured__card .shape__smaller {
  position: absolute;
  margin: auto;
  inset: 0;
}

.featured__title,
.featuerd__subtitle,
.featured__img {
  position: relative;
}

.featured__title {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  text-align: center;
  background: var(--gold-glass-mid);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: 1px solid var(--gold-border);
  color: white;
  margin: .5rem;
  border-radius: 999px;
  padding: 0.6rem 1rem;
}

.featured__subtitle {
  font-size: 1.4rem;
  font-weight: 200;
  text-align: center;
  background: var(--gold-glass);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  color: var(--gold-light);
  margin: 1rem;
  border-radius: 999px;
  padding: 0.6rem 1rem;
}

.featured__img {
  width: 220px;
  /* fixed width */
  height: 160px;
  /* fixed height */
  object-fit: cover;
  /* keeps image ratio without stretching */
  border-radius: 1rem;
  /* 👈 add your preferred border radius here */
  margin: 1.5rem 0;
  transition: .3s;
  display: block;
}

.featured__button {
  border: none;
  outline: none;
  padding: 0.75rem 1rem;
  position: absolute;
  right: -0.7rem;
  bottom: 0;
  border-radius: 2rem 0 2rem 0;
  cursor: pointer;
  background: var(--gold-glass-strong);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  transition: 0.3s;
}

.featured__button:hover {
  background: hsla(46, 100%, 50%, 0.5);
  box-shadow: 0 0 14px var(--gold-glow);
}

.featured__button i {
  font-size: 1.25rem;
}

.featured__card:hover .featured__img {
  transform: translateX(-0.25rem);
}

.active-featured {
  background: hsla(46, 100%, 50%, 0.35);
  border-color: var(--gold-primary);
  box-shadow: 0 0 14px var(--gold-glow);
  color: var(--gold-primary);
}

.active-featured span,
.active-featured img {
  opacity: 1;
}










/*=============== OFFER — GOLDEN GLASS ===============*/
.offer {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.offer__bg {
  position: absolute;
  border-radius: 2rem;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) saturate(0.8);
  z-index: 0;
}

/* Warm golden ambient overlay */
.offer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(184, 120, 10, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse at 75% 30%, rgba(255, 200, 50, 0.10) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

.offer__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.75rem;
  padding: 2.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Golden Glass Card ── */
.offer__data {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.1rem;
  padding: 2.4rem 2rem;
  flex: 1 1 200px;
  max-width: 255px;
  min-width: 190px;

  /* Molten glass base */
  background:
    linear-gradient(145deg,
      rgba(255, 220, 100, 0.18) 0%,
      rgba(200, 140, 20, 0.10) 40%,
      rgba(120, 70, 0, 0.12) 100%);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);

  /* Layered borders: top-left reflection + outer gold rim */
  border: 1px solid rgba(255, 210, 80, 0.38);
  border-radius: 1.5rem;

  /* Inner top highlight (glass reflection) */
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 160, 0.55),
    inset 1px 0 0 rgba(255, 230, 100, 0.18),
    inset 0 -1px 0 rgba(120, 60, 0, 0.25),
    0 6px 32px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(180, 110, 0, 0.22),
    0 2px 60px rgba(180, 120, 0, 0.12);

  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.22, .68, 0, 1.2),
    box-shadow 0.35s ease,
    background 0.35s ease;
}

/* Gleam sweep on hover */
.offer__data::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(105deg,
      transparent 0%,
      rgba(255, 245, 180, 0.18) 45%,
      rgba(255, 255, 220, 0.32) 50%,
      rgba(255, 245, 180, 0.18) 55%,
      transparent 100%);
  transform: skewX(-15deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.offer__data:hover::before {
  left: 130%;
}

.offer__data:hover {
  transform: translateY(-8px) scale(1.02);
  background:
    linear-gradient(145deg,
      rgba(255, 230, 110, 0.26) 0%,
      rgba(210, 150, 25, 0.15) 45%,
      rgba(130, 75, 0, 0.16) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 170, 0.7),
    inset 1px 0 0 rgba(255, 230, 100, 0.25),
    inset 0 -1px 0 rgba(120, 60, 0, 0.3),
    0 12px 48px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(210, 140, 0, 0.45),
    0 0 40px rgba(200, 130, 0, 0.3),
    0 0 80px rgba(180, 100, 0, 0.15);
}

/* ── Titles ── */
.offer__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 235, 140, 0.9);
  text-shadow: 0 1px 8px rgba(200, 130, 0, 0.5);
  margin: 0;
}

.offer__data a i {
  font-size: 3rem !important;
}

/* ── Icon Buttons ── */
.offer__data a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 210, 80, 0.55);
  background: linear-gradient(145deg,
      rgba(255, 225, 100, 0.22) 0%,
      rgba(180, 110, 10, 0.18) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 150, 0.5),
    0 3px 14px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(190, 120, 0, 0.15);
  transition: transform 0.3s cubic-bezier(.22, .68, 0, 1.35),
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.offer__data a.button:hover {
  transform: scale(1.18);
  background: linear-gradient(145deg,
      rgba(255, 235, 120, 0.38) 0%,
      rgba(200, 130, 20, 0.30) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 180, 0.7),
    0 4px 20px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(220, 155, 0, 0.45),
    0 0 56px rgba(180, 110, 0, 0.2);
}

.offer__data a i {
  font-size: 1.55rem;
  color: rgba(255, 220, 80, 0.95);
  filter: drop-shadow(0 0 6px rgba(200, 140, 0, 0.6));
  transition: filter 0.3s ease, color 0.3s ease;
}

.offer__data a.button:hover i {
  color: #fff8d0;
  filter: drop-shadow(0 0 10px rgba(255, 210, 80, 0.9));
}

/* ── Rep Card (last child) ── */
.offer__data:last-child {
  gap: 0.7rem;
  padding: 2.2rem 1.8rem 2.4rem;
}

.moh_img {
  width: 160px;
  height: 160px;
  border-radius: 2rem;
  object-fit: cover;
  border: 2.5px solid rgba(255, 210, 80, 0.65);
  box-shadow:
    0 0 0 4px rgba(200, 130, 10, 0.15),
    0 0 28px rgba(200, 140, 0, 0.45),
    0 4px 20px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(.22, .68, 0, 1.2);
}

.offer__data:last-child:hover .moh_img {
  transform: scale(1.07);
  box-shadow:
    0 0 0 5px rgba(210, 150, 10, 0.25),
    0 0 40px rgba(220, 160, 0, 0.6),
    0 4px 28px rgba(0, 0, 0, 0.65);
}

.offer__data:last-child h2:first-of-type {
  font-size: 0.85rem;
  color: rgba(255, 225, 130, 0.7);
  letter-spacing: 0.04em;
  margin: 0;
}

.moh_name {
  font-size: 1.4rem !important;
  font-weight: 700;
  color: rgba(255, 235, 140, 0.95);
  text-shadow: 0 1px 10px rgba(200, 130, 0, 0.55);
  margin: 0;
  letter-spacing: 0.03em;
}

/* ── Responsive ── */
@media screen and (max-width: 768px) {
  .offer__container {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 1rem;
  }

  .offer__data {
    width: 100%;
    max-width: 340px;
    flex: unset;
    min-width: unset;
  }
}

/*=============== LOGOS ===============*/
.logo__img {
  width: 60px;
  opacity: 0.4;
  transition: .3s;
  filter: sepia(0.5) hue-rotate(10deg) saturate(1.5);
}

.logos__container {
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding-bottom: 2rem;
}

.logo__img:hover {
  opacity: 1;
  filter: sepia(1) hue-rotate(10deg) saturate(2) brightness(1.2);
}

/*=============== DRs (Teachers) ===============*/
.Teachers .section__title {
  margin-top: 2rem;
}

.product__container {
  grid-template-columns: repeat(1, 1fr);
  gap: 5rem 1.5rem;
  padding-top: 3rem;
}

.products__card {
  position: relative;
  height: 350px;
  background: var(--gold-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--gold-border);
  padding: 0.75rem;
  display: grid;
  border-radius: 2rem;
  box-shadow: 0 8px 28px hsla(46, 100%, 30%, 0.15);
}

.products__img {
  width: 80px;
  position: absolute;
  inset: 0;
  margin-left: auto;
  margin-right: auto;
}

.products__content {
  align-self: flex-end;
}

.products__button {
  position: absolute;
  left: -2rem;
  top: 0rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: var(--gold-glass-strong);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  cursor: pointer;
  transition: 0.3s;
}

.products__button:hover {
  background: hsla(46, 100%, 50%, 0.5);
  box-shadow: 0 0 14px var(--gold-glow);
}

.Worked {
  display: flex;
  text-align: end;
  margin-right: 1.4rem;
  color: var(--gold-light);
}

.products__title {
  font-size: 1.5rem;
  text-align: center;
  color: var(--gold-primary);
}

.products__price {
  display: block;
  text-align: center;
  color: var(--gold-light);
  font-size: 1.1rem;
  padding: 0.75rem 0.5rem;
}

.questions__content {
  overflow: hidden;
  height: 0;
}

/*=============== FAQ ===============*/
.questions__container {
  gap: 1.5rem;
  padding: 1.5rem;
}

.questions__group {
  display: grid;
  row-gap: 1.5rem;
}

.questions__item {
  background: var(--gold-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-radius: 2rem;
  text-align: right;
  transition: 0.3s;
}

.questions__icon {
  font-size: 1.25rem;
  color: var(--gold-primary);
}

.questions__dec {
  font-size: 1.2rem;
  padding: 0 1.25rem 1.25rem 2.2rem;
  color: var(--text-color);
}

.questions__header {
  display: flex;
  align-items: center;
  column-gap: 1rem;
  margin: 1rem;
  color: var(--gold-primary);
}

.questions__item,
.questions__container,
.questions__dec,
.questions__content,
.questions__header {
  transition: 0.3s;
}

.questions__item:hover {
  box-shadow: 0 5px 20px hsla(46, 100%, 40%, 0.3);
  border-color: var(--gold-primary);
}

/*=============== FOOTER ===============*/
.footer {
  position: relative;
  overflow: hidden;
}

.footer .shape__big,
.footer .shape__small {
  position: absolute;
}

.footer .shape__big {
  width: 300px;
  height: 300px;
  left: -12rem;
  top: 6rem;
}

.footer .shape__small {
  right: -13rem;
  bottom: -6rem;
}

.footer__container {
  row-gap: 2.5rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  font-size: var(--h2-font-size);
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  transition: 0.3s;
  text-shadow: 0 0 12px var(--gold-glow);
}

.footer__logo i {
  font-size: 1.5rem;
}

.footer__logo:hover {
  color: var(--gold-light);
}

.footer__link {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}

.footer__link,
.footer__social-link {
  color: var(--text-color);
  transition: 0.3s;
}

.footer__link:hover,
.footer__social-link:hover {
  color: var(--gold-primary);
}

.footer__copy {
  display: block;
  margin-top: 4.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-color-light);
}

.footer__copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gold-glass-mid);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  color: var(--gold-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-left: 8px;
}

.footer__copy a:hover {
  background: hsla(46, 100%, 50%, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--gold-glow);
}

.footer__copy a i {
  font-size: 1.2rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: hsla(30, 10%, 5%, 0.5);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: var(--gold-glass-strong);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsla(46, 100%, 50%, 0.45);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background: var(--gold-glass-mid);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  display: inline-flex;
  padding: 0.45rem;
  border-radius: 999px;
  font-size: 2rem;
  color: var(--gold-primary);
  z-index: var(--z-tooltip);
  transition: 1s;
  box-shadow: 0 0 14px hsla(46, 100%, 40%, 0.2);
}

.scrollup:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0 24px var(--gold-glow);
}

.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
@media screen and (min-width: 380px) {
  .nav__logo {
    max-height: 2.5rem;
  }

}



@media screen and (min-width: 560px) {
  .about__group {
    width: 350px;
    justify-content: center;
  }

  .featured__content {
    grid-template-columns: repeat(2, 228px);
  }

  .offer__container {
    grid-template-rows: initial;
  }

  .home__image img {
    transform: scale(2.8);
  }

  .nav__logo {
    max-height: 2.5rem;
  }


}

@media (max-width: 640px) {
  .featured__img {

    left: 0.9rem;
  }

  .nav__logo img {
    height: 3rem;

  }

}

@media screen and (min-width: 701px) {
  .home__image {
    z-index: -1;
    transform: rotate(0deg);
  }

  .home__image img {
    transform: scale(2.5);
  }

  .features__map {
    width: 70%;
    right: 8rem;
  }

  .features__img {
    width: 250px;
  }

  .home__data {
    text-align: center;
  }

  .home__img {
    width: 70%;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
    justify-content: space-between;
    align-items: center;
  }

  .nav__menu {
    margin-left: auto;
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
    padding-top: 0;

  }

  .nav__link {
    font-size: var(--normal-font-size);
    text-transform: initial;
  }

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

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

  .offer__img {
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    left: 80%;
    transform: translateX(-50%);
    bottom: 100px;
    margin-top: 2rem;
  }

  .offer__container {
    grid-template-columns: repeat(1, 1fr);
    column-gap: 5rem;
    align-items: center;
  }

  .featured__item {
    font-size: 1rem;
    width: 80px;
    height: 50px;
    /* padding: 1rem; */
  }

  .featured__filters {
    column-gap: .7rem;
  }
}

@media screen and (min-width: 1070px) {
  .home__image img {
    transform: scale(4.5);
  }

  .features__map {
    width: 90%;
    right: 4rem;
    padding: 2rem;
  }

  .home__button {
    padding: 3rem;
  }

  .home__button::before {
    padding: 1rem;
  }

  .home__img {
    width: 40%;
  }

  .home__eng-icon {
    padding: 0.5rem;
    font-size: 1.5rem;
  }

  .home__eng-number {
    font-size: 2.2rem;
  }

  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .shap__big {
    width: 500px;
    height: 500px;
  }

  .shap__small {
    width: 400px;
    height: 400px;
  }

  .home__container {
    padding-top: 2rem;
  }

  .home__car {
    column-gap: 5rem;
  }

  .about__container {
    column-gap: 6rem;
    align-items: center;
  }

  .about__group,
  .about__img {
    width: 480px;
  }

  .about__dec {
    padding-right: 4rem;
    margin-bottom: 3rem;
  }

  .popular__card {
    width: 400px;
  }

  .features__img {
    width: 100%;
  }

  .featured__container {
    padding-bottom: 2.5rem;
  }

  .featured__filters {
    column-gap: 1rem;
    margin-bottom: 4.5rem;
  }

  .featured__content {
    grid-template-columns: repeat(3, 248px);
    gap: 2rem;
  }

  .offer__container {
    grid-template-columns: repeat(1, 5fr);
    column-gap: 10rem;
    align-items: center;
  }

  .offer__data,
  .offer__title {
    text-align: initial;
  }

  .popular2__card {
    width: 250px;
    max-height: 400px;
  }

  .popularBoss__card {
    max-height: 420px;
  }

  .offer__img {
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    left: 80%;
    transform: translateX(-50%);
    bottom: 100px;
    margin-top: 2rem;
  }

  .logos__container {
    grid-template-columns: repeat(6, max-content);
  }

  .footer__container {
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
  }

  .footer__logo {
    column-gap: 2rem;
  }

  .footer__logo i {
    font-size: 2rem;
  }

  .footer__link {
    row-gap: 5rem;
  }
}






/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #050505;
  color: #fff;
  font-family: 'Cairo', Arial, sans-serif;
  position: relative;
  z-index: 10;
}

.footer-top-line {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 157, 0, 0.4), transparent);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 30px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* --- Left Column --- */
.footer-col-logo {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-logo {
  height: 70px;
  object-fit: contain;
}

.footer-logo-tagline {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
  line-height: 1.8;
}

/* --- Center Column --- */
.footer-col-center {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.footer-label {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255, 166, 0, 0.6);
  text-transform: uppercase;
  font-weight: 700;
}

.footer-built-for {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
}

.footer-built-for span {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Right Column --- */
.footer-col-right {
  flex: 1;
  min-width: 200px;
  text-align: right;
}

.footer-made-by {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: rgba(255, 166, 0, 0.6);
}

.footer-links a i {
  margin-right: 5px;
}

/* --- Bottom Bar --- */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 30px;
  text-align: center;
}

.footer-copyright {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1.5px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: rgba(255, 166, 0, 0.6);
}





/* ===== HOME SECTION RESPONSIVE ===== */

/* --- Base home layout (desktop) --- */

/* --- Tablet (≤768px) --- */
@media screen and (max-width: 768px) {
  .home__center {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .home__eng-data {
    justify-content: center;
  }

  .home__img {
    width: 140px;
  }

  .home__eng-number {
    font-size: 0.95rem;
  }

  .home.shap__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .home__center {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
  }

  .home__img {
    width: 180px;
    height: auto;
    flex-shrink: 0;
  }

  .home__right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .home__eng {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .home__eng-data {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .home__eng-number {
    font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  }
}

/* --- Mobile (≤480px) --- */
@media screen and (max-width: 480px) {
  .home.shap__container {
    padding: 1.2rem 1rem;
    gap: 1rem;
  }

  .home__img {
    width: 220px;
  }

  .home__eng-number {
    font-size: 0.82rem;
  }

  .home__eng-data {
    flex-wrap: wrap;
    justify-content: center;
  }

  .home__image img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    transform: scale(2.5);
  }

}