/* Harold Theme - Exact Visual Clone of haroold.netlify.app */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --c-bg: #f4efe9;
  --c-surface: #f4efe9;
  --c-primary-900: #050814;
  --c-primary-800: #19243f;
  --c-primary-500: #394d73;
  --c-neutral-500: #767a86;
  --c-accent: #d8c5ab;

  --primary: var(--c-accent);
  --primary-hover: var(--c-accent);
  --secondary: var(--c-primary-500);
  --success: var(--c-primary-500);
  --info: var(--c-neutral-500);
  --warning: var(--c-accent);
  --danger: var(--c-primary-900);
  --dark: var(--c-primary-900);
  --muted: var(--c-neutral-500);
  --light: var(--c-bg);
  --white: var(--c-surface);
  --purple: var(--c-neutral-500);
  --blue: var(--c-primary-500);
  --pink: var(--c-accent);
  --cyan: var(--c-accent);
  --bg-soft: rgba(25, 36, 63, 0.06);
  --box-shadow: 0px 3px 10px 0px rgba(25, 36, 63, 0.08);
}

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

html {
  scroll-padding-top: 80px;
  scroll-behavior: smooth;
}

body.harold-theme {
  font-family: "Cairo", "Roboto", sans-serif;
  overflow-x: hidden !important;
  color: var(--dark);
  direction: rtl;
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cairo", "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark);
}

p {
  font-size: 15px;
  line-height: 26px;
  color: var(--muted);
}

