:root {
  --primary: #0b0c3a;
  --secondary: #040423;
  --third: #e9f2ff;
  --light-gray: #f9f9f9;
  --footer-color: #111124;
  --accent: #7e83fa;
  --light: #f5f9ff;
  --dark: #0a1a33;
  --text: #333333;
  --gray: #6c757d;
  --white: white;
  --text-color: #1c1919;
  --soft-text: #4a4a4a;
  --hover-text: #0b5ed7;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  --hover-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --btn-green: #4C8027;
}

body { font-family: sans-serif; font-style: normal; }
p, span, .column a, .contact-form { font-family: sans-serif !important; font-style: normal; }

.flex-center { display: flex; justify-content: center; }
.custom-wrapper { width: 100%; max-width: 1300px; }
.custom-pl { padding: 5rem; }
.custom-pr { padding: 5rem; }

/* Scroll-to-top button */
.ui-to-top {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 50px;
  z-index: 999;
  transition: opacity 0.3s;
  width: 58px;
  height: 58px;
  border-radius: 100%;
  font-size: 24px;
  line-height: 58px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: #113448;
  text-decoration: none;
}
.ui-to-top:hover { color: #fff; background: #000; }
.ui-to-top.active { transform: translateY(0); }
@media (min-width: 576px) { .ui-to-top { right: 40px; bottom: 40px; } }

/* ---------- HEADER UTILITY ---------- */
.mega-dropdown .dropdown-toggle::after { content: "▼"; font-size: 0.6em; margin-left: 4px; }
.mega-dropdown.open .dropdown-toggle::after { content: "▲"; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mega-menu { display: none; }
.mega-menu.open { display: flex; }
.mega-menu-link {
  display: block;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 15px;
  color: #1c3d5b;
  text-decoration: none;
}
.mega-menu-link:hover, .mega-menu-link:focus {
  color: var(--hover-text);
  text-decoration: none;
  outline: none;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  display: flex;
  justify-content: center;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: -26px;
  left: -100px;
  width: 350px;
  height: 350px;
  opacity: 0.1;
  z-index: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #3a9e8a);
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
  position: relative;
}
.hero-content { max-width: 50%; }
.hero-content-title {
  line-height: 1.2;
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  margin: 1.5rem 0;
}
.hero-content p { color: #fff; }
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}
.buttons button,
.buttons a {
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.book-consultation-btn {
  line-height: 1rem !important;
  font-size: 1rem !important;
  font-family: inherit;
  font-style: normal;
  width: auto;
  min-width: 220px;
  background-color: #ff3c2f;
  color: white;
  font-weight: 700 !important;
}
.contact-btn-2 {
  line-height: 1rem !important;
  font-size: 1rem !important;
  width: auto;
  min-width: 180px;
  background-color: var(--btn-green);
  color: white;
  font-weight: 700 !important;
}
.partners-wrapper {
  overflow-x: auto;
  width: 100%;
  padding: 1rem 0;
}
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
}
.partners a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.partners img {
  max-height: 72px;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
}
.globe-animation { position: relative; }
.lottie-animation {
  width: 114%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1104px) {
  .hero {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-height: 55vh !important;
    padding-top: inherit;
  }
  .hero-content { max-width: 100% !important; text-align: center; }
  .buttons { justify-content: center; }
  .display-hide { display: none; }
}
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-height: 55vh;
    padding: 3rem 1rem;
  }
  .hero-content, .hero-animation { max-width: 100%; text-align: center; }
  .buttons { justify-content: center; }
  .lottie-animation { width: 100%; }
  .partners { justify-content: center; gap: 1.2rem; }
  .partners img { max-height: 40px; }
  .custom-pl { padding-left: 1rem; padding-right: 1rem; }
  .custom-pr { padding-left: 1rem; padding-right: 1rem; }
}
@media (max-width: 768px) {
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 1rem;
    min-height: 55vh;
    position: relative;
  }
}

/* ---------- CLIENT TESTIMONIAL ---------- */
.client-testimonial {
  background-color: var(--light-gray);
  max-width: 100%;
  margin: 0 auto;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}
.testimonial-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.quote {
  font-size: 2.2rem;
  color: black;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  margin: 0;
}
.quote-container { width: 50%; }
.testimonial-bottom {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}
.cta-button {
  color: #e74c3c;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.cta-button:hover {
  color: #c0392b;
  transform: translateX(5px);
}
@media (max-width: 768px) {
  .testimonial-content { flex-direction: column; gap: 25px; }
  .quote { font-size: 1.5rem; }
  .testimonial-bottom { width: 100%; display: flex; flex-direction: column; gap: 25px; }
  .quote-container { width: 100%; }
}

