:root {
  --primary: #38b5fa;
  --blueMid: #5ec4f7;
  --light: #f5fbff;
  --hero-desc-color: #075279;
  --content-color: #666;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", Arial, sans-serif;
  --hero-section-bg: linear-gradient(
    180deg,
    #38b5fa 0%,
    #5ec4f7 25%,
    #9ddcff 50%,
    #d9f1ff 75%,
    #f5fbff 100%
  );
}
  /* Headings only → Playfair Display */
  h1, h2, h3, h4, h5, h6,
  .hero-title,
  .site-title,
  .blog-content h4,
  .service-feature h2,
  #dev_process .process-content h4 {
    font-family: var(--font-heading);
  }

  /* Body text, links, buttons, forms → Poppins */
  p, a, .btn, button, .nav-link,
  input, textarea, select,
  .form-control, .form-select, .form-label {
    font-family: var(--font-body);
  }

  span {
    font-family: inherit;
  }

body {
  background: #f3f4fb;
  font-family: "Poppins", Arial;
}

.btn {
  background: var(--light);
  color: var(--blueMid);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
}

.btn:hover {
  color: var(--blueMid);
  border: 1px solid;
}

/*header*/
.logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.main-nav {
  transition: 0.3s ease;
  background: transparent;
  border-bottom: 1px solid #5ec4f7;
}