a {
  text-decoration: none !important;
  outline: none;
  transition: all 0.3s ease;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-dark { color: var(--dark) !important; }
.text-muted { color: var(--muted) !important; }
.text-white { color: var(--white) !important; }
.text-purple { color: var(--purple) !important; }
.text-blue { color: var(--blue) !important; }
.text-pink { color: var(--pink) !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-light { background-color: var(--light) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-soft-primary { background-color: rgba(216, 197, 171, 0.15) !important; }
.bg-soft-secondary { background-color: rgba(57, 77, 115, 0.15) !important; }
.bg-soft-purple { background-color: rgba(57, 77, 115, 0.15) !important; }
.bg-soft-blue { background-color: rgba(57, 77, 115, 0.15) !important; }
.bg-soft-warning { background-color: rgba(216, 197, 171, 0.15) !important; }
.bg-soft-danger { background-color: rgba(5, 8, 20, 0.15) !important; }
.bg-soft-pink { background-color: rgba(216, 197, 171, 0.15) !important; }

.para-width {
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.4s ease;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border: 1px solid var(--dark);
}

.btn-dark:hover {
  background: #19243f;
  border-color: #19243f;
  color: var(--white);
}

.rounded-pill {
  border-radius: 50px !important;
}

/* ============================================
   NAVBAR
   ============================================ */
.harold-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: all 0.4s ease;
  padding: 15px 0;
  background-color: transparent;
}

.harold-header .nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.harold-header .logo img {
  height: 30px;
}

.harold-header .logo .logo-light {
  display: none;
}

.harold-header .logo .logo-dark {
  display: block;
}

.harold-header .main-nav .menu {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.harold-header .main-nav .menu li a {
  color: rgba(25, 36, 63, 0.7);
  font-size: 13px;
  padding: 10px 18px;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  transition: all 0.3s ease;
}

.harold-header .main-nav .menu li a:hover,
.harold-header .main-nav .menu li a.active {
  color: var(--primary);
}

.harold-header .nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Sticky navbar */
.harold-header.is-scrolled {
  background: var(--white);
  box-shadow: var(--box-shadow);
  padding: 10px 0;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-soft);
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

/* Red Triangle Decoration */
.hero-triangle-decoration {
  position: absolute;
  top: 15%;
  right: 42%;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid #050814;
  transform: rotate(15deg);
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero Image */
.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper img {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

/* Hero Placeholder */
.hero-placeholder {
  width: 350px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 239, 233, 0.3);
  border-radius: 30px;
  position: relative;
  z-index: 1;
}

/* Hero Text */
.hero-text {
  text-align: right;
}

.hero-text .eyebrow {
  color: var(--warning);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}

.hero-text .hero-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-text .typewriter-text {
  display: inline;
  border-left: 3px solid var(--dark);
  padding-left: 5px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

.hero-text .hero-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Hero Social Icons - Special Border Radius */
.hero-social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.social-icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px 25px 25px 0;
  border: 1px solid;
  transition: all 0.3s ease;
}

.social-icon-box.facebook {
  border-color: var(--blue);
  color: var(--blue);
}

.social-icon-box.facebook:hover {
  background-color: var(--blue);
  color: var(--white);
}

.social-icon-box.instagram {
  border-color: var(--pink);
  color: var(--pink);
}

.social-icon-box.instagram:hover {
  background-color: var(--pink);
  color: var(--white);
}

.social-icon-box.twitter {
  border-color: var(--info);
  color: var(--info);
}

.social-icon-box.twitter:hover {
  background-color: var(--info);
  color: var(--white);
}

.social-icon-box.whatsapp {
  border-color: #394d73;
  color: #394d73;
}

.social-icon-box.whatsapp:hover {
  background-color: #394d73;
  color: var(--white);
}

.social-icon-box.snapchat {
  border-color: #d8c5ab;
  color: #d8c5ab;
}

.social-icon-box.snapchat:hover {
  background-color: #d8c5ab;
  color: var(--dark);
}

/* View Work Link */
.hero-view-work {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-weight: 600;
  transition: all 0.4s ease;
}

.view-work-text {
  position: relative;
}

.view-work-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(216, 197, 171, 0.4);
  z-index: -1;
}

.view-work-arrow {
  transition: transform 0.4s ease;
}

.hero-view-work:hover {
  color: var(--primary);
}

.hero-view-work:hover .view-work-arrow {
  transform: translateX(-8px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-me {
  background-color: var(--white);
  padding: 100px 0;
}

.about-box {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-image-wrapper {
  position: relative;
  padding: 40px;
  padding-bottom: 0;
  display: flex;
  align-items: flex-end;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  top: 50px;
  right: 40px;
  animation: bg-change 6s linear infinite;
  opacity: 0.6;
}

.about-image-wrapper img {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

/* About placeholder */
.about-placeholder {
  width: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 239, 233, 0.3);
  border-radius: 20px;
}

.image-round {
  position: relative;
  z-index: 1;
}

.about-text {
  padding: 50px;
}

.about-text h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-text > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* Nav Pills (Tabs) */
.nav-pills {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  border-bottom: 1px solid rgba(5, 8, 20, 0.1);
  padding-bottom: 0;
}

.nav-pills .nav-item .nav-link {
  color: var(--muted);
  padding: 12px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-pills .nav-item .nav-link.active {
  color: var(--dark);
}

.nav-pills .nav-item .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 100%;
  height: 2px;
  animation: bg-change 6s linear infinite;
}

/* Tab content */
.tab-content {
  margin-top: 25px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Skills */
.skill-item {
  margin-bottom: 20px;
}

.skill-item .skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-item h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.progress {
  height: 6px;
  background-color: #f4efe9;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 3px;
  animation: bg-change 6s linear infinite;
  transition: width 1s ease;
}

.progress-bar.bg-warning {
  background-color: var(--warning) !important;
  animation: none;
}

/* Experience Timeline */
.experience .timeline-row {
  display: flex;
  margin-bottom: 0;
}

.experience .border-left-line {
  position: relative;
  width: 60px;
  flex-shrink: 0;
}

.experience .border-left-line::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: rgba(5, 8, 20, 0.1);
  right: 50%;
  top: 0;
}

.experience .border-left-line::before {
  content: '';
  position: absolute;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  right: calc(50% - 5px);
  top: 5px;
  animation: bg-change 6s linear infinite;
  z-index: 1;
}

.experience .timeline-content {
  flex: 1;
  padding-bottom: 25px;
}

.experience .timeline-content h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark);
}

.experience .timeline-content p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.service {
  background-color: var(--bg-soft);
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h6 {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-header p {
  color: var(--muted);
  font-size: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.info-item {
  background-color: var(--white);
  border-radius: 20px;
  transition: all 0.4s ease;
  box-shadow: var(--box-shadow);
}

.info-item:hover {
  transform: translateY(-10px);
}

.info-item .item-inner {
  padding: 30px;
}

.info-item .service-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
}

.info-item .service-icon svg {
  width: 24px;
  height: 24px;
}

.info-item h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

.info-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   COUNTER SECTION
   ============================================ */
.counter {
  background-color: var(--white);
  padding: 100px 0;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.counter-item {
  background-color: var(--bg-soft);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
}

.counter-item .counter-icon {
  margin-bottom: 15px;
}

.counter-item .counter-icon svg {
  width: 50px;
  height: 50px;
  animation: stroke-color-change 6s linear infinite;
}

@keyframes stroke-color-change {
  0%, 100% { stroke: var(--primary); }
  25% { stroke: var(--blue); }
  50% { stroke: var(--danger); }
  75% { stroke: var(--warning); }
}

.counter-item .counter-value h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  display: inline;
}

.counter-item .counter-value span {
  font-size: 24px;
  color: var(--primary);
}

.counter-item > p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 0;
}

/* ============================================
   MY WORK SECTION
   ============================================ */
.my-work {
  background-color: var(--bg-soft);
  padding: 100px 0;
}

.my-work .section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  direction: rtl;
  gap: 20px;
}

.my-work .section-header-row > div {
  text-align: right;
  order: 2;
}

.my-work .section-header-row .more-link {
  order: 1;
  margin-inline-start: auto;
}

.my-work .section-header-row h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 5px;
}

.my-work .section-header-row p {
  color: var(--muted);
  margin: 0;
}

.my-work .more-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 5px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.work-item {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

.work-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 30px;
}

.work-item .image-title {
  position: absolute;
  top: 30px;
  right: 30px;
}

.work-item .image-title h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark);
}

.work-item .image-title p {
  font-size: 13px;
  color: rgba(25, 36, 63, 0.7);
  margin: 0;
}

/* Work item colors */
.work-item.yellow { background-color: #d8c5ab; }
.work-item.blue { background-color: #394d73; }
.work-item.teal { background-color: #394d73; }
.work-item.coral { background-color: #d8c5ab; }
.work-item.red { background-color: #d8c5ab; }

/* Work placeholder content */
.work-placeholder-content {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-item a {
  display: block;
  height: 100%;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  background-color: var(--white);
  padding: 100px 0;
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.pricing-tabs .nav-link {
  padding: 15px 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.pricing-tabs .nav-link .nav-icon {
  display: none;
  color: var(--primary);
}

.pricing-tabs .nav-link.active {
  background-color: var(--bg-soft);
}

.pricing-tabs .nav-link.active .nav-icon {
  display: block;
}

.pricing-tabs .nav-link span {
  font-weight: 500;
  color: var(--dark);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.pricing-item {
  transition: all 0.4s ease;
}

.pricing-item .top-bar {
  border: 2px solid rgba(5, 8, 20, 0.1);
  border-bottom: 2px dashed rgba(5, 8, 20, 0.1);
  border-radius: 0 30px 0 0;
  padding: 25px;
  transition: all 0.4s ease;
}

.pricing-item .price-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.pricing-item .price-icon {
  color: var(--primary);
}

.pricing-item .price-icon svg {
  width: 35px;
  height: 35px;
}

.pricing-item .price-title h6 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--dark);
}

.pricing-item .price-title span {
  font-size: 13px;
  color: var(--muted);
}

.pricing-item .price-tag h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.pricing-item .price-tag sup {
  font-size: 18px;
}

.pricing-item .price-tag .period {
  font-size: 14px;
  color: var(--muted);
}

.pricing-item .bottom-bar {
  border: 2px solid rgba(5, 8, 20, 0.1);
  border-top: none;
  border-radius: 0 0 0 30px;
  padding: 25px;
}

.pricing-item .bottom-bar ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.pricing-item .bottom-bar ul li svg {
  color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pricing-item .pricing-button {
  margin-top: 20px;
}

.pricing-item .pricing-button .btn {
  width: 100%;
}

/* Active pricing */
.pricing-item.active-border .top-bar {
  border-color: var(--primary);
  animation: color-change 6s linear infinite;
}

.pricing-item.active-border .bottom-bar {
  border-color: var(--primary);
  animation: color-change 6s linear infinite;
}

/* Pricing hover */
.pricing-item:hover .top-bar {
  background-color: var(--dark);
}

.pricing-item:hover .top-bar .price-title h6,
.pricing-item:hover .top-bar .price-tag h2 {
  color: var(--white);
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */
.testimonial {
  background-color: var(--bg-soft);
  padding: 100px 0;
}

.testimonial-slider {
  display: flex;
  gap: 25px;
  margin-top: 50px;
  padding-top: 40px;
}

.testimonial-slide {
  flex: 1;
  background: transparent;
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  position: relative;
  opacity: 0.5;
  margin-top: 40px;
  transition: all 0.4s ease;
}

.testimonial-slide.active {
  background: var(--white);
  opacity: 1;
  margin-top: 0;
  border: 2px solid;
  animation: color-change 6s linear infinite;
  box-shadow: var(--box-shadow);
  transform: scale(1.02);
}

.testimonial-slide .user-image {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-slide .user-image img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
}

.testimonial-slide .quote {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.testimonial-slide .user-info {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(5, 8, 20, 0.1);
}

.testimonial-slide .user-info h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--dark);
}

.testimonial-slide .user-info p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog {
  background-color: var(--white);
  padding: 100px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.blog-item {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  padding: 20px;
}

.blog-item .blog-image {
  position: relative;
  margin-bottom: 30px;
}

.blog-item .blog-image img {
  border-radius: 15px;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-item .blog-image-icon {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 3px solid var(--white);
}

.blog-item .blog-content h5 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-item .blog-content h5 a {
  color: var(--dark);
  transition: color 0.3s ease;
}

.blog-item .blog-content h5 a:hover {
  color: var(--primary);
}

.blog-item .blog-content > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.blog-item .read-more {
  color: var(--dark);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-item .read-more:hover {
  color: var(--primary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background-color: var(--bg-soft);
  padding: 80px 0 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
}

.contact-info h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-info > p {
  color: var(--muted);
  font-size: 14px;
}

.contact-info hr {
  margin: 25px 0;
  border: none;
  border-top: 1px solid rgba(5, 8, 20, 0.1);
}

.info-content {
  margin-bottom: 25px;
}

.info-content h6 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.info-content .info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-content .icon {
  color: var(--primary);
}

.info-content .icon svg {
  width: 22px;
  height: 22px;
}

.info-content p {
  margin: 0;
  font-size: 14px;
}

/* Contact Form */
.custom-form {
  background: var(--c-bg);
  padding: 35px;
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  position: relative;
  bottom: -60px;
  border-right: 4px solid var(--c-accent);
}

.custom-form h6 {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 5px;
}

.custom-form h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark);
}

.custom-form > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.custom-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.custom-form .form-group {
  margin-bottom: 15px;
}

.custom-form .form-label {
  display: block;
  font-size: 13px;
  color: var(--dark);
  margin-bottom: 6px;
  text-align: right;
}

.custom-form .contact-form {
  width: 100%;
  padding: 12px 6px;
  border: none;
  border-bottom: 1px solid rgba(5, 8, 20, 0.35);
  font-size: 14px;
  background: transparent;
  transition: border-color 0.3s ease;
  font-family: inherit;
  color: var(--dark);
  text-align: right;
}

.custom-form .contact-form:focus {
  outline: none;
  border-color: var(--primary);
}

.custom-form .contact-form::placeholder {
  color: var(--muted);
}

.custom-form textarea.contact-form {
  min-height: 80px;
  resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--dark);
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 3fr 4fr;
  gap: 40px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 25px;
}

.footer-col > p {
  color: rgba(244, 239, 233, 0.5);
  font-size: 14px;
  line-height: 1.7;
}

.footer-col .logo img {
  height: 28px;
  margin-bottom: 15px;
}

/* Footer Social */
.footer .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer .social-icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px 18px 18px 0;
  border: 1px dashed rgba(216, 197, 171, 0.3);
  color: var(--primary);
  transition: all 0.3s ease;
}

.footer .social-icon:hover {
  background-color: var(--primary);
  color: var(--white);
}

.footer .social-icon svg {
  width: 16px;
  height: 16px;
}

/* Footer Links */
.footer-text li {
  margin-bottom: 12px;
}

.footer-text li a {
  color: rgba(244, 239, 233, 0.5);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.footer-text li a:hover {
  color: var(--primary);
}

.footer-text li a svg {
  width: 14px;
  height: 14px;
}

/* LinkedIn Box */
.linkedin-box {
  background-color: rgba(216, 197, 171, 0.1);
  padding: 20px;
  border-radius: 12px;
  position: relative;
  margin-bottom: 30px;
}

.linkedin-box::before {
  content: '';
  position: absolute;
  bottom: -20px;
  right: 25px;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid rgba(216, 197, 171, 0.1);
}

.linkedin-box p {
  color: rgba(244, 239, 233, 0.5);
  font-size: 13px;
  margin-bottom: 5px;
}

.linkedin-box a {
  color: var(--white);
  font-weight: 500;
}

.linkedin-box a:hover {
  color: var(--primary);
}

.linkedin-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.linkedin-content svg {
  width: 35px;
  height: 35px;
  color: var(--white);
}

.linkedin-content a {
  color: rgba(244, 239, 233, 0.5);
  font-size: 14px;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 15px;
  border: none;
  border-radius: 0 5px 5px 0;
  font-size: 14px;
}

.newsletter-form .btn {
  border-radius: 5px 0 0 5px;
  padding: 14px 20px;
}

/* Bottom Footer */
.bottom-footer {
  background-color: var(--dark);
  padding: 20px 0;
}

.bottom-footer p {
  text-align: center;
  color: var(--light);
  font-size: 14px;
  margin: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes color-change {
  0%, 100% { border-color: var(--primary); }
  25% { border-color: var(--blue); }
  50% { border-color: var(--danger); }
  75% { border-color: var(--warning); }
}

@keyframes bg-change {
  0%, 100% { background-color: var(--primary); }
  25% { background-color: var(--blue); }
  50% { background-color: var(--danger); }
  75% { background-color: var(--warning); }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-hover);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-social-icons {
    justify-content: center;
  }

  .hero-view-work {
    justify-content: center;
  }

  .hero-triangle-decoration {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

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

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

  .work-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonial-slider {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-slide {
    max-width: 400px;
    margin-top: 50px;
  }

  .testimonial-slide.active {
    margin-top: 50px;
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .custom-form {
    bottom: 0;
    margin-top: 30px;
  }

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

  .menu-toggle {
    display: block;
  }

  .harold-header .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--box-shadow);
    display: none;
    padding: 20px;
  }

  .harold-header .main-nav.is-open {
    display: block;
  }

  .harold-header .main-nav .menu {
    flex-direction: column;
    align-items: stretch;
  }

  .harold-header .main-nav .menu li a {
    padding: 12px 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .hero-text .hero-title {
    font-size: 32px;
  }

  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer .social-icons {
    justify-content: center;
  }

  .footer-text li a {
    justify-content: center;
  }

  .custom-form .form-row {
    grid-template-columns: 1fr;
  }

  .about-image-wrapper::before {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-text .hero-title {
    font-size: 26px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .about-text h2 {
    font-size: 32px;
  }

  .counter-grid {
    grid-template-columns: 1fr;
  }
}


