:root {
  /* Primary and Secondary Colors */
  --primary-color: #01A9F2;
  /* Main brand color */
  --secondary-color: #F7921C;
  /* Secondary accent color */

  /* Text Colors */
  --text-color: #212121;
  --text-muted-color: #777777;

  /* Background Colors */
  --background-primary-color: hsla(198, 99%, 95%, 1);
  --background-secondary-color: hsla(32, 93%, 95%, 1);
  --content-bg-color: #ffffff;
  /* Content background color */

  /* Border Color */
  --border-color: #e5cfcf;

  /* Additional Color Variables */
  --link-color: #01A9F2;
  /* Link color (same as primary) */
  --hover-color: #e57a00;
  /* Hover color for buttons and interactive elements */
}

/* Reset margin and padding for all elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Font Face Declarations */
@font-face {
  font-family: "cairo-Regular";
  src: url(../fonts/Cairo-Regular.ttf);
}

@font-face {
  font-family: "cairo-SemiBold";
  src: url(../fonts/Cairo-SemiBold.ttf);
}

@font-face {
  font-family: "cairo-Bold";
  src: url(../fonts/Cairo-Bold.ttf);
}

@font-face {
  font-family: "barada";
  src: url(../fonts/barada-reqa.ttf);
}

/* Global Body Styles */
body {
  font-size: 1rem;
  line-height: 150%;
  font-family: "cairo-Regular", sans-serif;
}

/* Text Utility Classes */
.text-muted {
  color: var(--text-muted-color) !important;
}

/* Rounded Corners Utility */
.rounded {
  border-radius: 12px !important;
}

/* Section Padding */
.section {
  padding: 60px 0;
}

/* Headings */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "cairo-Bold";
  margin: 0;
  line-height: 150%;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.8rem;
}

h5 {
  font-size: 1.3rem;
}

/* Paragraph Styles */
p {
  font-size: 1rem;
  line-height: 150%;
  color: var(--text-muted-color);
  margin: 0;
}

/* Input Placeholder Alignment */
input::placeholder {
  text-align: right;
  font-size: 1rem;
}

/* Link Styles */
a,
a:active,
a:focus,
a:hover {
  text-decoration: none;
}

a:active,
a:focus,
a:hover {
  outline: 0;
}

/* Responsive Image Styling */
img {
  max-width: 100%;
  height: auto;
}

/* List Reset */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Button Styling */
.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: max-content;
  padding: 8px 20px;
  font-size: 1rem;
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-color);
}

.navbar-custom {
  background-color: #fff;
  box-shadow: 0 2px 4px rgb(1 169 242 / 10%);
  padding: 10px 0;
}

.header-section {
  display: flex;
  align-items: center;
  background-color: hsl(198 99% 98% / 1);
  padding: 60px 0;
}

.header-content {
  padding: 2rem;
}

.header-content h1 {
  margin-bottom: 40px;
  color: var(--primary-color);
  line-height: 150%;
}

.text-primary {
  color: var(--primary-color) !important;

}

.btn-primary {
  background-color: var(--primary-color) !important;
  color: #fff !important;
}

.header-image {
  padding: 2rem;
}

.header-image img {
  width: 100%;
  height: auto;
  display: block;
}

html {
  scroll-behavior: smooth;
}

.course-card {
  border: none;
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-card .card-body {
  background: #fff;
  padding: 1rem;
}

#contact .contact-item {
  margin-bottom: 1rem;
}

#contact .contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-left: 0.5rem;
}

/* -------- الفوتر المخصص -------- */
footer.custom-footer {
  background: #343a40;
  color: #fff;
  padding: 1rem 0;
}

footer.custom-footer a {
  color: #fff;
  text-decoration: underline;
}

.courses {
  padding: 90px 0;
}

.about {
  padding: 60px 0;

}

.contact {
  padding: 60px 0;

}

.course-card {
  border-radius: 16px;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
}

.course-card .btn {
  margin-top: 20px;
  height: 40px;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.course-card .btn:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: #ffffff;
}

.title-underline {
  position: relative;
  width: max-content;
  margin: 0 auto;
}

.title-underline::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -10px;
  right: 0;
}

/* -------- Owl Carousel تعديلات -------- */
.owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 10px;
  font-size: 1rem;
}

.owl-nav button.owl-prev {
  right: 10px;
}

.owl-nav button.owl-next {
  left: 10px;
}

.section-title {
  font-size: 28px;
  color: var(--primary-color);
  position: relative;
  padding-right: 20px;
  margin-bottom: 40px;
}


/* Basic styling for the section background and spacing */



/* Form labels and fields spacing */
.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  border-radius: 6px;
  box-shadow: none;
}

/* Optional: add hover/focus effect on form controls */
.form-control:focus {
  border-color: #008C9E;
  box-shadow: 0 0 0 0.2rem rgba(0, 140, 158, 0.1);
}
.reports,
.insights{
  background-color: hsl(198 99% 98% / 1);

}

.report-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

@media (max-width: 768px) {
  .title-underline{
    width: auto;
    font-size: 2rem;
    text-align: center;
  }
  .title-underline::after{
    width: 50%;
    right: 50%;
    transform: translatex(50%);
  }
  .header-content h1{
    margin-bottom: 20px;
  }
  .report-card {
    margin-bottom: 20px;
  }
  .col-md-3:last-child .report-card {
    margin-bottom: 0;
  }
  form .d-flex  {
    flex-direction: column;
    gap: 0 !important;
  }

}