/* Start varibles */

:root {
  /* New Color Palette */
  --primary-green: #0C6D3E;
  --deep-gray: #2F2F2F;
  --soft-gray: #A9A9A9;
  --highlight-orange: #D46B2A;
  --light-sage: #E4ECE7;
  --pure-white: #FFFFFF;

  /* Gradients & Old Variables (Updated) */
  --main-color-gradient: linear-gradient(to right, var(--primary-green), var(--deep-gray));
  --secondry-color-gradient: linear-gradient(to right, var(--light-sage), var(--primary-green));
  --yellow-color: var(--highlight-orange); /* Mapped to highlight orange */
  --bluedark-color: var(--deep-gray); /* Mapped to deep gray */
  --bluelight-color: var(--light-sage); /* Mapped to light sage */
  --footer-bg: #f8f9fa;
  --footer-text: #333;
}

/* End varibles */

/* Start Global rules */

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

body {
  user-select: none;
  cursor: default;
}

/* Scroll Progress Bar */
#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--highlight-orange);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s ease-out;
}



/* End Global rules */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px); /* ✅ التأثير هنا */
  background-color: rgba(255, 255, 255, 0.6); /* شفافية خفيفة */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* New Heartbeat Preloader */
.heartbeat-loader {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.heartbeat-svg {
  width: 100%;
  height: 100%;
  position: absolute;
}

.heartbeat-path {
  stroke: var(--primary-green);
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-heartbeat 2s ease-in-out infinite;
}

.heart-icon {
  color: var(--highlight-orange);
  font-size: 2rem;
  animation: pulse-heart 1s infinite;
}

@keyframes draw-heartbeat {
  0% {
    stroke-dashoffset: 1000;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -1000;
  }
}

@keyframes pulse-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Start fonts */

@font-face {
  font-family: "BeeatyWeather";
  src: url("../fonts/BeeatyWeather-Light.woff2") format("woff2"),
    url("../fonts/BeeatyWeather-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BeeatyWeather";
  src: url("../fonts/BeeatyWeather-Bold.woff2") format("woff2"),
    url("../fonts/BeeatyWeather-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BeeatyWeather";
  src: url("../fonts/BeeatyWeather-LightItalic.woff2") format("woff2"),
    url("../fonts/BeeatyWeather-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "BeeatyWeather";
  src: url("../fonts/BeeatyWeather-Medium.woff2") format("woff2"),
    url("../fonts/BeeatyWeather-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BeeatyWeather";
  src: url("../fonts/BeeatyWeather-BoldItalic.woff2") format("woff2"),
    url("../fonts/BeeatyWeather-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

/* -------------------------- */

@font-face {
  font-family: "El Messiri";
  src: url("../fonts/ElMessiri-Regular.woff2") format("woff2"),
    url("../fonts/ElMessiri-Regular.woff2") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "El Messiri";
  src: url("../fonts/ElMessiri-Regular.woff2") format("woff2"),
    url("../fonts/ElMessiri-Regular.woff2") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "El Messiri";
  src: url("../fonts/ElMessiri-Bold.woff2") format("woff2"),
    url("../fonts/ElMessiri-Bold.woff2") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Expo Arabic Book";
  src: url("../fonts/ExpoArabic-Book.woff2") format("woff2"),
    url("../fonts/ExpoArabic-Book.woff2") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hacen Algeria Bd";
  src: url("../fonts/HacenAlgeriaBd.woff2") format("woff2"),
    url("../fonts/HacenAlgeriaBd.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DG Forsha Scribble";
  src: url("../fonts/DGForshaScribble.woff2") format("woff2"),
    url("../fonts/DGForshaScribble.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* End fonts */

/* Start dark mode */

#toggle {
  width: 73px;
  height: 36px;
  background: var(--secondry-color-gradient);
  box-shadow: inset 0 1px 6px 4px rgba(12, 12, 12, 0.2);
  display: flex;
  align-items: center;
  border-radius: 30px;
  padding: 0.2rem 0.2rem;
  cursor: pointer;
  position: relative;
  z-index: 99;
}

.changer span {
  width: 30px;
  height: 30px;
  background: #f1f1f1;
  border-radius: inherit;
  box-shadow: inset 0 1px 6px 4px rgba(13, 13, 13, 0.3),
    0 1px 6px 1px rgba(11, 11, 76, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

span svg {
  font-size: 1.5rem;
  color: rgba(210, 35, 42, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.76, 0, 0.24, 1);
}

@media only screen and (max-width: 991px) {
  #toggle {
    width: 60px;
    height: 27px;
  }

  .changer span {
    width: 23px;
    height: 23px;
  }
}

#shape {
  clip-path: circle(0% at 50% 50%);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}

/* dark */

#toggle.change {
  background: var(--main-color-gradient);
}

#shape.change {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: circle(100% at 50% 50%);
  z-index: 1;
}

span.change {
  background: #f1f1f1;
  transform: translateX(37px);
}

@media only screen and (max-width: 991px) {
  span.change {
    transform: translateX(32px);
  }
}

.moon {
  font-size: 1.7rem;
  color: rgba(210, 35, 42, 1);
  opacity: 1;
}

@media only screen and (max-width: 991px) {
  .moon {
    font-size: 1.2rem;
  }
}

.moon.change {
  font-size: 0;
  opacity: 0;
}

.sun {
  font-size: 0;
  opacity: 0;
}

.sun.change {
  font-size: 1.7rem;
  color: var(--bluelight-color);
  opacity: 1;
}

@media only screen and (max-width: 991px) {
  .sun.change {
    font-size: 1.2rem;
  }
}

/* End dark mode */

/* Start spsial heading */

.speacial-heading p {
  font-family: "DG Forsha Scribble";
  font-family: "BeeatyWeather";
  font-weight: bold;
  /* font-style: italic; */
  text-align: center;
  font-size: 60px;
  margin: 50px 0;
}
.speacial-heading p span{
  margin: 0 2px;
}

@media only screen and (max-width: 575px) {
  .speacial-heading p {
    font-size: 40px;
  }
}

.speacial-heading p .yellow {
  color: var(--yellow-color);
  position: relative;
}

.speacial-heading p .yellow::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--yellow-color);
}

.speacial-heading p .blue {
  background: var(--main-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  position: relative;
}

.speacial-heading p .blue::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--main-color-gradient);
}

/* End spsial heading */

/* Start call us */

.call-us {
  position: fixed;
  bottom: 30px;
  right: 15px;
  z-index: 1000;
}

.Btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  position: relative;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s;
}

.svgContainer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  backdrop-filter: blur(0px);
  letter-spacing: 0.8px;
  border-radius: 50px;
  transition: all 0.3s;
  border: 2px solid rgba(156, 156, 156, 0.466);
}

.BG {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--main-color-gradient);
  z-index: -1;
  border-radius: 50px;
  pointer-events: none;
  transition: all 0.3s;
}

.Btn:hover .BG {
  transform: rotate(35deg);
  transform-origin: bottom;
}

.Btn:hover .svgContainer {
  background-color: rgba(156, 156, 156, 0.466);
  backdrop-filter: blur(4px);
}

/* End call us */



/* Start navbar side */

.user-menu {
  padding-left: 40px;
  border-radius: 25px;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  background: #f3f4f6;
  box-shadow: 0 0 0px 2px rgba(0, 0, 0, 0.1);
}

.user-icon {
  color: var(--bluedark-color);
  font-size: 18px;
  padding: 3px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: 2px;
  cursor: pointer;
}

.user-menu::before {
  content: "\f13a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bluelight-color);
  font-size: 23px;
  transition: 0.5s;
}

.user-menu.open::before {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-content {
  position: absolute;
  top: 64px;
  right: 0;
  background-color: #f3f4f6;
  min-width: 200px;
  border-radius: 10px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  text-align: right;
  z-index: 999;
}

.dropdown-content svg {
  color: var(--bluelight-color);
}

.box-shadow {
  box-shadow: 0 0 0px 2px rgba(0, 0, 0, 0.1);
}

.dropdown-content.open {
  max-height: 500px; /* يفضل يكون أكبر من المحتوى المحتمل */
}

.dropdown-content a {
  padding: 10px 15px;
  text-decoration: none !important;
  color: #000;
  display: block;
  transition: background-color 0.3s;
  font-family: "Expo Arabic Book";
  font-weight: normal;
  font-size: 17px;
}

.dropdown-content a:hover {
  background-color: var(--yellow-color);
  background: var(--bluelight-color);
  color: #fff;
}

.dropdown-content a:hover svg {
  color: var(--bluedark-color);
}

/* End navbar side */

/* Start header home section */

.header-home {
  margin-top: 150px;
}

.header-home .content {
  display: flex;
  flex-direction: column;
  /* align-items: center;
  justify-content: center; */
}

.header-home h3 {
  font-family: "DG Forsha Scribble";
  color: var(--bluelight-color);
  margin: 0;
  padding: 20px;
  padding-right: 0px;
  font-size: 40px;
  text-align: right;
}

@media only screen and (max-width: 767px) {
  .header-home {
    margin-top: 120px;
  }
  .header-home h3 {
    font-size: 35px;
    padding: 10px;
  }
}

.header-home h3 span {
  /* background: var(--main-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; */
  color: var(--yellow-color);
}

.header-home h3 .icon {
  font-family: "Expo Arabic Book";
}

@media only screen and (max-width: 991px) {
  .header-home h3 {
    font-size: 30px;
  }
}

.header-home p {
  font-family: "Expo Arabic Book";
  font-weight: bold;
  color: var(--yellow-color);
  color: #000;
  font-size: 22px;
  text-align: right;
}

.header-home p span {
  background: var(--main-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@media only screen and (max-width: 991px) {
  .header-home p {
    font-size: 17px;
  }
}

.header-home .content a {
  text-decoration: none !important;
  color: var(--bluelight-color);

  font-family: "El Messiri";
  font-weight: bold;
  font-size: 18px;
  background-color: var(--yellow-color);
  width: fit-content;
  text-align: right;
  padding: 7px 15px;
  border-radius: 10px;
  border: 4px solid var(--bluelight-color);
  margin: 30px 0px;
}
.header-home .content a:hover {
  background-color: var(--bluelight-color);
  color: var(--yellow-color);
  border: 4px solid var(--yellow-color);
}

@media only screen and (max-width: 991px) {
  .header-home .main-img-home {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .header-home .main-img-home img {
    width: 320px;
  }
}
.main-img-home img {
  width: 450px;
  border-radius: 15px;
}

.main-img-home h2 {
  font-family: "dg forsha scribble";
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  color: var(--bluelight-color);
  padding: 10px 20px;
  margin: 0;
  border-radius: 50px;
  font-size: 2.5rem;
  text-align: center;
  z-index: 5;
  width: auto;
  white-space: nowrap;
}

@media only screen and (max-width: 991px) {
  .main-img-home h2 {
    font-size: 2rem;
    bottom: 15px;
  }
}

@media only screen and (max-width: 767px) {
  .main-img-home h2 {
    font-size: 1.8rem;
    bottom: 10px;
  }
}

@media only screen and (max-width: 575px) {
  .main-img-home h2 {
    font-size: 1.5rem;
    bottom: 5px;
  }
}

@media only screen and (max-width: 400px) {
  .main-img-home h2 {
    font-size: 1.3rem;
    padding: 8px 15px;
  }
}

.main-img-home h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 25px;
  background: var(--yellow-color);
  border-radius: 30px;
  z-index: -1;
}

/* end header home section */

/* Strat about hom section */

.box-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
  font-family: "Expo Arabic Book";
  background-color: var(--yellow-color);
  border-radius: 15px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  border: 4px var(--bluelight-color) solid;
  text-align: center;
  margin-bottom: 20px;
}

.icon-about ion-icon {
  font-size: 50px;
  color: #fff;
}

.box-about h4 {
  font-size: 30px;
  color: var(--bluelight-color);
  font-family: el Messiri;
  font-weight: bold;
}

.box-about:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.box-about p {
  font-size: 18px;
  color: #000;
  margin: 0px 10px;
}
@media only screen and (max-width: 991px) and (min-width: 767px) {
  .box-about h4 {
    font-size: 25px;
  }
  .box-about p {
    font-size: 18px;
  }
}
@media only screen and (max-width: 575px) {
  .box-about h4 {
    font-size: 22px;
  }
  .box-about p {
    font-size: 16px;
  }
  .icon-about {
    font-size: 40px;
  }
}
@media only screen and (max-width: 400px) {
  .box-about h4 {
    font-size: 20px;
  }
  .box-about p {
    font-size: 14px;
  }
  .icon-about {
    font-size: 35px;
  }
}

/* End about hom section */

/* Start acdmic year section home  */

.box-year {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
  font-family: "Expo Arabic Book";
  background-color: var(--bluelight-color);
  border-radius: 15px;
  box-shadow: 3px 2px 14px 5px var(--bluelight-color);
  border: 4px var(--yellow-color) solid;
  text-align: center;
  margin-bottom: 20px;
  padding: 15px;
}

.box-year img {
  width: 100%;
  border-radius: 15px;
  border: 2px var(--yellow-color) dashed;
}

.box-year h2 {
  font-size: 70px;
  color: var(--yellow-color);
  color: #fff;
  font-family: "BeeatyWeather";
  font-weight: bold;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

@media only screen and (max-width: 991px) and (min-width: 767px) {
  .box-year h2 {
    font-size: 50px;
  }
}

@media only screen and (max-width: 575px) {
  .box-year h2 {
    font-size: 53px;
  }
}

@media only screen and (max-width: 400px) {
  .box-year h2 {
    font-size: 45px;
  }
}

.box-year h2::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 15px;
  background: #fff;
  background: var(--yellow-color);
  border-radius: 30px;
  z-index: -1;
}

@media only screen and (max-width: 575px) {
  .box-year h2::after {
    bottom: 15px;
    height: 10px;
  }
}

/* End acdmic year section home  */

/* Start select teacher home section */

.custom-dropdowns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px;
  background: var(--bluelight-color);
  border-radius: 15px;
  font-family: "El Messiri";
  width: fit-content;
  margin: auto;
  text-align: right;
}

.custom-dropdown {
  position: relative;
  cursor: pointer;
  width: fit-content;
}

.custom-dropdown:nth-of-type(2) {
  width: fit-content;
}

@media only screen and (max-width: 575px) {
  .custom-dropdown {
    width: fit-content;
  }
  .custom-dropdown:nth-of-type(2) {
    width: fit-content;
  }
}

.custom-dropdown .selected {
  padding: 6px;
  padding-left: 35px;
  padding-right: 10px;
  background: #fff;
  border-radius: 30px;
  position: relative;
  font-size: 18px;
  color: #000;
  border: 2px solid transparent;
  transition: 0.3s;
  text-align: center;
  width: fit-content;
}

@media only screen and (max-width: 575px) {
  .custom-dropdown .selected {
    font-size: 14px;
  }
}

.custom-dropdown .selected::before {
  content: "\f13a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yellow-color);
  font-size: 20px;
  transition: 0.3s;
}

.custom-dropdown.active-select .selected {
  border-color: var(--bluedark-color);
}

.custom-dropdown.active-select .selected::before {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  max-height: 0;
  transition: max-height 0.3s ease;
  z-index: 10;
}

.custom-dropdown.active-select .dropdown-options {
  max-height: 300px;
  overflow: auto;
  width: 100%;
}

.dropdown-options li {
  padding: 10px 15px;
  transition: 0.2s;
  font-size: 16px;
}

.dropdown-options li:hover {
  background: var(--yellow-color);
  color: #000;
}

.seclect-teacher-home .card-teacher {
  display: flex;
  justify-content: center;
}

.seclect-teacher-home .teacher {
  background: var(--bluelight-color);
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  margin-top: 50px;
}
@media only screen and (max-width: 575px) {
  .seclect-teacher-home .teacher {
    width: 80%;
  }

  .dropdown-options li {
    font-size: 14px;
  }
}

.seclect-teacher-home .teacher img {
  width: 88%;
  border-radius: 15px;
}

.seclect-teacher-home .teacher h3 {
  font-family: "DG Forsha Scribble";
  color: var(--yellow-color);
  margin-top: 5px;
  font-size: 25px;
}

@media only screen and (max-width: 991px) and (min-width: 767px) {
  .seclect-teacher-home .teacher h3 {
    font-size: 23px;
  }

  .seclect-teacher-home .teacher p {
    font-size: 20px;
  }
}

.seclect-teacher-home .teacher h3 span {
  color: #fff;
}

.seclect-teacher-home .teacher p {
  font-family: "Expo Arabic Book";
  font-size: 22px;
  margin: 0;
}

/* End select teacher home section */

/* Start courses section home */

.courses-home .speacial-heading {
  margin-top: 50px;
}

.courses-home .speacial-heading p {
  width: fit-content;
  margin: auto;
  position: relative;
  padding-right: 85px;
}
.courses-home .speacial-heading img {
  width: 100px;
  position: absolute;
  top: -10px;
  right: 0;
  z-index: -1;
}

@media only screen and (max-width: 575px) {
  .courses-home .speacial-heading p {
    font-size: 35px;
    padding-right: 60px;
  }

  .courses-home .speacial-heading img {
    width: 70px;
    top: -10px;
    right: 0;
  }

  .courses-home .speacial-heading p {
    margin-bottom: 20px;
  }
}

.courses-home .coat p {
  font-family: "El Messiri";
  font-weight: bold;
  text-align: center;
  font-size: 21px;
  line-height: 1.1;
  margin-top: 30px;
  margin-bottom: 30px;
}

@media only screen and (max-width: 575px) {
  .courses-home .coat p {
    font-size: 16px;
    line-height: 1.1;
    margin-top: 10px;
  }
}

.courses-home .coat p span {
  font-family: "DG Forsha Scribble";
  background: var(--main-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.course {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  margin-top: 0px;
}

.card-course {
    padding-right: 5px;
    padding-left: 5px;
}

.course img {
  width: 100%;
  border-radius: 30px;
  border: 4px double var(--bluelight-color);
}

.content-course {
  width: 90%;
  position: relative;
  top: -50px;
  background: var(--bluelight-color);
  border-radius: 25px;
  padding: 10px;
  border: 4px double var(--yellow-color);
}

.content-course h4 {
  font-family: "DG Forsha Scribble";
  color: #fff;
  text-align: right;
  font-size: 22px;
  padding-bottom: 5px;
}

.content-course hr {
  border: none;
  width: 70%;
  height: 4px;
  margin: auto;
  background: black;
}

.content-course .number-lect {
  font-family: "Expo Arabic Book";
  font-weight: bold;
  text-align: center;
  padding: 5px 0px;
  margin: 0;
  font-size: 20px;
  color: var(--yellow-color);
}

.data-course {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.data-course .price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: fit-content;
  gap: 4px;
  font-family: "Hacen Algeria Bd";
  padding: 4px 6px;
  background: #fff;
  border-radius: 25px;
  font-size: 17px;
  margin: 5px 0px;
  color: black;
}

.data-course .price span {
  background: var(--yellow-color);
  border-radius: 20px;
  padding: 0px 8px;
}

.data-course .price-free {
  font-family: "El Messiri";
  font-weight: bold;
  display: flex;
  justify-content: center;
  gap: 4px;
  align-items: center;
  background: var(--secondry-color-gradient);
  color: #fff;
  padding: 5px 7px;
  border-radius: 20px;
}

.data-course .price-del {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-family: "Hacen Algeria Bd";
  padding: 4px 6px;
  background: #fff;
  border-radius: 25px;
  font-size: 17px;
  margin: 5px 0px;
}

.data-course .price-del span {
  background: var(--secondry-color-gradient);
  color: #fff;
  text-decoration: line-through;
  border-radius: 20px;
  padding: 0px 8px;
}

.info-course p {
  font-family: "Expo Arabic Book";
  font-size: 15px;
  /* display: inline-flex; */
  align-items: center;
  gap: 9px;
  margin: 0;
  margin-top: 7px;
  color: var(--yellow-color);
}

@media only screen and (max-width: 400px) {
  .info-course p {
    font-size: 13px;
  }
}

.info-course p svg {
  color: #fff;
}

.course-subscription {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 10px;
}

.course-subscription .check {
  font-family: "El Messiri";
  font-weight: bold;
  text-decoration: none;

  background: #fff;
  padding: 3px 6px;
  margin: 0;
  border-radius: 15px;
  font-size: 15px;
  color: var(--bluedark-color);
  border: 3px var(--yellow-color) solid;
}

.course-subscription .check:hover {
  background: var(--bluedark-color);
  color: #fff;
}

.course-subscription .subscription {
  font-family: "El Messiri";
  font-weight: bold;
  text-decoration: none;
  background: var(--bluedark-color);
  padding: 3px 7px;
  margin: 0;
  border-radius: 15px;
  font-size: 15px;
  color: #fff;
  border: 3px var(--yellow-color) solid;
}

.course-subscription .subscription:hover {
  background: #fff;
  color: var(--bluedark-color);
}

/* End courses section home */

/* Start footer section home */

.footer-home {
  background-color: var(--footer-bg);
  padding: 40px 0;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-home .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
}

.footer-home .social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--main-color-gradient);
  color: white;
  font-size: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-home .social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-home .coat {
  font-size: 24px;
  color: var(--bluedark-color);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.footer-home .info {
  font-size: 18px;
  color: var(--footer-text);
  margin-bottom: 0;
}

.footer-home .info .phone {
  color: var(--bluedark-color);
  font-weight: 700;
  display: inline-block;
  margin-right: 5px;
}

/* End footer section home */

/* Make card images resilient: ensure any image fits its card without breaking layout */
.box-year img,
.box-about img,
.main-img-home img {
  display: block; /* remove inline gaps */
  width: 100%;
  height: 220px; /* fixed card preview height */
  object-fit: cover; /* crop to fill while preserving aspect */
  object-position: center center;
  border-radius: 8px;
}

/* Larger main hero image */
.main-img-home img {
  height: 360px;
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
  .box-year img,
  .box-about img {
    height: 180px;
  }
  .main-img-home img {
    height: 260px;
  }
}

@media only screen and (max-width: 575px) {
  .box-year img,
  .box-about img {
    height: 140px;
  }
  .main-img-home img {
    height: 200px;
  }
}

/* Hero wrapper & non-cropping hero image
   Use this wrapper to avoid cropping important parts (e.g., face) in portrait images.
   The wrapper provides a fixed visual box while the image uses object-fit:contain
   and object-position:top to keep the head visible. */
.main-img-home {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-img-home .hero-wrapper {
  width: 100%;
  height: auto;
  max-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: transparent;
  border-radius: 8px;
  padding: 0;
  margin: 0;
}

.main-img-home .hero-wrapper img.hero-image {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: center;
  display: block;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

/* Add z-index to text content and move it down */
.header-home .content {
  position: relative;
  z-index: 1;
  margin-top: 140px;
  padding-right: 20px;
}

@media only screen and (max-width: 991px) {
  .header-home .content {
    margin-top: 30px;
    padding: 0 15px;
    text-align: center;
  }

  .main-img-home .hero-wrapper {
    max-height: 360px;
  }

  .main-img-home .hero-wrapper img.hero-image {
    max-height: 360px;
    width: 90%;
  }
}

@media only screen and (max-width: 767px) {
  .header-home .content {
    margin-top: 20px;
  }

  .main-img-home .hero-wrapper {
    max-height: 300px;
  }

  .main-img-home .hero-wrapper img.hero-image {
    max-height: 300px;
    width: 85%;
  }
}

@media only screen and (max-width: 575px) {
  .header-home .content {
    margin-top: 15px;
  }

  .main-img-home .hero-wrapper {
    max-height: 250px;
  }

  .main-img-home .hero-wrapper img.hero-image {
    max-height: 250px;
    width: 80%;
  }
}

/* New icon-based audience cards */
.box-year { text-align: center; padding: 18px 12px; }
.box-year .box-year-icon { display:flex; flex-direction:column; align-items:center; gap:10px; }
.box-year .icon-circle{
  width:120px;
  height:120px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%); /* stronger green */
  color: #fff;
  box-shadow: 0 8px 24px rgba(27,94,32,0.16);
  font-size: 44px;
}
.box-year .icon-circle ion-icon{ font-size:56px; color:#fff; }
.box-year h2{ 
  margin:12px 0 8px; 
  font-size:28px; 
  color: #0b2b1a; 
  font-weight:700;
  font-family: "El Messiri", sans-serif;
}
.box-year .small-desc{ 
  color: #1b5e20; 
  font-size:17px; 
  margin:0 6px; 
  line-height:1.5;
  font-family: "Expo Arabic Book", sans-serif;
}

@media only screen and (max-width:575px){
  .box-year .icon-circle{ width:100px; height:100px; }
  .box-year h2{ font-size:24px; }
  .box-year .small-desc{ font-size:15px; }
  .box-year .icon-circle ion-icon{ font-size:44px; }
}

/* New Styles for index.html */

.main-container {
    display: flex;
    flex-direction: column;
    min-height: 80vh; /* Use min-height to allow content to grow */
}

.hero-split-section {
    display: flex;
    flex: 1; /* Allows the section to fill the available space */
    width: 100%;
    align-items: center; /* Vertically center content */    
    padding: 0 40px;
}

.hero-image-pane {
    flex: 0 0 40%; /* Takes 40% of the width, doesn't grow or shrink */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: slideInFromRight 1s ease-out;
}

.doctor-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;    
}

.doctor-image-wrapper {
    position: relative;
    padding: 8px; /* تخفيف سمك الإطار */
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-green), var(--light-sage)); /* تدرج ألوان أهدأ */
}

@keyframes rotate-frame {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.doctor-image {
    max-width: 250px; /* تنحيف الشكل البيضاوي */
    height: auto;
    background-color: transparent; /* Ensure clean background */
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    display: block; /* To ensure it fits well inside the wrapper */
    border: 4px solid var(--pure-white); /* To create a small separation from the frame */
    /* The pulse animation is removed to focus on the frame rotation */
}

@keyframes doctor-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 35px rgba(106, 166, 133, 0.15);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    }
}

.doctor-title {
    margin-top: 1.5rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: var(--deep-gray);
}

.doctor-title .name {
    font-family: "DG Forsha Scribble";
    font-weight: normal;
    font-size: 2rem;
    margin: 0;
    color: var(--deep-gray);
    position: relative;
    padding-bottom: 10px;
}

.doctor-title .name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 2px;
}

.doctor-title .specialty {
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--soft-gray);
}

