/* ==================== HERO SECTION ==================== */
.hero__section {
  position: relative;
  height: 85vh;                    
  min-height: 620px;               
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  animation: subtleZoom 25s ease infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 42, 120, 0.85) 0%, rgba(20, 25, 70, 0.9) 100%);
  z-index: -1;
  opacity: 20%;
}

.hero__container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
}

/* Subtle background movement */
@keyframes subtleZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero__products {
  position: relative;
  display: none;
  flex-shrink: 0;
  margin-left: -120px;           /* Stronger left movement */
  transform: translateX(-120px);  /* Extra push to the left */
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero__products {
    display: block;
    animation: floatIn 1.2s ease forwards;
  }
}

/* Larger & Cleaner Product Blocks */
.hero__product-blocks {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4),
              inset 0 6px 15px rgba(255, 255, 255, 0.12);
  animation: float 8s ease-in-out infinite;
  z-index: 2;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-25px); }
}

.hero__product-block--image svg {
  width: 88%;
  height: 88%;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.45)) brightness(1.08);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__product-blocks:hover svg {
  transform: scale(1.08) rotate(4deg);
}

/* Labels with entrance animation */
.hero__product-label {
  position: absolute;
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 9999px;
  padding: 9px 24px;
  color: white;
  font-size: 0.97rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  white-space: nowrap;
  opacity: 0;
  animation: labelPop 0.8s forwards;
  z-index: 10;
}

.hero__product-label--ups {
  top: 10%;
  left: 5%;
  animation-delay: 0.4s;
}

.hero__product-label--barrier {
  bottom: 7%;
  right: -20px;
  animation-delay: 0.7s;
}

@keyframes labelPop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== HERO CONTENT ==================== */
.hero__content {
  max-width: 520px;
  text-align: right;
  color: white;
  z-index: 2;
}

.hero__title {
    color: #e0e7ff;
  font-size: 3.2rem;
  line-height: 1.15;
font-weight: 900;
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.3s forwards;
}

.hero__subtitle {
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0;
  color: #e0e7ff;
  transform: translateY(30px);
  animation: fadeUp 1s 0.6s forwards;
}

.hero__button {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.9s forwards;
}

/* General Fade Up */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==================== BOTTOM CURVE - EXACT MATCH ==================== */
.hero__curve {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 110px;
  background: #f7f7f7;
  border-top-left-radius: 110px;
  border-top-right-radius: 110px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -8px 15px rgba(0, 0, 0, 0.06);
}

.scroll-down {
  position: relative;                 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  background: white;
  color: #1e2a78;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  font-size: 34px;
  transition: all 0.4s ease;
  animation: bounce 2.8s infinite;
  border: 2px solid #f1f1f1;
  cursor: pointer;
  z-index: 101;
}

