/* --- Dynamic Modern Team Section Styles --- */
.team-modern-section {
  background: linear-gradient(135deg, #f8fafc 60%, #e3f0ff 100%);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(60, 60, 120, 0.08);
  margin-bottom: 40px;
  padding: 70px 0 60px 0;
}
.team-modern-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.team-modern-gradient {
  background: linear-gradient(90deg, #4f8cff 0%, #ff9800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: teamTitleGradientMove 3.5s linear infinite alternate;
}
@keyframes teamTitleGradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.team-modern-heading {
  font-size: 1.35rem;
  color: #222;
  font-weight: 600;
  margin-bottom: 32px;
}
.team-modern-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 32px;
  justify-content: center;
  align-items: stretch;
  margin-top: 32px;
}
.team-modern-card {
  background: rgba(255,255,255,0.85);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(45,140,240,0.10), 0 1.5px 12px 0 rgba(80,80,120,0.07);
  padding: 32px 24px 24px 24px;
  max-width: 290px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s, transform 0.4s, background 0.4s;
  z-index: 1;
}
.team-modern-card::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at 30% 30%, #4f8cff22 0%, #fff0 80%);
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.team-modern-card:hover {
  box-shadow: 0 16px 48px 0 rgba(45,140,240,0.18), 0 2px 16px 0 rgba(80,80,120,0.10);
  background: rgba(255,255,255,0.97);
  transform: translateY(-8px) scale(1.025);
}
.team-modern-card:hover::before {
  opacity: 0.7;
}
.team-modern-img-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(45,140,240,0.13), 0 0 0 4px #fff, 0 0 16px 2px rgba(45,140,240,0.10);
  margin-bottom: 18px;
  background: linear-gradient(135deg, #e3f0ff 0%, #f8fafc 100%);
  position: relative;
  z-index: 1;
  border: 3px solid #2d8cf0;
  transition: box-shadow 0.4s, transform 0.4s, border-color 0.4s;
}
.team-modern-card:hover .team-modern-img-wrap {
  box-shadow: 0 8px 32px rgba(45,140,240,0.18), 0 0 0 6px #fff, 0 0 32px 6px #2d8cf0;
  border-color: #ff9800;
  transform: scale(1.04);
}
.team-modern-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 0 2px 8px rgba(45,140,240,0.10);
  transition: transform 0.4s, box-shadow 0.4s;
}
.team-modern-card:hover .team-modern-img {
  transform: scale(1.08) rotate(-2deg);
}
.team-modern-info {
  text-align: center;
  z-index: 2;
}
.team-modern-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: #2d8cf0;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.team-modern-role {
  font-size: 1.01rem;
  color: #ff9800;
  font-weight: 500;
  letter-spacing: 0.2px;
}
@media (max-width: 991px) {
  .team-modern-grid {
    gap: 24px 12px;
  }
  .team-modern-card {
    max-width: 90vw;
    padding: 24px 8px 18px 8px;
  }
  .team-modern-img-wrap {
    width: 110px;
    height: 110px;
  }
}
/* Modern About Sightdreamservices Card */
.about-modern-card {
  background: rgba(255,255,255,0.85);
  border-radius: 32px;
  box-shadow: 0 12px 48px 0 rgba(45,140,240,0.18), 0 1.5px 12px 0 rgba(80,80,120,0.07);
  padding: 64px 72px 56px 72px;
  max-width: 1280px;
  width: 99%;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px) saturate(1.2);
  border: 1.5px solid rgba(80,160,255,0.13);
  transition: box-shadow 0.4s, transform 0.4s, background 0.4s;
}
.about-modern-card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle at 30% 30%, #4f8cff33 0%, #fff0 80%);
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.about-modern-card:hover {
  box-shadow: 0 24px 64px 0 rgba(45,140,240,0.22), 0 2px 16px 0 rgba(80,80,120,0.10);
  background: rgba(255,255,255,0.97);
  transform: translateY(-6px) scale(1.012);
}
.about-modern-card:hover::before {
  opacity: 0.7;
}
/* .about-modern-card block ends above. Start .about-modern-flex block. */
.about-modern-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.about-modern-img-col {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-modern-img-wrap {
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(45,140,240,0.18);
  overflow: hidden;
  transition: box-shadow 0.4s, transform 0.4s;
  background: linear-gradient(135deg, #e3f0ff 0%, #f8fafc 100%);
  position: relative;
  z-index: 1;
}
.about-modern-img-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 22px;
  background: linear-gradient(120deg, #4f8cff22 0%, #ff980022 100%);
  opacity: 0.18;
  pointer-events: none;
}
/* .about-modern-img-wrap::after block ends above. Start .about-modern-img block. */
.about-modern-img {
  width: 100%;
  max-width: 340px;
  min-width: 180px;
  border-radius: 18px;
  display: block;
/* .about-modern-img block ends above. Start .about-modern-img-wrap:hover block. */
.about-modern-img-wrap:hover {
  box-shadow: 0 24px 64px rgba(45,140,240,0.22);
  transform: scale(1.035) rotate(-1deg);
}
.about-modern-text-col {
  flex: 2 1 380px;
  min-width: 220px;
}
.about-modern-title-gradient {
  font-size: 2.9rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #4f8cff 0%, #ff9800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: aboutTitleGradientMove 3.5s linear infinite alternate;
}
@keyframes aboutTitleGradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
/* .about-modern-img-wrap:hover block ends above. Start .about-modern-title-orange block. */
.about-modern-title-orange {
  color: #ff9800;
  font-size: 2.8rem;
  background: none;
  -webkit-text-fill-color: initial;
  color: initial;
  -webkit-text-fill-color: initial;
}
.about-modern-title-blue {
  color: #2d8cf0;
  font-weight: 600;
}
.about-modern-subheading {
  font-size: 1.4rem;
  color: #222;
  font-weight: 700;
  margin-bottom: 18px;
}
.about-modern-desc {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 12px;
}
.about-modern-extra {
  margin-top: 22px;
  background: linear-gradient(120deg, #f5faff 60%, #e3f0ff 100%);
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 4px 18px rgba(45,140,240,0.09);
  font-size: 1.13rem;
  color: #444;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.4s, background 0.4s;
/* .about-modern-title-orange block ends above. Start .about-modern-extra:hover block. */
.about-modern-extra:hover {
  box-shadow: 0 8px 32px rgba(45,140,240,0.13);
  background: linear-gradient(120deg, #e3f0ff 60%, #f5faff 100%);
}
/* .about-modern-extra:hover block ends above. Start media query. */
@media (max-width: 991px) {
  .about-modern-flex {
    flex-direction: column;
    gap: 18px;
  }
  .about-modern-card {
    padding: 18px 2vw 12px 2vw;
    max-width: 100%;
    width: 100%;
    border-radius: 18px;
  }
  .about-modern-img-wrap {
    border-radius: 14px;
  }
  .about-modern-img-wrap::after {
    border-radius: 14px;
  }
}
/* Modern Footer Contact Form Styles */
.footer-contact-form {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(60, 60, 120, 0.08);
  padding: 24px 20px;
  max-width: 500px;
  margin: 0 auto 32px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-form-row {
  display: flex;
  gap: 12px;
}
.footer-contact-form input,
.footer-contact-form textarea {
  border: 1px solid #e0e7ef;
  border-radius: 8px;
  padding: 12px;
  font-size: 1em;
  background: #f8fafc;
  transition: border 0.2s;
  width: 100%;
}
.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
  border: 1.5px solid #4f8cff;
  outline: none;
  background: #fff;
}
.footer-contact-form textarea {
  resize: vertical;
  min-height: 60px;
}
.footer-form-btn {
  background: linear-gradient(90deg, #4f8cff 0%, #6a82fb 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.footer-form-btn:hover {
  background: linear-gradient(90deg, #6a82fb 0%, #4f8cff 100%);
}
/* Modern About Section Background and Title */
.about-modern-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(60, 60, 120, 0.08);
    margin-bottom: 40px;
}
.about-modern-title {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #22223b;
    background: linear-gradient(90deg, #4f8cff 0%, #6a82fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
    
}
body {
    font-family: 'Roboto', sans-serif;
}
.image-container-styled {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.image-container-styled:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.page-section.extra-padding {
    padding: 80px 0;
}
.team-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: stretch;
    gap: 0;
}
.team-grid .team-item {
    min-width: 220px;
    max-width: 260px;
    flex: 1 1 0;
    margin: 0 10px;
}
@media (max-width: 991px) {
  .team-grid {
    flex-wrap: wrap !important;
  }
  .team-grid .team-item {
    min-width: 180px;
    max-width: 100%;
    margin-bottom: 20px;
  }
}
.team-grid .team-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    text-align: center;
}
.team-item-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.team-item-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
