﻿:root {
    --default-font: 'iransans', sans-serif;
    --background-color: #ffffff;
    --primary-color: #fdaf19;
    --secondary-color: #1c1775;
    --highlight-color: #feac0e;

    --default-color: #212529;
    --heading-color: #2d465e;
    --accent-color: #0d83fd;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
    --border-color: #eee;
    --nav-color: #212529;
    --nav-hover-color: #0d83fd;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #212529;
    --nav-dropdown-hover-color: #0d83fd;
}

body{
    font-family: var(--default-font);
}

.btn-primary{
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
}

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

.text-primary{
    color: var(--primary-color) !important;
}

.text-secondary{
    color: var(--secondary-color) !important;
}

.bg-secondary{
    background-color: var(--secondary-color) !important;
}

/* Add custom styles */
  body {
    padding-top: 70px;
  }

  .hero-section {
    min-height: calc(100vh - 70px);
    padding: 1rem 0;
    background-color: #1c1775;
  }

  .clients-section {
    background-image: url('../images/customer-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    width: 100%;
  }

  .clients-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.95);
  }

  .client-logo {
    max-height: 80px;
    width: auto;
    filter: brightness(1) invert(0);
    opacity: 0.7;
    transition: all 0.3s ease;
  }

  .client-logo:hover {
    filter: brightness(0) invert(1);
    opacity: 1;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #1c1775;
    opacity: 0.8;
    pointer-events: auto;
    position: relative;
    margin: 0 -1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-control-prev i,
  .carousel-control-next i {
    color: white;
    font-size: 1.5rem;
    position: relative;
    top: 2px;
  }

  .carousel-control-prev i {
    right: -1px;
  }

  .carousel-control-next i {
    left: -1px;
  }

  .carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
  }

  .carousel-inner {
    overflow: hidden;
    width: 100%;
  }

  @media (max-width: 991.98px) {
    .navbar .navbar-collapse {
      position: absolute;
      top: 100%;
      right: 0;
      left: 0;
      background: white;
      padding: 1rem;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .navbar .navbar-nav {
      text-align: center;
    }
    .navbar .navbar-toggler {
      margin: 0 1rem;
    }
  }
  @media (min-width: 992px) {
    .navbar .navbar-toggler {
      display: none;
    }
    .navbar-nav {
      flex-direction: row !important;
    }
    .navbar-nav .nav-item {
      padding: 0 0.5rem;
    }
  }

  .why-section {
    background-color: #fff;
  }

  .card {
    transition: transform 0.3s ease;
  }

  .card:hover {
    transform: translateY(-5px);
  }

  .card-img-wrapper {
    padding: 2rem;
    background-color: #f8f9fa;
  }

  .card-img-top {
    height: 120px;
    object-fit: contain;
  }

  .projects-section {
    background-color: #1c1775;
    width: 100%;
  }

  .projects-sidebar {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }

  .list-group-item {
    border: none;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease;
    background-color: transparent;
    color: white;
  }

  .list-group-item:hover,
  .list-group-item.active {
    background-color: #ffffff;
    color: #1c1775;
  }

  .list-group-item:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.9);
  }

  .project-slide {
    border-radius: 1rem;
    overflow: hidden;
  }

  .project-slide img {
    height: 600px;
    object-fit: cover;
  }

  .project-info {
    background: linear-gradient(0deg, rgba(28, 23, 117, 0.9) 0%, rgba(28, 23, 117, 0) 100%);
    border-radius: 0 0 1rem 1rem;
  }

  .btn-outline-primary {
    color: white;
    border-color: white;
  }

  .btn-outline-primary:hover {
    background-color: white;
    color: #1c1775;
    border-color: white;
  }

  @media (max-width: 991.98px) {
    .project-slide img {
      height: 400px;
    }
  }

  @media (max-width: 767.98px) {
    .project-slide img {
      height: 300px;
    }
  }

  .certificates-section {
    background-color: #fff;
  }

  .certificate-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    height: 400px;
  }

  .certificate-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .certificate-card:hover img {
    transform: scale(1.05);
  }

  .certificate-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(0deg, rgba(28, 23, 117, 0.9) 0%, rgba(28, 23, 117, 0) 100%);
    color: white;
    text-align: center;
  }

  .carousel-indicators {
    margin-bottom: -1rem;
  }

  .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #1c1775;
    opacity: 0.5;
    margin: 0 5px;
  }

  .carousel-indicators button.active {
    opacity: 1;
  }

  @media (max-width: 767.98px) {
    .certificate-card {
      height: 300px;
      margin-bottom: 1rem;
    }
  }

  .news-section .card {
    transition: transform 0.3s ease;
  }

  .news-section .card:hover {
    transform: translateY(-5px);
  }

  .news-section .card-img-top {
    height: 200px;
    object-fit: cover;
  }

  .news-section .card-body {
    padding: 1.5rem;
  }

  .news-section .card-title {
    color: #1c1775;
    font-weight: 600;
    line-height: 1.5;
    min-height: 3rem;
  }

  @media (max-width: 767.98px) {
    .news-section .card-img-top {
      height: 180px;
    }
  }


/* Footer */
  .footer {
font-size: 0.9rem;
}

.footer-title {
position: relative;
display: inline-block;
padding-bottom: 0.5rem;
}

.footer-title::after {
content: '';
position: absolute;
right: 0;
bottom: 0;
width: 50px;
height: 2px;
background-color: var(--bs-primary);
}

.footer-links a {
color: #fff;
text-decoration: none;
transition: all 0.3s ease;
display: inline-block;
}

.footer-links a:hover {
color: var(--bs-primary);
transform: translateX(-5px);
}

.contact-item {
display: flex;
align-items: center;
opacity: 0.8;
}

.newsletter-form .form-control {
padding: 0.75rem 1rem;
border-start-end-radius: 0;
border-end-end-radius: 0;
}

.newsletter-form .form-control::placeholder {
color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
border-start-start-radius: 0;
border-end-start-radius: 0;
padding-inline: 1rem;
}

.social-links {
display: flex;
gap: 1rem;
}

.social-link {
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
text-decoration: none;
transition: all 0.3s ease;
}

.social-link:hover {
background-color: var(--bs-primary);
color: #fff;
transform: translateY(-3px);
}

.footer-bottom {
font-size: 0.85rem;
opacity: 0.8;
}

.phone-link {
transition: color 0.3s ease;
}

.phone-link:hover {
color: var(--bs-primary) !important;
}