/**
Theme Name: Kareem
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kareem
Template: astra
*/

/* Kareem Dayes portfolio — complete Elementor styles, revision 3 */

.kd-page {
  --kd-paper: #f2f0e8;
  --kd-ink: #171712;
  --kd-blue: #1f4eb6;
  --kd-acid: #d9ff67;
  --kd-coral: #ff7867;
  --kd-mint: #bde8d2;
  --kd-line: rgba(23, 23, 18, 0.24);
  background: var(--kd-paper);
  color: var(--kd-ink);
  overflow: hidden;
}

.kd-page,
.kd-page * {
  box-sizing: border-box;
}

.kd-page a {
  text-underline-offset: 0.25em;
}

.kd-page ::selection {
  background: var(--kd-acid);
  color: var(--kd-ink);
}

.kd-page .elementor-heading-title {
  letter-spacing: -0.055em;
}

.kd-kicker,
.kd-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Hero */
.kd-hero {
  position: relative;
  isolation: isolate;
}

.kd-hero::after {
  position: absolute;
  right: -8%;
  bottom: -20%;
  z-index: -1;
  width: 58%;
  height: 55%;
  border-top: 2px solid var(--kd-ink);
  border-radius: 55% 0 0;
  background: var(--kd-acid);
  content: "";
  transform: rotate(-8deg);
}

.kd-hero .elementor-button {
  min-width: 190px;
  white-space: nowrap;
}

/* Statistics: four columns with three 20px Elementor gaps */
.kd-stat {
  width: calc((100% - 60px) / 4) !important;
  min-width: 0;
  flex: 0 0 calc((100% - 60px) / 4) !important;
}

.kd-stat:not(:last-child) {
  border-right: 1px solid var(--kd-line);
}

.kd-stat strong {
  display: block;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.kd-stat span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Quote band and testimonial */
.kd-page .e-con.kd-quote {
  color: #fff;
}

.kd-quote blockquote {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.kd-quote cite {
  display: block;
  margin-top: 28px;
  font: normal 12px/1.5 Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kd-testimonial-label {
  width: 22% !important;
  flex: 0 1 22% !important;
}

.kd-testimonial-quote {
  width: 56% !important;
  flex: 0 1 56% !important;
}

.kd-testimonial-credit {
  width: 22% !important;
  flex: 0 1 22% !important;
}

/* Projects: two columns with one 20px Elementor gap */
.kd-project-card {
  width: calc((100% - 20px) / 2) !important;
  min-width: 0;
  flex: 0 0 calc((100% - 20px) / 2) !important;
  transition: transform 0.25s ease;
}

.kd-project-card:hover {
  transform: translateY(-4px);
}

.kd-project-card a {
  color: inherit;
}

.kd-project-card:first-child a {
  color: #fff;
}

.kd-project-meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kd-project-image img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: contain;
  background: #c9d7a8;
}

/* Services */
.kd-service .elementor-toggle-item {
  border-top: 1px solid var(--kd-line);
}

.kd-service .elementor-tab-title {
  padding: 24px 0 !important;
  font-size: clamp(24px, 3vw, 42px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em;
}

.kd-service .elementor-tab-content {
  max-width: 780px;
  padding: 0 0 28px !important;
  border: 0 !important;
}

/* Gravity Forms placeholder */
.kd-gravity-placeholder {
  padding: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.7);
}

/* Tablet */
@media (max-width: 1024px) {
  .kd-stat {
    width: calc((100% - 20px) / 2) !important;
    flex-basis: calc((100% - 20px) / 2) !important;
  }

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

  .kd-project-card {
    width: 100% !important;
    flex-basis: 100% !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .kd-hero::after {
    right: -25%;
    bottom: -8%;
    width: 85%;
    height: 36%;
  }

  .kd-hero .elementor-button {
    min-width: 0;
  }

  .kd-stat,
  .kd-project-card,
  .kd-testimonial-label,
  .kd-testimonial-quote,
  .kd-testimonial-credit {
    width: 100% !important;
    flex-basis: 100% !important;
  }

  .kd-stat:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--kd-line);
  }

  .kd-project-card:hover {
    transform: none;
  }
}
