/* ========== RESET & BASE ========== */
:root {
  --bg: #ffffff;
  --text: #222;
  --accent: #1e3a8a;
  --accent-light: #facc15;
  --card: #f9fafb;
  --radius: 16px;
}

@font-face {
    font-family: 'Tahoma';
    src: url('../fonts/tahoma.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nastaliq';
    src: url('../fonts/IranNastaliq.woff2') format('woff2'),
         url('../fonts/IranNastaliq.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Regular (400) */
@font-face {
  font-family: 'Vazir';
  src: url('../fonts/Vazir.woff2') format('woff2'),
       url('../fonts/Vazir.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bold (700) */
@font-face {
  font-family: 'Vazir';
  src: url('../fonts/Vazir-Bold.woff2') format('woff2'),
       url('../fonts/Vazir-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  font-family: 'Vazir', sans-serif;
  color: var(--text);
  text-align: right;
  line-height: 1.7;
  direction: rtl;
}

body.lt-body {
  margin: 0;
  font-family: Vazir, "Vazir FD", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  /* background: var(--bg); */
  color: #111827;
  direction: rtl;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;

  background-color: whitesmoke;
  background-image: 
    repeating-linear-gradient(0deg, rgba(0,0,0,0.02), rgba(0,0,0,0.02) 1px, transparent 1px, transparent 10px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.02), rgba(0,0,0,0.02) 1px, transparent 1px, transparent 10px);
}

/* Typography */
h1, h2, h3 { font-family: 'Vazir', sans-serif; margin: .1rem 0; }
h1 { font-size: 1.4rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }

@media (max-width: 768px) {
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1.0rem; }
  h3 { font-size: 0.8rem; }
}

p { font-size: 1rem; margin: .1rem 0; }

/* Utility */
section { max-width: 900px; margin: 0 auto; margin-bottom: 1rem; background: transparent;}

/* ========== HERO SECTION ========== */
/* === Hero Section === */
.hero {
  width: 100%;
  /* background: #ffffff; */
  overflow: hidden;
  display: flex;
  justify-content: center;
  background-color: transparent;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 900px; /* 🔹 Limits width on big screens */
  height: 450px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* ⬅️ push content to bottom */
  align-items: center;
  text-align: center;
  padding: 2.5rem .2rem; /* ⬅️ add vertical spacing */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 25%, transparent 100%);
  color: #fff;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-btn {
  background: #1e3a8a;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  margin-top: 1rem;
  display: inline-block;
  transition: background 0.3s;
}
.hero-btn:hover {
  background: #162d6b;
}

@media (min-width: 768px) {
  .hero-slider {
    height: 550px;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.services-grid-articles {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two items side-by-side */
  gap: 1.5rem;
  /* margin-top: 1rem; */
}

@media (max-width: 768px) {
  .services-grid-articles { 
    grid-template-columns: repeat(1, 1fr); 
    /* gap: 1.5rem; */
    margin-top: 1rem;
  }
  .services-grid { 
    gap: .5rem;
  }
}


.services-grid-articles .service-card {
  background: var(--card);
  /* background: transparent; */
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  text-align: center;
  /* transition: transform 1s; */
}

.service-card {
  background: var(--card);
  /* background: transparent; */
  border-radius: var(--radius);
  padding: .5rem;
  /* margin-top: 1rem; */
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  text-align: center;
  transition: transform 1s;
}
/* .service-card:hover { transform: translateY(-6px); } */
.service-card img { width: 60px; margin-bottom: 1rem; }

.service-card-title-products {
  margin-top: 1rem;
  background: linear-gradient(
    135deg,
    #1407d636 20%,
    #1956c72f 80%
  ); /* subtle purple gradient */
  border-radius: var(--radius);
  padding: .5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  gap: 20px; /* space between text and icon */
  display: flex;       /* keep inline flow and flex alignment */
  align-items: center;        /* vertical center */
  text-align: center;
  justify-content: center;
  justify-items: center;
}

.service-card-title-weblog {
  margin-top: 1rem;
  background: linear-gradient(
    135deg,
    #1407d636 20%,
    #1956c72f 80%
  ); /* subtle purple gradient */
  border-radius: var(--radius);
  padding: .5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  gap: 20px; /* space between text and icon */
  display: flex;       /* keep inline flow and flex alignment */
  align-items: center;        /* vertical center */
  text-align: center;
  justify-content: center;
  justify-items: center;
}

.service-card-title-videos {
  margin-top: 1rem;
  background: linear-gradient(
    135deg,
    #1407d636 20%,
    #1956c72f 80%
  ); /* subtle purple gradient */
  border-radius: var(--radius);
  padding: .5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  gap: 20px; /* space between text and icon */
  display: flex;       /* keep inline flow and flex alignment */
  align-items: center;        /* vertical center */
  text-align: center;
  justify-content: center;
  justify-items: center;
}

.service-card-title-subscription {
  margin-top: 1rem;
  background: linear-gradient(
    135deg,
    #1407d636 20%,
    #1956c72f 80%
  ); /* subtle purple gradient */
  border-radius: var(--radius);
  padding: .5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  gap: 20px; /* space between text and icon */
  display: flex;       /* keep inline flow and flex alignment */
  align-items: center;        /* vertical center */
  text-align: center;
  justify-content: center;
  justify-items: center;
}

.service-card-title-contact {
  margin-top: 1rem;
  background: linear-gradient(
    135deg,
    #1407d636 20%,
    #1956c72f 80%
  ); /* subtle purple gradient */
  border-radius: var(--radius);
  padding: .5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  gap: 20px; /* space between text and icon */
  display: flex;       /* keep inline flow and flex alignment */
  align-items: center;        /* vertical center */
  text-align: center;
  justify-content: center;
  justify-items: center;
}

.service-card-subscription {
margin-top: 1rem;
  /* background: var(--card); */
  background: transparent;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  gap: 20px; /* space between text and icon */
  display: flex;       /* keep inline flow and flex alignment */
  align-items: center;        /* vertical center */
  text-align: center;
  justify-content: center;
  justify-items: center;

}

.service-card-banner {
  /* background: var(--card); */
  background: transparent;
  border-radius: var(--radius);
  margin-top: 0.5rem;
  padding: 1.5rem;
  /* box-shadow: 0 8px 20px rgba(0,0,0,0.04); */
  text-align: center;
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========== CONTACT ========== */
.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .contact-wrapper { flex-direction: row; }
}
.contact-info { flex: 1; }
.social-links a {
  display: inline-block;
  margin-left: .5rem;
  padding: .4rem .8rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
}
.social-links a:hover { background: var(--accent-light); color:#000; }

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  padding: .75rem;
  font-family: inherit;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
  border: none;
  background: var(--accent);
  color: #fff;
  padding: .8rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s;
}
.contact-form button:hover { background: #162d6b; }

/* ========== FOOTER ========== */
.title {
  padding: .5rem;
  text-align: center;
  background: var(--card);
  font-size: 1.5rem;
}
@media (max-width: 768px) {
    .title { 
        padding: .2rem;
        font-size: 1.2rem;
    }
    section {
        padding: .5rem 1rem;
    }
    .service-card {
    /* background: var(--card); */
    background: transparent;
    border-radius: 0;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 0px 0px rgba(0,0,0,0.04);
    text-align: center;
    }

    .service-card img { width: 60px; margin-bottom: 0; }
    
    .service-card-title-products {
    font-size: 1.2rem;
    font-weight: 700px;
    margin-top: 1rem;
    border-radius: var(--radius);
    padding: .5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    gap: 20px; /* space between text and icon */
    display: flex;       /* keep inline flow and flex alignment */
    align-items: center;        /* vertical center */
    text-align: center;
    justify-content: center;
    justify-items: center;
    }
    .service-card-title-weblog {
    font-size: 1.2rem;
    font-weight: 700px;
    margin-top: 1rem;
    border-radius: var(--radius);
    padding: .5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    gap: 20px; /* space between text and icon */
    display: flex;       /* keep inline flow and flex alignment */
    align-items: center;        /* vertical center */
    text-align: center;
    justify-content: center;
    justify-items: center;
    }
    .service-card-title-videos {
    font-size: 1.2rem;
    font-weight: 700px;
    margin-top: 1rem;
    border-radius: var(--radius);
    padding: .5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    gap: 20px; /* space between text and icon */
    display: flex;       /* keep inline flow and flex alignment */
    align-items: center;        /* vertical center */
    text-align: center;
    justify-content: center;
    justify-items: center;
    }
    .service-card-title-subscription {
    font-size: 1.2rem;
    font-weight: 700px;
    margin-top: 1rem;
    border-radius: var(--radius);
    padding: .5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    gap: 20px; /* space between text and icon */
    display: flex;       /* keep inline flow and flex alignment */
    align-items: center;        /* vertical center */
    text-align: center;
    justify-content: center;
    justify-items: center;
    }
    .service-card-title-contact {
    font-size: 1.2rem;
    font-weight: 700px;
    margin-top: 1rem;
    border-radius: var(--radius);
    padding: .5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    gap: 20px; /* space between text and icon */
    display: flex;       /* keep inline flow and flex alignment */
    align-items: center;        /* vertical center */
    text-align: center;
    justify-content: center;
    justify-items: center;
    }
}

.footer {
  text-align: center;
  background: var(--card);
  padding: 1.5rem;
  font-size: .9rem;
}
.footer a { color: var(--accent); text-decoration: none; }

/* Simple Fade-in Animation */
.fade-in { opacity: 0; transform: translateY(20px); transition: all .8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }





/* // Nav bar css */
/* ============================================
   Hamburger Menu inside Hero (top-left corner)
   ============================================ */
.lt-hamburger-menu {
  position: absolute;  /* inside the hero */
  top: 20px;
  left: 20px;          /* top-left corner */
  z-index: 1000;       /* above overlays */
  direction: rtl;
}

/* Hamburger Button */
.lt-hamburger-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.lt-hamburger-toggle span {
  display: block;
  height: 3px;
  background-color: #fff; /* white to contrast hero */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation: turn into X */
.lt-hamburger-menu.active .lt-hamburger-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.lt-hamburger-menu.active .lt-hamburger-toggle span:nth-child(2) {
  opacity: 0;
}
.lt-hamburger-menu.active .lt-hamburger-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Dropdown panel */
.lt-hamburger-list {
  position: absolute;
  top: 30px;
  left: 0; /* under the hamburger */
  width: 220px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 5px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  list-style: none;
  margin: 0;
  padding: 6px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Show when active */
.lt-hamburger-menu.active .lt-hamburger-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Menu links */
.lt-hamburger-list a {
  display: block;
  padding: 6px 6px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  border-radius: 3px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lt-hamburger-list a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  /* transform: translateX(3px); */
}


.lt-hamburger-toggle span {
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
}



.services-grid img {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

/* .service-card:hover img {
  transform: scale(1.08);
} */


/* ==============================
   Intro Section (Brand Overview)
   ============================== */
.intro-section {
  background: linear-gradient(90deg, #ffffff 0%, #e9ecf5 100%);
  padding: 40px 20px;
  /* border-radius: 16px; */
  margin: 30px auto;
  width: 100%;
  /* max-width: 1000px; */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  direction: rtl;
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap; /* so it stacks nicely on mobile */
}

.intro-content h4 {
  color: #1a237e;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.intro-content img {
  width: 10rem;
}

.intro-logo {
  width: 60px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
  transition: transform 0.2s ease;
  margin-left: 10px;
}

.intro-logo:hover {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .intro-section {
        margin: 0 auto;

    }
  .intro-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .intro-content h4{
    font-size: 1.1rem;
  }
  .intro-logo {
    margin-bottom: 12px;
  }
}


/* ===============================
   Subscription Section
   =============================== */
.subscription-section {
  background: #fafafa;
  padding: 20px;
  direction: rtl;
}

.subscription-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.subscription-text {
  flex: 1 1 380px;
  text-align: right;
}

.subscription-text h2 {
  font-size: 1.75rem;
  color: #1a237e;
  margin-bottom: 15px;
  font-weight: 700;
}

.subscription-text p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

.subscription-text ul {
    list-style-position: inside;
    padding: 0;
}

.subscription-text li {
  margin-bottom: 8px;
  list-style-type: "✔ ";
  color: #2e7d32;
  font-weight: 500;
}

/* Banner container */
.subscription-banner {
  flex: 1 1 auto; /* removed fixed 500px basis */
  text-align: center;
}

.subscription-banner img {
  width: 100%;    /* full container width */
  height: auto;   /* natural aspect ratio */
  display: block; /* remove inline spacing */
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* Responsive for mobile */
@media (max-width: 900px) {
  .subscription-section {
    padding: 40px 16px;
  }

  .subscription-container {
    flex-direction: column;
    align-items: center; /* center for mobile */
    gap: 20px;
  }

  .subscription-text {
    text-align: center;
    flex: 1 1 100%;
  }

  .subscription-banner {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .subscription-banner img {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin: 0; /* remove extra top/bottom margin */
  }

  .subscription-text ul {
    list-style-position: inside;
    padding: 0;
  }
}



/* Social icons */
.lt-social {
  display: flex;
  justify-content: center;  /* horizontally center the icons */
  align-items: center;      /* vertically center them */
  gap: 0.75rem;             /* space between icons */
  margin-top: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;          /* allows wrapping on small screens */
}

.lt-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lt-social a img {
  width: 32px;
  height: 32px;
  transition: transform 0.2s ease;
}

.lt-social svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.lt-social a:hover img {
  transform: scale(1.1);
}

/* ===============================
   Footer: Narrow Branding
   =============================== */
.lt-footer {
    /* background: #ffffff; */
    background: transparent;
    padding: 12px 20px;
    text-align: center;
}

.lt-footer-inner a {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* space between logo and text */
    text-decoration: none;
    color: #333;
    font-size: 0.85rem;
}

.lt-footer-inner a:hover {
    opacity: 0.8;
}

.parsi-vakil-logo {
    height: 30px; /* smaller logo */
    width: auto;
    display: inline-block;
    vertical-align: middle;
}
a {
  color: var(--lt-accent, #0072b1);
  text-decoration: none;
}
/* H2 with minimal SVG icon */


.service-card-title .h2-icon {
  flex-shrink: 0;             /* don't shrink */
  width: 24px;
  height: 24px;
  display: block;             /* ensures proper alignment */
}

/* ===============================
   Videos Section
   =============================== */
.videos-section {
  padding: 50px 20px;
  /* background-color: #ffffff; */
  background: transparent;
  text-align: center;
}

.services-section{
  padding: 10px 10px;
  background-color: transparent;
  text-align: center;
}

.videos-section .section-title {
  font-size: 2rem;
  color: #1a237e;
  margin-bottom: 30px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 1rem auto;
}

.video-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.video-card iframe:hover {
  transform: scale(1.02);
}

.video-card p {
  margin-top: 10px;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Hidden videos */
.hidden-video {
  display: none;
}

/* Show More Button */
.show-more-btn {
  margin-top: 1rem;
  background: linear-gradient(135deg,#f58529b4,#dd2a7bab,#8234afa8,#515cd4a8);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Vazir', sans-serif !important;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.show-more-btn-weblog {
  margin-top: 2rem;
  background: linear-gradient(135deg,#f58529b4,#dd2a7bab,#8234afa8,#515cd4a8);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Vazir', sans-serif !important;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.show-services-btn {
  margin-top: 30px;
  background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Vazir', sans-serif !important;
  transition: transform 0.2s ease;
}

.show-more-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
}

.show-more-btn-weblog:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
}

.show-services-btn:hover {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-card iframe {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .video-card iframe {
    height: 200px;
  }
}


.hero-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 1002; /* above hero overlay */
}

.hero-slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5); /* subtle white */
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-dots .dot.active {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.9); /* brighter for active */
}


.intro {
    text-align:right;
}

@media (max-width: 768px) {
.intro {
    text-align:center;
}
}


.hero-right-link {
  position: absolute;
  top: 1.2rem; /* Adjust to align perfectly with hamburger menu */
  right: auto;
  text-align: center;
  z-index: 100;
  margin-right: 1rem;
}

@media (max-width: 768px) {
  .hero-right-link {
    margin-right: .5rem;
  }

}

.hero-right-link a {
  display: inline-block;
  background: rgba(0,0,0,0.35);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.3s;
  backdrop-filter: blur(2px);
}

@media (max-width: 768px) {

  .hero-right-link a {
    font-size: 0.65rem;
  }

}

.hero-right-link a:hover {
  background: rgba(0,0,0,0.55);
}


.products-grid .product-card {
  position: relative;
  padding-bottom: .5rem !important;
  text-align: center;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* pushes button to bottom */
  align-items: center;     /* <-- fixes the image alignment */
}

.product-card .product-btn {
  margin-top: 1rem;
  margin-bottom: 0.8rem; /* small space at bottom */
}

.product-btn {
  display: inline-block;
  background: linear-gradient(135deg, rgba(142, 45, 226, 0.8), rgba(74, 0, 224, 0.8));
  padding: 0.3rem 0.9rem;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: 0.3s;
  opacity: 0.5
}

.product-btn:hover {
  opacity: 0.9;
}


.hidden-service {
  display: none;
}



/* Articles */
/* image column (left) */
.lt-row-image {
  flex: 0 0 28%;
  max-width: 100%;
  text-align: left; /* visual left for images */
}
.lt-row-image img {
  width: 100%;
  height: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.lt-row-article-image {
  flex: 0 0 50%;
  max-width: 100%;
  text-align: left; /* visual left for images */
}
.lt-row-article-image img {
  width: 100%;
  height: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.lt-row-text .lt-contact-link {
    float: left;           /* move link to the left */
    text-align: left;      /* ensure text inside aligns left */
}

.lt-contact-link-title {
  text-align: right;      /* ensure text inside aligns left */
}

/* Article date */
.article-meta {
  direction: rtl;
  font-family: "Vazir", "Vazir FD", "Noto Sans", sans-serif;
  color: #777;
  font-size: 0.7rem;
  text-align: right; /* stays visually left even in RTL layout */
  margin-top: 0.5rem;   /* closer to image */
  margin-bottom: 1.2rem; /* farther from article content */
  display: block;
}

@media (max-width: 760px) {
  .article-meta {
    margin-top: 0.5rem;   /* closer to image */
    margin-bottom: 0.5rem; /* farther from article content */
  }
}

@media (min-width: 760px) {
  .article-meta {
    margin-top: 0.1rem;   /* closer to image */
    margin-bottom: 0.2rem; /* farther from article content */
    font-size: 1rem;   /* closer to image */
  }
}

.lt-hero-articles {
  position: relative;
  width: 100vw;      /* full viewport width */
  left: 50%;
  margin-left: -50vw; /* full-bleed trick */
  min-height: 30vh;
  height: 30vh;
  overflow: hidden;
}
/* ----- Banner Styling (Unified with Homepage Layout) ----- */
/* Banner: constrained content area that visually matches .lt-row cards */
.lt-banner {
  align-items: center;     /* vertical centering */
  width: 100%;
  position: relative;
  /* no width:100% forcing full-bleed; background may look wide but content is constrained */
  background-color: var(--accent);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* border-radius: 14px; */
  /* margin: 18px 0 24px; */
  /* overflow: hidden; */
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  direction: rtl;
  font-family: Vazir, 'Vazir FD', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, serif;
  text-align: center;
  align-items: center !important;
}

/* overlay for contrast */
.lt-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(224, 179, 179, 0.1);
  z-index: 1;
}

/* This inner container constrains banner text to the same max-width as page content */
.lt-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;    /* match .lt-page-wrap max-width */
  margin: 0 auto;
  padding: 2.2rem 1rem; /* vertical + horizontal padding */
  box-sizing: border-box;
  text-align: center;
  align-items: center;
  color: #fff;
  bottom: 0;
  /* margin-bottom: 0; */
}

/* banner title & small details */
.lt-banner-title {
    text-align: center;
    z-index: 999;
    position: absolute;
    bottom: 20px;      /* adjust this value if needed */
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    backdrop-filter: blur(2px);
    background: rgba(0,0,0,0.35);
    min-width: 80%;
}

/* ============================================
   Banner Logo (mirrors hamburger position)
   ============================================ */
.lt-banner-logo {
  position: absolute;
  top: 20px;          /* same vertical offset as navbar */
  right: 30px;        /* opposite side */
  z-index: 1000;      /* same stacking level */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;       /* roughly equal visual height to hamburger (22 px + gaps) */
  width: auto;
}

.lt-banner-logo img {
  height: 100%;
  width: auto;
  transition: transform 0.25s ease;
}

.lt-banner-logo img:hover {
  transform: scale(1.08);
}

/* Responsive tweak */
@media (max-width: 768px) {
  .lt-banner-logo {
    top: 18px;
    right: 18px;
    height: 32px;
  }
  .lt-banner-title {
    font-size: 1rem;
    background: rgba(0,0,0,0.35);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(2px);
  width: 80%;
  }
}

.lt-row {
  display: flex;
  align-items: flex-start;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  /* background: transparent; */
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1rem;
}

/* text column (right) */
.lt-row-text { text-align: right; }
.lt-row-text h3 { margin: 0 0 10px; color: var(--accent); font-size: 1.0rem; }
.lt-row-text p {
  margin:0; line-height: 1.8; color: #222; 
  text-align: justify;       /* justifies the paragraph text */
  text-justify: inter-word;  /* improves spacing for languages like Persian */
}
.lt-row-text {
  max-width: 800px;
  margin: auto;
  padding: 0 1.2rem;
}

@media (max-width: 760px) {
  .lt-row { flex-direction: column; background: transparent;}
  .lt-row-image { max-width: 100%; flex-basis: auto; text-align: center; margin: 0 auto; }
  .lt-row-image img { max-height: 280px; width: 82vw; }
  .lt-row-text {  padding: 0;}

}

.custom-cta-box {
    background: #f8f8f8;
    padding: 20px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-right: 5px solid #009688;
    text-align: center;
}

.custom-cta-box h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

.custom-cta-box p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
}

.cta-btn {
    padding: 12px 25px;
    background: #009688;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    display: inline-block;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #00796b;
}


.parsi-vakil-article-intro li {
  text-align: right;
  font-size: .8rem;
  color: rgb(49, 42, 42);
}

.custom-cta-box-up {
    background: transparent;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    border-right: 5px solid #005296;
    text-align: center;
}

.custom-cta-box-up h4 {
    margin-bottom: 0.1rem;
    font-size: 1.1rem;
    color: #333;
    padding: 0;
    margin-top: 0;
}

.custom-cta-box-up h5 {
    margin-bottom: 0.1rem;
    font-size: .8rem;
    color: #333;
    margin-top: 0;
}

.custom-cta-box-up p {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    color: #555;
    margin-top: 0;
}

.cta-btn-up {
    padding: 6px 12px;
    background: #2255c2;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 10px;
    display: inline-block;
    transition: 0.3s;
}

.cta-btn-up:hover {
    background: #00796b;
}

@media (max-width: 760px) {
  .custom-cta-box-up h4 {
    font-size: 1rem;
  }

  .custom-cta-box-up h5 {
      font-size: 0.8rem;
  }

  .custom-cta-box-up p {
      font-size: 0.8rem;
  }
}

.parsi-vakil-article-intro li {
  text-align: right;
  font-size: .8rem;
  color: rgb(49, 42, 42);
}

.lt-article-title {
  font-weight: 400;
}

.lt-pagination ul {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.lt-pagination li a,
.lt-pagination li span {
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #ccc;
    transition: 0.3s;
}

.lt-pagination li a:hover {
    background: #333;
    color: #fff;
}

.lt-pagination .current {
    background: #333;
    color: #fff;
    font-weight: bold;
}

.lt-row-weblog {
  display: flex;
  align-items: flex-start;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  background: transparent;
  border-radius: var(--radius);
  padding: 0;
}

@media (max-width: 760px) {
  .lt-row-weblog { flex-direction: column; }
}

.service-card-title-inner .h2-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.service-card-title-inner .h2-icon {
  vertical-align: middle;
  margin-right: 0.5rem;
}






.contact-info p {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 16px;
}

.icon {
  width: 22px;
  height: 22px;
  stroke: #555;
  fill: none;
  stroke-width: 2;
}

.lt-article-content {
  text-align: justify;
  font-family: 'Vazir' !important;
}

.lt-article-content * {
  box-sizing: border-box;
}

p a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .page-numbers { 
    font-size: .7rem;
  }
}


.enamad-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Make enamad small enough for layout */
.enamad-box img {
  width: 120px;
}

/* On mobile, enamad moves under contact list */
@media (max-width: 767px) {
  .enamad-box {
    order: 2;
  }
}