.hero-text-pane {
    flex: 1; /* Takes the remaining space */
    display: flex;
    justify-content: center;
    align-items: center;    
    padding: 20px;
    animation: fadeIn 1.2s ease-out;
}

.hero-text-content {
    max-width: 600px;
    text-align: right;
    animation: fadeIn 1.2s ease-out 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInFromRight { from { transform: translateX(50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.hero-text-content h1 {
    font-family: 'Aref Ruqaa', serif; /* استخدام خط الرقعة */
    font-weight: 700;
    font-size: 2.5rem; /* تصغير حجم الخط قليلاً */
    color: var(--deep-gray);
    line-height: 1.6; /* زيادة تباعد الأسطر */
}

.hero-text-content h1 .highlight {
    color: var(--primary-green);
}

.hero-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    color: var(--deep-gray);
}

.feature-item i {
    color: var(--primary-green);
    font-size: 1.3rem;
}

.hero-cta-container {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 20px;
}

.text-cta {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-green);
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.text-cta:hover {
    color: var(--highlight-orange);
}

.hero-text-content .signature {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem; /* 16px */
    color: var(--soft-gray);
    margin-top: 2rem;
    background-color: var(--light-sage);
    padding: 10px 15px;
    border-radius: 8px;
    border-right: 3px solid var(--primary-green);
}

/* Cards Section */
.cards-section {
    padding: 80px 0;
    background-color: var(--pure-white);
}

.cards-section .section-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--deep-gray);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.cards-section .section-title .highlight {
    color: var(--primary-green);
}

.cards-section .section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-green);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.program-card {
    display: block;
    text-decoration: none !important;
    color: inherit;
    border: 2px solid var(--light-sage);
    border-radius: 15px;
    padding: 30px;
    text-align: right;
    height: 100%;
    transition: all 0.4s ease-in-out;
    margin-bottom: 20px;
    background-color: var(--pure-white);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(47, 47, 47, 0.08);
    border-color: var(--primary-green);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.program-card:hover .card-icon {
    transform: rotate(-10deg) scale(1.1);
}

.card-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--deep-gray);
    margin-bottom: 10px;
}