.scroll-down:hover {
  transform: translateY(3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {
  0%, 20%   { transform: translateY(0); }
  50%       { transform: translateY(8px); }
  100%      { transform: translateY(0); }
}

/* ==================== ABOUT SECTION ==================== */
.about__section {
  padding: 5rem 0;
  background-color: #f7f7f7;
  overflow: visible;
}

.about__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  direction: rtl;
}

@media (min-width: 1024px) {
  .about__container {
    grid-template-columns: 1fr 1.15fr;   /* Changed - gives more space to image */
    gap: 4rem;
  }
}

/* Left Column: Image - WIDER */
.about__image {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.about__image-main {
  width: 100%;
  max-width: 560px;           /* Increased from previous */
  height: auto;
  min-height: 420px;
  max-height: 560px;
  object-fit: contain;
  display: block;
}

/* Right Column: Content */
.about__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about__indicators {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-bottom: 1rem;
  position: relative;
}

.about__indicator {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  position: relative;
}

.about__indicator--red {
  background-color: #d10000;
}

.about__indicator--blue {
  right: -0.75rem;
}

.about__indicator--blue {
  background-color: #1d2f7c;
}

.about__title {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.4;
  color: #1d2f7c;
  letter-spacing: -0.02em;
}

  .about__description {
    margin-bottom: 1.5rem;
    max-width: 500px;
    line-height: 1.9;
    color: #4b5563;
    font-size: 1rem;
    text-align: right;
  }

  .about__tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    align-items: center;
  }

  .about__tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d2f7c;
    position: relative;
  }

  .about__tag::before {
    content: '';
    width: 0.8rem;
    height: 0.8rem;
    display: inline-block;
    margin-left: 0.5rem;
    background-image: url('../icons/Container.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .about__image-icon {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 400px;
  }

  .about__icon {
    width: 100%;
    height: auto;
    display: block;
  }

.about__manager-card {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.about__manager-position {
  font-size: 0.875rem;
  color: #1d2f7c;
  margin-bottom: 0.25rem;
}

.about__manager-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1d2f7c;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .about__section {
    padding: 6rem 0;
  }
  .about__image-main {
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  .about__title {
    font-size: 2.5rem;
  }
  .about__description {
    font-size: 1.0625rem;
  }
  .about__image-main {
    min-height: 520px;
    max-height: 620px;
    max-width: 580px;        /* Slightly larger on big screens */
  }
}

/* ==================== PRODUCTS SECTION ==================== */
.products__section {
  padding: 6rem 0;
}

.products__header {
  text-align: center;
  margin-bottom: 4rem;
}

.products__indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1rem;
  position: relative;
}

.products__indicator {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  position: relative;
}

.products__indicator--red {
  background-color: #d10000;
}

.products__indicator--blue {
  right: -0.75rem;
}

.products__indicator--blue {
  background-color: #1d2f7c;
}

.products__title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 900;
  color: #1d2f7c;
}

.products__subtitle {
  color: rgb(100, 116, 139);
}