.main-nav.scrolled {
  background: var(--primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.offcanvas {
  background: var(--hero-section-bg);
}

.navbar-toggler {
  border: none;
  color: var(--light) !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link {
  font-family: var(--font-body);
  color: var(--light) !important;
  font-weight: 500;
}

.brand-logo i {
  color: var(--light) !important;
}

.brand-logo h4 {
  color: var(--light) !important;
}

.hero-modern {
  padding: 120px 0 90px;
  background: var(--hero-section-bg);
  border-radius: 0 0 35px 35px;
  color: #fff;
}

/* TEXT */
/* .hero-title {
  font-weight: 800;
  font-size: 38px;
  line-height: 1.2;
} */

/* HERO TITLE */
.hero-title {
    font-weight: 800;
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Tablet */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 34px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 30px;
        line-height: 1.2;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
        line-height: 1.2;
    }
}


.hero-desc {
  margin-top: 10px;
  max-width: 420px;
  opacity: 0.9;
  color: var(--hero-desc-color);
}

/* BUTTONS */
.hero-btn-primary {
  background: #fff;
  color: var(--primary);
  border-radius: 12px;
  font-weight: 300;
  border: 1px solid;
}

/* IMAGE */
.book-covers {
  position: relative;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-cover {
  width: 190px;
  border-radius: 6px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  position: absolute;
  transition: 0.3s;
}

.book-left {
  transform: translateX(-130px) rotate(-8deg);
  z-index: 1;
}

.book-center {
  transform: translateY(-10px);
  z-index: 3;
}

.book-right {
  transform: translateX(130px) rotate(8deg);
  z-index: 2;
}

@media (max-width: 767px) {
  .book-covers {
    height: 300px;
  }

  .book-cover {
    width: 145px;
  }

  .book-left {
    transform: translateX(-85px) rotate(-8deg);
  }

  .book-right {
    transform: translateX(85px) rotate(8deg);
  }
}

/* RATING BOX */
.hero-rating {
  background: var(--blueMid);
  border-radius: 16px;
  padding: 10px 18px;
  width: max-content;
  margin-top: 12px;
}

.rating-value {
  font-weight: 800;
  font-size: 20px;
}

.rating-text {
  opacity: 0.9;
  margin-left: 6px;
}

/* Appointment Bar */
.appointment-bar .container {
  background: var(--light);
  border-radius: 15px;
  padding: 18px 20px;
  margin-top: -50px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* حقول الفورم */
.form-field {
  border-radius: 15px;
  height: 40px;
}

/* زر الحجز */

/* Features Section */
.feature-item {
  text-align: center;
}

.feature-icon {
  font-size: 42px;
  color: var(--blueMid);
  margin-bottom: 6px;
}

.feature-item h5 {
  font-weight: 700;
}
.feature-item p {
  color: var(--content-color);
}
.stats-box {
  background: linear-gradient(
    90deg,
    #159ee5 0%,
    #38b5fa 40%,
    #4dbdf5 70%,
    #62c5f5 100%
  );

  /* padding: 28px 35px; */
  border-radius: 18px;
  color: #fff;
  gap: 15px;
}
.stats-box .row{
  padding: 10px 30px;
}
.text-dot {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stats-icon {
  font-size: 36px;
  color: var(--light);
  margin-bottom: 8px;
}

.counter {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.read-link {
  color: var(--blueMid);
  font-weight: 600;
  text-decoration: none;
}

.read-link:hover {
  text-decoration: underline;
}
.cta-box {
  background: linear-gradient(
    90deg,
    #159ee5 0%,
    #38b5fa 40%,
    #4dbdf5 70%,
    #62c5f5 100%
  );
  padding: 12px 35px;
  border-radius: 18px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.cta:hover {
  background: #fff;
  border: 1px solid var(--primary);
}

/* Footer Styles */
.footer-section {
    background: #ffffff;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 6px;
}
.footer-links a {
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-contact {
    list-style: none;
    padding: 0;
}
.footer-contact li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--content-color);
}
.footer-contact a {
    color: inherit;
    text-decoration: none;
}
.footer-contact a:hover {
    color: var(--primary);
    text-decoration: none;
}
.footer-contact i {
    color: var(--primary);
    margin-right: 6px;
}
.newsletter-box input {
  border-radius: 8px;
}

.social-icons i {
  font-size: 18px;
  cursor: pointer;
  color: var(--primary);
}

.social-icons i:hover {
  color: var(--blueMid);
}

.logo {
  color: var(--blueMid) !important;
}

/* About Us Page */
.rights-box {
  background: linear-gradient(90deg, #38b5fa, #9ddcff);
  padding: 30px;
  border-radius: 18px;
  color: #fff;
}

.rights-box h4 {
  font-weight: 700;
}

.rights-box p {
  margin-bottom: 0;
}

#what_we_do {
  background-color: #fff !important;
}

/* SERVICE CARDS */
.service-card {
  background: #fff;
  border-radius: 18px;
  height: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  border: 1px solid #eef7fc;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(56, 181, 250, 0.15);
  border: 1px solid var(--primary);
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f7ff;
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 20px;
  border-radius: 16px 16px 0px 0;
}

.service-card h5 {
  color: var(--blueMid);
  font-weight: 700;
}

.service-card p {
  color: var(--content-color);
  line-height: 1.7;
}

.service-list {
  padding: 0;
  list-style: none;
  margin-top: 20px;
}

.service-list li {
  margin-bottom: 10px;
  color: #555;
}

.service-list i {
  color: var(--primary);
  margin-right: 8px;
}

/* FEATURED SERVICE */
.service-feature {
  background: linear-gradient(90deg, #159ee5 0%, #38b5fa 50%, #9ddcff 100%);
  border-radius: 20px;
  padding: 45px;
  color: #fff;
}

.service-feature h2 {
  font-weight: 800;
}

.service-feature p {
  line-height: 1.7;
}

.service-feature-list {
  list-style: none;
  padding: 0;
}

.service-feature-list li {
  margin-bottom: 12px;
}

.service-feature-list i {
  margin-right: 8px;
}
#author_services_process_section .process-item{
    text-align: center !important;
    padding: 20px !important;
    display: block;
}

#author_services_process_section .process-item h5 {
  color: var(--blueMid) !important;
  font-weight: 700 !important;
}

#author_services_process_section .process-item p {
  color: var(--content-color) !important;
}

/* Index page */
.stats-section h3 {
  color: #fff;
}

.stats-section .tagline {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

/* Blogs page css */

.blog-card {
  padding: 12px;
  gap: 12px;
  border: 1px solid;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  border: 1px solid #edf5fa;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(56, 181, 250, 0.16);
  border: 1px solid var(--primary);
}

.blog-img {
  border-radius: 12px;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.blog-content {
  padding: 10px;
}

.blog-category {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-content h4 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.35;
}

.blog-content p {
  color: var(--content-color);
}

.blog-date {
  color: #888;
  font-size: 14px;
}

/* TIP BOX */
.tip-box {
  background: #f0faff;
  border-left: 5px solid var(--primary);
  border-radius: 10px;
  padding: 25px;
  margin: 35px 0;
}
.tip-box h5 {
  color: var(--primary);
  font-weight: 700;
}

.contact-info {
  background: #f5fbff;
  border-radius: 18px;
  padding: 30px;
}

.contact-info h5 {
  color: var(--blueMid);
  font-weight: 900;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 50%;
  background: #e4f6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-item h6 {
  margin-bottom: 4px;
  color: var(--blueMid);
  font-weight: 700;
}

.contact-item p {
  margin: 0;
  color: var(--content-color);
}

/* FORM */

.contact-form {
  background: #fff;
  border-radius: 18px;
  padding: 35px;
  border: 1px solid #edf5fa;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.contact-form h5 {
  color: var(--blueMid);
  font-weight: 900;
}

.form-label {
  color: var(--content-color);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(56, 181, 250, 0.15);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}
/* SERVICE CARDS */
#contact-us-services .service-card {
  background: #fff;
  border: 1px solid #edf5fa;
  border-radius: 18px;
  height: 100%;
  transition: 0.3s;
}

#contact-us-services .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(56, 181, 250, 0.12);
  border: 1px solid var(--primary);
}

#contact-us-services .service-card i {
  color: var(--primary);
  font-size: 30px;
}

#contact-us-services .service-card h5 {
  color: var(--blueMid);
  font-weight: 700;
}

#contact-us-services .service-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 0;
}
/* Updated Index page */
.author_business_col {
  border: 1px solid var(--primary) !important;
}
.hero-btn {
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 12px 25px;
  border-radius: 8px;
}

.hero-btn:hover {
  background: var(--primary);
  color: #fff;
}
/* TECHNOLOGY CARD */
.tech-card {
  position: relative;
  height: 170px;
  padding: 25px 15px;
  background: var(--hero-section-bg);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 20, 70, 0.05);
  transition: all 0.35s ease;
  overflow: hidden;
}
.tech-card::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.07);
  top: -35px;
  right: -30px;
  transition: 0.35s ease;
}
.tech-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 18px 40px rgba(0, 80, 150, 0.12);
}
.tech-card:hover::before {
  transform: scale(1.4);
}
.tech-icon {
  position: relative;
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #38b5fa, #74cdf7);
  color: #ffffff;
  font-size: 27px;
  box-shadow: 0 8px 20px rgba(56, 181, 250, 0.25);
}
.tech-card h6 {
  position: relative;
  margin-bottom: 4px;
  color: #000;
  font-weight: 700;
}

