html {
  scroll-behavior: smooth;
}
.hidden{
    font-size:0.9rem;
    font-weight: 500;
    gap: 30px;
}
.bg-gradient{
    color: #2563EB;
}
section > h2 {
  margin-bottom: 72px;
}

section {
  scroll-margin-top: 120px;
}
.reveal {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity .8s ease,
              transform .8s cubic-bezier(.4,0,.2,1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

#logod{
    width: 70px;
    height: 70px;
    border-radius: 50%;

}
/* SERVICES */
#services-section {
  margin-top: 160px;
}
#services-section .services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px; /* ✔ real breathing space */
  margin-top: 64px;
}
#services-section > div {
  gap: 32px;
}


#services-section .service-card {
  border: 1px solid  #2563EB;
  border-radius: 20px;
  padding: 36px 28px;
  background: linear-gradient(145deg, rgba(30,58,138,.1), transparent);
  transition: transform .45s cubic-bezier(.4,0,.2,1),
              box-shadow .45s,
              border-color .45s;
  max-width: 320px;
  text-align: center;
}

#services-section .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px  #2563EB;
  border-color:  #2563EB;
}

.service-icon {
  font-size: 48px;              /* big & bold */
  color:  #2563EB;             /* professional blue */
  margin-bottom: 18px;
}


#services-section h3 {
  margin-bottom: 6px;
}

.price {
  margin-top: 10px;
  color:  #2563EB;
  font-weight: 600;
}

/* PROJECTS */
#projects-section {
  margin-top: 180px;
}


.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px; /* ✔ clean, consistent spacing */
  margin-top: 64px;
}

.project-card h3{
    font-size: 1.2rem;
    color: #2563EB;
}
.project-filter{
    font-size: 1rem;
    font-weight: 500;
    color:  #2563EB;
}
/* animated filtering */
.project-card {
  position: relative;
  border: 1px solid rgba(30,58,138,.35);
  border-radius: 30px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(30,58,138,.08), transparent);
  transition:
    transform .45s cubic-bezier(.4,0,.2,1),
    opacity .35s ease,
    box-shadow .45s;
    margin-top:20px ;
}

.project-card.hide {
  opacity: 0;
  transform: scale(.96);
  pointer-events: none;
}
.project-expand img{
    border-radius: 20px;
    max-width: 900px;
    padding-bottom: 10px;
}
.project-card.show {
  opacity: 1;
  transform: scale(1);
}
.toggle-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(30,58,138,.35);
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color:  #2563EB;

  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); /* slower & smoother */
}

/* Subtle rotation when card open */
.project-card.open .toggle-btn {
  transform: rotate(45deg); /* slower, smooth rotation */
}



.project-expand {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    max-height .6s cubic-bezier(.4,0,.2,1),
    opacity .4s ease,
    transform .4s ease;
}

.project-card.open .project-expand {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 20px;
}
.project-card:hover {
  box-shadow: 0 18px 42px rgba(30,58,138,.22);
}
.project-expand .links{
    font-size: 1rem;
    padding: 0px 20px;
    color:  #2563EB;
}

/* TEAM SECTION */
#team-section .team-card {
  max-width: 320px;
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(30,58,138,.35);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(30,58,138,.08), transparent);
  transition: all .4s ease;
}

#team-section .team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(30,58,138,.25);
}

#team-section .team-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

#team-section .team-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

#team-section .team-info h3 {
  font-weight: 600;
  font-size: 1.1rem;
}

#team-section .team-info span {
  font-size: .85rem;
  color:  #2563EB;
}

#team-section .team-info p {
  font-size: .9rem;
  color: #64748b;
  line-height: 1.5;
}

#team-section .team-socials {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

#team-section .team-socials svg {
  width: 20px;
  height: 20px;
  fill:  #2563EB;
  transition: transform .3s, opacity .3s;
}

#team-section .team-socials a:hover svg {
  transform: scale(1.15);
  opacity: .85;
}
/* TEAM SLIDER LAYOUT */
.team-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* VIEWPORT */
.team-slider {
  overflow: hidden;
  width: 100%;
}

/* TRACK (FIXED CLASS NAME) */
.team-slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* SHOW 3 CARDS */
.team-card {
  flex: 0 0 calc(33.333% - 22px);
}

/* ARROWS */
.team-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(30,58,138,.35);
  background: rgba(30,58,138,.08);
  color:  #2563EB;
  font-size: 22px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background .3s ease, transform .3s ease;
}

.team-arrow:hover {
  background: rgba(30,58,138,.18);
  transform: scale(1.08);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .team-card {
    flex: 0 0 calc(50% - 16px);
  }
}

@media (max-width: 640px) {
  .team-card {
    flex: 0 0 100%;
  }
@media (max-width: 400px) {
  .team-card {
    flex: 0 0 100%;
  }}
}