.product__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.product__item:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .product__item {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product__features-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product__view-all {
  margin-bottom: 1.5rem;
  background-color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  color: rgb(100, 116, 139);;
  font-size: 0.875rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.product__view-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.product__feature-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.product__feature-plus {
  font-size: 1.5rem;
  color: #263da8;
}

.product__visual {
  text-align: center;
}

.product__visual .product__title {
  margin-bottom: 2rem;
  font-size: 1.875rem;
  font-weight: 900;
  color: #1d2f7c;
}

.product__image {
  height: 26.25rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product__blocks {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.product__block {
  height: 18rem;
  width: 5rem;
  border-radius: 0.25rem 0.25rem 0 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ==================== UPS PRODUCT SECTION ==================== */
.ups-product__section {
  padding: 6rem 0;
  direction: rtl;
}

.ups-product__header {
  text-align: center;
  margin-bottom: 3rem;
}

.ups-product__indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1rem;
  position: relative;
}

.ups-product__indicator {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  position: relative;
}

.ups-product__indicator--red {
  background-color: #d10000;
}

.ups-product__indicator--blue {
  right: -0.75rem;
  background-color: #1d2f7c;
}

.ups-product__title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #1d2f7c;
}

/* UPS Image */
.ups-product__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

.ups-product__image {
  height: 26.25rem;
  max-width: 100%;
  object-fit: contain;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Features: Two Columns */
.ups-product__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ups-product__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

.ups-product__features-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ups-product__feature-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.ups-product__feature-text {
  font-size: 1rem;
  color: #1f2937;
}

.ups-product__feature-plus {
  font-size: 1.5rem;
  color: #263da8;
}

/* ==================== RAHBAND PRODUCTS SECTION ==================== */
.rahband-products__section {
  padding: 6rem 0;
  direction: rtl;
}

.rahband-product {
  /* Each product block */
}

/* Add spacing between the two stacked products */
.rahband-product--not-first {
  margin-top: 6rem;
}

.rahband-product__header {
  text-align: center;
  margin-bottom: 3rem;
}

.rahband-product__indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1rem;
  position: relative;
}

.rahband-product__indicator {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  position: relative;
}

.rahband-product__indicator--red {
  background-color: #d10000;
}

.rahband-product__indicator--blue {
  right: -0.75rem;
  background-color: #1d2f7c;
}

.rahband-product__title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #1d2f7c;
}

.rahband-product__specs-title {
  text-align: right;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

/* Rahband Image */
.rahband-product__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

.rahband-product__image {
  height: 26.25rem;
  max-width: 100%;
  object-fit: contain;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Features: Two Columns */
.rahband-product__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .rahband-product__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

.rahband-product__features-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rahband-product__feature-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.rahband-product__feature-text {
  font-size: 1rem;
  color: #1f2937;
}

.rahband-product__feature-plus {
  font-size: 1.5rem;
  color: #263da8;
}

/* ==================== CATALOG CTA SECTION ==================== */
.catalog__cta {
  padding: 4rem 2rem 4rem;
}

.catalog__container {
  position: relative;
  width: 100%;
  max-width: 1599px;
  height: 151px;
  margin: 0 auto;
  padding: 6rem;
  background: linear-gradient(180deg, #AA0F13 0%, #7C0000 100%);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Image wrapper with circles - positioned like Figma */
.catalog__image-wrapper {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 279px;
  height: 210px;
}

.catalog__image-wrapper img {
  position: relative;
  z-index: 2;
  width: 579px;
  height: 210px;
  object-fit: contain;
}

.catalog__circles {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 30px;
  z-index: 1;
}

.catalog__circle {
  position: absolute;
  border-radius: 50%;
}

.catalog__circle--1 {
  width: 230px;
  height: 230px;
  left: 0px;
  top: 0px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.catalog__circle--2 {
  width: 322px;
  height: 322px;
  left: -46px;
  top: -46px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.catalog__circle--3 {
  width: 414px;
  height: 414px;
  left: -92px;
  top: -92px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Text content - positioned like Figma */
.catalog__text {
  position: absolute;
  left: 737px;
  right: 0px;
  height: 83px;
  top: calc(50% - 83px/2 + 1px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.catalog__title {
  width: 479px;
  height: 24px;
  font-size: 20.25px;
  font-weight: 600;
  line-height: 24px;
  color: #FFFFFF;
  text-align: right;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 2rem;
}

.catalog__subtitle {
  width: 379px;
  height: 14px;
  font-size: 13.34px;
  line-height: 14px;
  color: #F5F6F7;
  text-align: right;
  display: flex;
  align-items: center;
  margin: 0;
}

/* Button actions - positioned like Figma */
.catalog__actions {
  position: absolute;
  left: calc(50% - 179px/2 + 0.5px);
  top: calc(50% - 122px/2 + 0.5px);
  width: 179px;
  height: 122px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding: 10px;
}

.catalog__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 159px;
  height: 46px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.catalog__button:hover {
  transform: translateY(-2px);
}

.catalog__button--primary {
  background: #24255B;
  color: #FFFFFF;
}

.catalog__button--secondary {
  background: #FFFFFF;
  color: #413434;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .catalog__container {
    height: auto;
    min-height: 350px;
    padding: 3rem 2rem 2rem;
  }
  
  .catalog__image-wrapper {
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 2rem;
  }
  
  .catalog__text {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    height: auto;
    width: 100%;
    max-width: 379px;
    margin: 0 auto 2rem;
  }
  
  .catalog__actions {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 179px;
    margin: 0 auto;
    align-items: center;
  }
}

/* ==================== FOOTER STYLES ==================== */
.site-footer {
  background-color: white;
  padding: 3rem 0 5rem;
  direction: rtl;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
  padding: 0 clamp(16px,4vw,40px);
}

@media (max-width:1024px){

.footer-container{
    flex-wrap:wrap;
    gap:2rem;
}

.footer-contact-section{
    flex:1 1 100%;
}

.footer-about,
.footer-quick-links{
    flex:1 1 calc(50% - 1rem);
}

}

@media (max-width:768px){

.footer-container{
    flex-direction:column;
}

.footer-about,
.footer-quick-links,
.footer-contact-section{
    width:100%;
    max-width:100%;
}

}

@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 0 3rem;
  }
  
  .footer-container {
    padding: 0 15px;
    gap: 2rem;
  }
}

/* Contact Cards Section */
.footer-contact-section {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  gap: 15px;
  order: 0;
  max-width: 600px;
}

@media (max-width: 1024px) {
  .footer-contact-section {
    flex: none;
    width: 100%;
    max-width: 100%;
    order: 0;
  }
}

.footer-card{
    width:100%;
    aspect-ratio:3/1;
    min-height:170px;
    max-height:220px;
    border-radius:24px;
    background-size:cover;
    background-position:center;
}

.footer-card--persian {
    background: url("../images/per-background.svg") center/cover;
}

.footer-card--english{
    background: url("../images/eng-background.svg") center/cover;
     aspect-ratio: auto;
        min-height: 200px;
}

/* Quick Links Section */
.footer-quick-links {
  flex: 1;
  min-width: 220px;
}

.footer-quick-links-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.footer-quick-links-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  align-items: center;
}

.footer-section-title {
  font-family: 'Abar Mid', 'Vazirmatn', sans-serif;
  font-style: normal;
  font-weight: 700;
font-size:clamp(15px,1vw,18px);
  line-height: 16px;
  color: #1C3079;
  margin: 0;
}

.footer-links-container {
  width: 100%;
  display: flex;
  flex-direction: column;  
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.footer-links li {
  margin: 0;
}

.footer-link{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:6px 0;
    text-decoration:none;
    font-family:'Abar Mid','Vazirmatn',sans-serif;
    text-align:center;
    color:#555;
    transition:.3s;
font-size:clamp(14px,.95vw,16px);
    line-height:1.6;
}

.footer-link:hover {
  color: #1C3079;
}

/* About Section */
.footer-about{
    flex:1;
    min-width:260px;
    max-width:420px;
}

.footer-about-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-about-title {
  font-family: 'Abar Mid', 'Vazirmatn', sans-serif;
font-size:clamp(16px,1vw,20px);
  line-height: 16px;
  color: #1C3079;
  margin: 0;
}

.footer-about-description {
  font-family: 'Abar Mid', 'Vazirmatn', sans-serif;
font-size:clamp(14px,1vw,16px);
line-height:2;
  color: #3E3E3E;
  margin: 0;
  width: 100%;
}

@media (max-width: 1024px) {
  .footer-about {
    max-width: 100%;
    order: 2;
  }
}

/* ==================== GLOBAL STYLES ==================== */
@font-face {
  font-family: 'Vazirmatn';
  src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face/fonts/webfonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
}

body {
  background-color: #f7f7f7;
  color: rgb(30, 41, 59);
  font-family: 'Vazirmatn', 'IRANSans', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
width:100%;
max-width:1400px;
margin:0 auto;
padding:0 clamp(16px,4vw,40px);
}

.btn {
  border: none;
  cursor: pointer;
  font-family: 'Vazirmatn', 'IRANSans', sans-serif;
}

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

@media (min-width:1440px){

.footer-container{
gap:4rem;
}

.footer-about{
max-width:450px;
}

}
@media (max-width:480px){

.site-footer{
padding:2rem 0;
}

.footer-container{
padding:0 16px;
gap:1.5rem;
}

.footer-contact-section{
padding:0;
}

.footer-links{
gap:8px;
}

.footer-about-description{
line-height:1.9;
}

}
/* ====================== Contact Form ====================== */
.contact-form-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    margin-bottom: 40px;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    text-align: right;
}

.form-input,
.form-textarea {
    background-color: #5b7bd6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    background-color: #4a6bc4;
    box-shadow: 0 0 0 3px rgba(91, 123, 214, 0.3);
}

.form-textarea {
    resize: vertical;
    min-height: 160px;
}

.form-submit-btn {
    background-color: #5b7bd6;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    align-self: flex-end;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit-btn:hover {
    background-color: #4a6bc4;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 40px 15px;
    }
    
    .form-submit-btn {
        align-self: stretch;
    }
}

/* ==================== CONTACT PAGE ==================== */
.contact-page {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.contact-page-container {
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.contact-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 42, 120, 0.05) 0%, rgba(20, 25, 70, 0.05) 100%);
    margin-bottom: 60px;
    border-radius: 8px;
}

.contact-hero-inner {
    position: relative;
    z-index: 2;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1e2a78;
    margin-bottom: 15px;
    font-family: 'IRANSans', sans-serif;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-family: 'IRANSans', sans-serif;
}

/* Contact Content */
.contact-content {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.contact-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e2a78;
    margin-bottom: 40px;
    font-family: 'IRANSans', sans-serif;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1e2a78;
    margin-bottom: 8px;
    font-family: 'IRANSans', sans-serif;
}

.contact-info-value {
    font-size: 1rem;
    color: #555;
    font-family: 'IRANSans', sans-serif;
    line-height: 1.6;
}

.contact-info-value a {
    color: #1e2a78;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-value a:hover {
    color: #5a7dd4;
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.contact-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e2a78;
    margin-bottom: 30px;
    font-family: 'IRANSans', sans-serif;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e2a78;
    font-family: 'IRANSans', sans-serif;
}

.required {
    color: #e74c3c;
}

.form-input,
.form-textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: 'IRANSans', sans-serif;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1e2a78;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(30, 42, 120, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.5;
}

.form-submit-btn {
    padding: 14px 30px;
    background-color: #1e2a78;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'IRANSans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-transform: none;
}

.form-submit-btn:hover {
    background-color: #5a7dd4;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 42, 120, 0.2);
}

.form-submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
.contact-success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    font-family: 'IRANSans', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
    }

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

    .contact-hero {
        padding: 50px 0 40px;
        margin-bottom: 40px;
    }

    .contact-content {
        padding: 40px 0;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 30px;
    }

    .contact-info-title,
    .contact-form-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
}

/* ====================== Resume Section ====================== */
.resume-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.resume-container {
    max-width: 1100px;
    margin: 0 auto;
}

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

.logo-dots {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 12px;
}

.dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.dot.red { background-color: #c8102e; }
.dot.blue { background-color: #003087; }

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #003087;
    margin: 0;
}

.resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.resume-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resume-item {
    display: block;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    color: #ffffff;
}

.resume-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Blue Items */
.resume-item--blue {
    background: linear-gradient(135deg, #2c4a8c, #1e3a7a);
}

.resume-item--blue:hover {
    background: linear-gradient(135deg, #1e3a7a, #2c4a8c);
}

/* Red Items */
.resume-item--red {
    background: linear-gradient(135deg, #9b1c2c, #7a1623);
}

.resume-item--red:hover {
    background: linear-gradient(135deg, #7a1623, #9b1c2c);
}

/* Responsive */
@media (max-width: 768px) {
    .resume-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .resume-item {
        padding: 16px 18px;
    }
}
/* ====================== Specifications Section ====================== */
.specs-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.specs-container {
    max-width: 1100px;
    margin: 0 auto;
}

.specs-title {
    text-align: right;
    font-size: 28px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 45px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.specs-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spec-item {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;   /* + stays on right */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    direction: rtl;                    /* Important for Persian */
}

.spec-text {
    font-size: 15.8px;
    line-height: 1.6;
    color: #1f2937;
    flex: 1;
    text-align: right;
    padding-right: 15px;   /* space between text and + */
}

.spec-plus {
    width: 42px;
    height: 42px;
    background-color: #1e3a8a;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(30, 58, 138, 0.3);
}

.spec-plus:hover {
    background-color: #172e6b;
    transform: rotate(90deg) scale(1.08);
}

/* Responsive */
@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
}