.tech-card small {
  position: relative;
  color: var(--content-color);
  font-size: 12px;
}

/* DEVELOPMENT PROCESS */
#dev_process .process-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

#dev_process .process-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 190px;
  margin-bottom: 25px;
}

#dev_process .process-item:last-child {
  margin-bottom: 0;
}

/* NUMBER */
.process-number {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-section-bg);
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  border: 6px solid #f7fbfe;
  box-shadow: 0 8px 25px rgba(56, 181, 250, 0.3);
  margin: 0 auto 18px;
}
#dev_process .process-line {
  position: absolute;
  left: 36px;
  top: 76px;
  bottom: -50px;
  width: 2px;
  background: var(--hero-section-bg);
}
.process-item:last-child .process-line {
  display: none;
}

/* CONTENT CARD */
#dev_process .process-content {
  position: relative;
  flex: 1;
  margin-left: 30px;
  padding: 28px 90px 28px 30px;
  background: #ffffff;
  border: 1px solid rgba(56, 181, 250, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 20, 70, 0.05);
  transition: all 0.35s ease;
}
.process-content:hover {
  transform: translateX(7px);
  border-color: rgba(56, 181, 250, 0.25);
  box-shadow: 0 15px 40px rgba(0, 80, 150, 0.1);
}
.process-label {
  display: block;
  margin-bottom: 6px;
  color: #38b5fa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
#dev_process .process-content h4 {
  margin-bottom: 8px;
  color: var(--blueMid);
  font-weight: 700;
  font-size: 16pt;
}
#dev_process .process-content p {
  margin: 0;
  max-width: 700px;
  color: #6c757d;
  line-height: 1.7;
  font-size: 14px;
}

/* RIGHT ICON */

.process-icon {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);

  width: 55px;
  height: 55px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 15px;

  background: rgba(56, 181, 250, 0.09);
  color: #38b5fa;

  font-size: 24px;
}

@media (max-width: 767px) {
  .dev-section-title {
    font-size: 1.65rem;
  }
  .stats-box .row{
    padding: 10px 10px;
  }

  /* .brand-logo img{
    display: none !important;
  } */
  .tech-card {
    height: 155px;
    padding: 20px 10px;
  }
  .tech-icon {
    width: 52px;
    height: 52px;
    font-size: 23px;
  }
  .process-item {
    align-items: flex-start;
  }
  #dev_process .process-content {
    margin-left: 18px;
    padding: 22px 20px;
  }
  .process-icon {
    display: none;
  }
  #dev_process .process-content h4 {
    font-size: 18px;
  }
  #dev_process .process-content p {
    font-size: 13px;
  }
}
.primary-color{
  color: var(--primary);
}
.sticky-sidebar {
    position: sticky;
    top: 100px;
}
.tag {
  color: var(--blueMid);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.accordion-button:not(.collapsed){
  color: var(--blueMid);
  background: var(--hero-section-bg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}
.footer-legal-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--primary, #0d6efd);
    text-decoration: underline;
}

.footer-legal-links span {
    opacity: 0.5;
}
@media (max-width: 767px) {
    .footer-legal-links {
        flex-direction: column;
        gap: 6px !important;
    }

    .footer-legal-links > span:first-child {
        margin-bottom: 4px;
    }

    .footer-legal-links span:not(:first-child) {
        display: none;
    }

    .footer-legal-links a {
        display: inline;
    }

    .footer-legal-links a::after {
        content: " •";
        opacity: 0.5;
        margin-left: 6px;
    }

    .footer-legal-links a:last-child::after {
        content: "";
    }
}

.book-card-small {
    width: 100%;
    max-width: 210px;
}

.book-link-plain {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 20px;
    background: transparent;
    transition: all .2s ease;
}
.book-link-plain:hover {
    background: var(--primary);
    color: #fff;
}