.card-text {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: var(--deep-gray);
    line-height: 1.6;
    min-height: 70px;
}

.card-cta {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    color: var(--highlight-orange);
    margin-top: 20px;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-split-section {
        flex-direction: column-reverse; /* Stack image on top of text */
        text-align: center;
    }
    .hero-image-pane, .hero-text-pane {
        flex: 1 1 100%; /* Allow them to grow and shrink */
        padding: 20px;
    }
    .hero-text-content {
        max-width: 100%;
        text-align: center;
    }
    .program-card {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .hero-text-content h1 {
        font-size: 2.2rem;
    }
    .hero-text-content .subtitle {
        font-size: 1.1rem;
    }
    .doctor-image {
        max-width: 250px;
    }
}

/* --- New CTA Button in Navbar --- */
.main-cta-container {
    display: flex;
    align-items: center;
}

.main-cta-button {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--pure-white);
    background-color: var(--highlight-orange);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    animation: pulse-animation 2.5s infinite;
    box-shadow: 0 4px 15px rgba(212, 107, 42, 0.3);
}

.main-cta-button:hover {
    transform: translateY(-3px);
    background-color: #e57c3f; /* A slightly lighter orange for hover */
    box-shadow: 0 8px 25px rgba(212, 107, 42, 0.4);
    color: var(--pure-white);
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(212, 107, 42, 0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 20px rgba(212, 107, 42, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(212, 107, 42, 0.3);
    }
}

@media (max-width: 767px) {
    .main-cta-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .links {
        padding: 10px 0;
    }
}

/* --- About Doctor Section --- */
.about-doctor-section {
    padding: 120px 0;
    background-color: transparent;
}

.about-doctor-image {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-doctor-image .doctor-photo {
    width: 85%;
    height: 85%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.5s ease-out;
}

.about-doctor-image:hover .doctor-photo {
    transform: scale(1.03);
}

.floating-shape {
    position: absolute;
    border-radius: 30%;
    transition: transform 0.5s ease-out;
}

.shape-1 {
    width: 70%;
    height: 70%;
    background: var(--light-sage);
    top: 0;
    left: 0;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 50%;
    height: 50%;
    background: rgba(212, 107, 42, 0.2); /* Highlight Orange with transparency */
    bottom: 5%;
    right: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 25%;
    height: 25%;
    background: rgba(106, 166, 133, 0.3); /* Primary Green with transparency */
    top: 15%;
    right: 10%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    50% { transform: translateY(-20px) translateX(10px) rotate(15deg); }
}

.about-card {
    background-color: rgba(228, 236, 231, 0.1); /* Semi-transparent light sage */
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
    height: calc(50% - 12.5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-card h3 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--pure-white);
    color: var(--deep-gray);
    margin-bottom: 12px;
    padding-top: 15px; /* Add padding to not overlap with icon */
}

.about-card h3 i {
    color: var(--highlight-orange);
    position: absolute;
    top: -25px;
    right: 20px;
    font-size: 3.5rem; /* Larger icon size */
    background-color: transparent;
    padding: 0;
    transition: all 0.4s ease;
}

.about-card p {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: var(--light-sage);
    color: var(--soft-gray);
    line-height: 1.7;
    margin: 0;
}

.philosophy-quote {
    padding-top: 40px;
}

.philosophy-quote blockquote {    
    /* This style is no longer needed as we use <p> */
    margin: 0;
    padding: 0;
}

@media (max-width: 991.98px) {
    .about-doctor-image {
        margin-bottom: 40px;
    }
    .about-doctor-content .section-title {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .about-doctor-section {
        padding: 60px 0;
    }
}

/* Section Animation on Scroll */
.animated-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animated-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Button */
.scroll-button {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: var(--pure-white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: auto;
}

.scroll-button:hover {
    background: var(--highlight-orange);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-button i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Cards Section Scroll Button */
#scroll-btn-cards {
    position: absolute;
    top: -80px; /* Position above the cards section */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--highlight-orange);
    color: var(--pure-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#scroll-btn-cards:hover {
    background: var(--primary-green);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#scroll-btn-cards i {
    animation: bounce 2s infinite;
        transform: translateY(-10px);
   
}

/* Cards Section Scroll Button */
#scroll-btn-cards {
    position: absolute;
    top: -80px; /* Position above the cards section */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--highlight-orange);
    color: var(--pure-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#scroll-btn-cards:hover {
    background: var(--primary-green);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#scroll-btn-cards i {
    animation: bounce 2s infinite;
}

#scroll-btn-cards:hover {
    background: var(--primary-green);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#scroll-btn-cards i {
    animation: bounce 2s infinite;
        transform: translateY(-10px);
    }


/* Cards Section Scroll Button */
#scroll-btn-cards {
    position: absolute;
    top: -80px; /* Position above the cards section */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--highlight-orange);
    color: var(--pure-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#scroll-btn-cards:hover {
    background: var(--primary-green);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#scroll-btn-cards i {
    animation: bounce 2s infinite;
}

/* Navbar Link Hover Effect */
.navbar-nav .nav-item .nav-link {
  position: relative;
  padding: 4px 8px; /* Reduced padding for tighter spacing */
  transition: color 0.3s ease;
  color: var(--deep-gray);
  font-weight: 500;
}

.navbar-nav .nav-item .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: width 0.3s ease;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: var(--primary-green);
}

.navbar-nav .nav-item .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  width: 50%;
}

/* LTR Navbar Adjustments */
.navbar-nav {
  flex-direction: row;
}

.navbar-nav .nav-item {
  margin-left: 1rem;
  margin-right: 0;
}

.navbar-toggler {
  border: none;
  background: transparent;
}

.dropdown-menu {
  left: 0;
  right: auto;
  text-align: left;
}

@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: left;
  }
}
/* General Animation for Sections */
.animated-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animated-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Features Cards Section --- */
.features-card-section {
    padding: 60px 0;
    background-color: var(--pure-white);
}

.feature-card {
    background-color: var(--light-sage);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    height: 100%;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 40px rgba(12, 109, 62, 0.1);
}

.feature-card-icon {
    font-size: 3rem;
    color: var(--highlight-orange);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.1);
}

.feature-card-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--deep-gray);
    margin-bottom: 15px;
}

.feature-card-text {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: var(--soft-gray);
    line-height: 1.7;
    min-height: 80px;
}