/* ---------- WHY SYFTET / ABOUT US ---------- */
.why-syftet { background-color: var(--white); }
.container-why-us { text-align: center; }
.section-title {
  font-size: 2.5rem;
  color: #2c3e50;
  font-weight: 700;
  position: relative;
  display: inline-block;
  text-align: center;
  margin-bottom: 50px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 39.5%;
  transform: translateX(-50%);
  width: 132px;
  height: 4px;
  background-color: #e74c3c;
}
.feature-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
  align-items: center;
  gap: 40px;
}
.feature-row.reverse { flex-direction: row-reverse; }
.feature-image img {
  width: 100%;
  border-radius: 12px;
  max-width: 500px;
}
.feature-text {
  text-align: left;
  flex: 1;
  min-width: 300px;
  margin-top: 10px;
}
.feature-text h3 { color: black; font-size: 24px; margin-bottom: 16px; }
.feature-text p {
  color: var(--soft-text);
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.7;
  flex-grow: 1;
}
.feature-text a { color: #0a88ff; text-decoration: none; }
.stats-section {
  background: #0e0f47;
  color: #fff;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 12px;
}
.stat { flex: 1 1 200px; padding: 2rem; }
.stat h3 { font-size: 28px; margin-bottom: 8px; }
.stat p { font-size: 14px; opacity: 0.8; }
.stat h3::after { content: "+"; margin-left: 2px; }
.stat[data-type="experience"] h3::after { content: "+ years"; margin-left: 2px; }
.stat.cta p { margin-bottom: 12px; }
.about-btn {
  line-height: 1rem !important;
  font-size: 1rem !important;
  display: inline-block;
  padding: 5px 20px;
  background-color: var(--btn-green);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 768px) {
  .container-why-us { margin: 0 auto; padding: 0; }
  .section-title { font-size: 2rem; }
  .feature-text { flex: 1; min-width: 206px; }
  .stats-section { margin: 0; padding: 0; }
}

/* ---------- SERVICES ---------- */
.services-section {
  display: flex;
  justify-content: center;
  background-color: var(--light-gray);
}
.section-title-service { text-align: center; margin-bottom: 60px; }
.section-title-service h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.section-title-service h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--accent);
  border-radius: 3px;
}
.section-title-service p {
  color: var(--gray);
  max-width: 700px;
  margin: 35px auto 0;
  font-size: 1.2rem;
  line-height: 1.7;
}
.services-grid-service {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}
.service-card-service {
  border-radius: 1rem;
  padding: 1rem;
  background: white;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  transform: translateY(0);
  cursor: pointer;
}
.service-card-service:hover {
  box-shadow: var(--hover-shadow);
  background-color: var(--light-gray);
}
.service-icon-service {
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-size: 25px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}
.service-content-service {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}
.service-content-service h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 700;
}
.service-content-service p {
  color: var(--gray);
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.7;
  flex-grow: 1;
}
.card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
@media (max-width: 992px) {
  .services-grid-service { gap: 25px; }
  .service-content-service { padding: 25px; }
}
@media (max-width: 768px) {
  .section-title-service h2 { font-size: 2.2rem; }
  .section-title-service p { font-size: 1.1rem; }
  .service-icon-service { height: 4rem; font-size: 50px; }
}
@media (max-width: 480px) {
  .section-title-service h2 { font-size: 2rem; }
  .service-icon-service { height: 3rem; font-size: 45px; }
  .service-content-service { padding: 20px; }
  .service-content-service h3 { font-size: 1.4rem; }
  .service-content-service p { font-size: 1rem; }
}
@media (max-width: 350px) {
  .services-grid-service { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}
@media (max-width: 285px) {
  .services-grid-service { grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); }
}

/* ---------- TECHNOLOGIES ---------- */
.technologies-section {
  display: flex;
  justify-content: center;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}
.technologies-section::before,
.technologies-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}
.technologies-section::before {
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--accent), #3a9e8a);
}
.technologies-section::after {
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary), #2c5aa0);
  opacity: 0.05;
}
.section-title-tech { text-align: center; margin-bottom: 70px; position: relative; z-index: 1; }
.section-title-tech h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.section-title-tech h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: var(--accent);
  border-radius: 3px;
}
.section-title-tech p {
  color: var(--gray);
  max-width: 800px;
  margin: 35px auto 0;
  font-size: 1.2rem;
  line-height: 1.7;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}
.tech-card {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 2s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.9s ease forwards;
  opacity: 0;
}
.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2s ease;
}
.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(74, 177, 157, 0.3);
}
.tech-card:hover::before { transform: scaleX(1); }
.tech-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--light), white);
  border-radius: 20px;
  font-size: 40px;
  color: var(--primary);
  transition: all 0.9s ease;
}
.tech-card:hover .tech-icon {
  background: linear-gradient(135deg, var(--primary), #2c5aa0);
  color: white;
  transform: scale(1.1);
}
.tech-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: all 0.9s ease;
}
.tech-card:hover .tech-icon img { transform: scale(1.1); }
.tech-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s ease;
}
.tech-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
}
.tech-card a:hover .tech-name { color: var(--accent); }
.tech-card:hover .tech-name { color: var(--accent); }
@media (max-width: 992px) {
  .tech-grid { gap: 20px; }
  .tech-card { padding: 25px 15px; }
  .tech-icon { width: 70px; height: 70px; font-size: 35px; }
}
@media (max-width: 768px) {
  .technologies-section { padding: 60px 30px; }
  .section-title-tech h2 { font-size: 2.3rem; }
  .section-title-tech p { font-size: 1.1rem; }
  .tech-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
}
@media (max-width: 480px) {
  .technologies-section { padding: 50px 20px; }
  .section-title-tech h2 { font-size: 2rem; }
  .tech-icon { width: 60px; height: 60px; font-size: 30px; }
  .tech-name { font-size: 1.1rem; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.tech-card:nth-child(1)  { animation-delay: 0.1s; }
.tech-card:nth-child(2)  { animation-delay: 0.2s; }
.tech-card:nth-child(3)  { animation-delay: 0.3s; }
.tech-card:nth-child(4)  { animation-delay: 0.4s; }
.tech-card:nth-child(5)  { animation-delay: 0.5s; }
.tech-card:nth-child(6)  { animation-delay: 0.6s; }
.tech-card:nth-child(7)  { animation-delay: 0.7s; }
.tech-card:nth-child(8)  { animation-delay: 0.8s; }
.tech-card:nth-child(9)  { animation-delay: 0.9s; }
.tech-card:nth-child(10) { animation-delay: 1.0s; }

/* ---------- CONTACT FORM ---------- */
.form-container {
  display: flex;
  justify-content: center;
  background-color: var(--light-gray);
}
.form-heading { text-align: center; margin-bottom: 40px; }
.form-heading h2 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 2rem;
}
.form-heading h2 span:first-child  { color: #8ec641; }
.form-heading h2 span:nth-child(2) { color: #0e0f47; }
.form-heading h2 span:last-child   { color: black; }
.form-grid {
  padding: 0 8rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: stretch;
}
.profile-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.profile-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
}
.profile-card h3 { font-size: 2rem; margin-bottom: 1rem; color: #111; line-height: 1.2; }
.profile-card p {
  color: #555555;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}
.contact_buttons { display: flex; flex-direction: column; }
.ask-btn,
.book-btn {
  line-height: 1rem !important;
  font-size: 1rem !important;
  display: block;
  width: 100%;
  padding: 0.6rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1rem;
}
.ask-btn { background: #d6f8d6; color: #1a7f1a; }
.book-btn { background-color: #ff3c2f; color: white; }
.contact-form { font-family: sans-serif !important; font-style: normal; }
.contact-form .form-group { margin-bottom: 2rem; }
.form-group-inline { display: flex; gap: 1rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: sans-serif !important;
  font-style: normal;
  display: inline-block;
  width: 100%;
  height: 4rem;
  border: none;
  border-bottom: 1px solid #6e6e6e;
  background: transparent;
  font-size: 1.2rem;
  color: black;
  outline: none;
}
.contact-form textarea { resize: vertical; height: 100px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select { color: gray !important; }
.contact-form select:valid { color: black; }
.submit-wrapper { margin-top: 2rem !important; text-align: right; }
.submit-btn {
  font-size: 1rem !important;
  background: #ff3c2f;
  color: white;
  padding: 0.6rem 2rem !important;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: all 0.3s ease;
}
.submit-btn:hover { background: green; }
.error-message { display: none; color: red; }
@media (max-width: 1246px) {
  .form-grid { padding: 0; }
}
@media (max-width: 992px) {
  .form-grid { grid-template-columns: 250px 1fr; }
}
@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-group-inline { flex-direction: column; }
  .form-heading h2 { font-size: 2rem; font-weight: 500; }
}

/* ---------- FOOTER ---------- */
.site-footer {
  display: flex;
  justify-content: center;
  background-color: var(--footer-color);
}
.footer-locations {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem;
  text-align: left;
}
.footer-locations h4 {
  font-size: 20px !important;
  color: white;
  font-weight: bold;
  margin-bottom: 8px;
}
.footer-locations p {
  color: #ddd;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 0;
}
.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}
.social-links img { height: 24px; margin-right: 10px; display: inline-block; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.footer-nav a { text-decoration: none; color: #f2f3f4; font-weight: 500; }
.footer-nav a:hover { color: var(--hover-text); text-decoration: none !important; outline: none; }
.copyright { color: white; }
@media (max-width: 768px) {
  .footer-locations { flex-direction: column; text-align: center; gap: 1rem; }
  .footer-locations p { text-align: center !important; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
