@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}



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

body {
  background-color: #f5f5f5;
  font-family: "Poppins", sans-serif;
}


/* Navigation */
.primary-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(5%, 4vw, 8%);
  position: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.primary-nav__logo h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: linear-gradient(45deg, #2c3e50, #3498db);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.primary-nav__list {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  list-style: none;
}

.primary-nav__link {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}



.primary-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.primary-nav__link:hover {
  color: #3498db;
}

.primary-nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav__link.active {
  color: #3498db;
}

.btn--primary {
  background: linear-gradient(45deg, #3498db, #2980b9);
  color: white;
  padding: clamp(10px, 2vw, 12px) clamp(20px, 3vw, 30px);
  border: none;
  border-radius: 50px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  gap: clamp(2rem, 4vw, 6rem);
  min-height: 100vh;
  padding: clamp(6rem, 8vw, 8rem) clamp(5%, 6vw, 8%) clamp(3rem, 4vw, 5rem);
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  align-items: center;
  position: relative;
  overflow: hidden;
  animation: slideInLeft 1s ease-out;

}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(52, 152, 219, 0.1), transparent 60%);
  pointer-events: none;
}

.hero__media {
  animation: float 6s ease-in-out infinite;
}


.hero__img {
  width: 100%;
  max-width: min(100%, 600px);
  height: auto;
  border-radius: clamp(10px, 2vw, 20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s ease;
}

.hero__content {
  animation: slideIn 1s ease-out;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.2;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(45deg, #2c3e50, #3498db);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

.hero__text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #666;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.8;
}

.btn--secondary {
  background: #2c3e50;
  color: white;
  padding: clamp(12px, 2vw, 15px) clamp(25px, 3vw, 35px);
  border: none;
  border-radius: 50px;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.btn--secondary:hover {
  background: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%) scale(0.8);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.services {
  padding: clamp(5rem, 8vw, 10rem) clamp(5%, 6vw, 8%);
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
  text-align: center;
  position: relative;
  animation: slideInLeft 1s ease-out;
  -webkit-animation: slideInLeft 1s ease-out;
}

.services__title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(45deg, #2c3e50, #3498db);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -1px;
}

.services__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #666;
  max-width: min(90%, 700px);
  margin: 0 auto clamp(3rem, 4vw, 5rem);
  line-height: 1.8;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(2rem, 3vw, 3rem);
  padding: clamp(1rem, 1.5vw, 1.5rem);
}

.service-card {
  background: white;
  border-radius: clamp(15px, 2vw, 20px);
  padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2vw, 2rem);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(44, 62, 80, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__img {
  width: clamp(60px, 8vw, 80px);
  height: clamp(60px, 8vw, 80px);
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.1) rotate(5deg);
}

.service-card__title {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  color: #2c3e50;
  margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 600;
}

.service-card__text {
  color: #666;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.7;
}

.service-card__link {
  display: inline-block;
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.service-card__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3498db;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.service-card__link:hover {
  color: #2980b9;
}

.service-card__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
  gap: clamp(3rem, 5vw, 6rem);
  padding: clamp(5rem, 8vw, 10rem) clamp(5%, 6vw, 8%);
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
  align-items: center;
  position: relative;
}

.about__content {
  animation: slideInLeft 1s ease-out;
}

.about__title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
  background: linear-gradient(45deg, #2c3e50, #3498db);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -1px;
}

.about__text {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #666;
  line-height: 1.8;
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.btn--tertiary {
  background: transparent;
  color: #3498db;
  padding: clamp(12px, 2vw, 15px) clamp(25px, 3vw, 35px);

  border: 2px solid #3498db;
  border-radius: 50px;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn--tertiary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #3498db;
  transition: width 0.3s ease;
  z-index: -1;
  -webkit-transition: width 0.3s ease;
  -moz-transition: width 0.3s ease;
  -ms-transition: width 0.3s ease;
  -o-transition: width 0.3s ease;
}

.btn--tertiary:hover {
  color: white;
}

.btn--tertiary:hover::before {
  width: 100%;
}

.about__media {
  position: relative;
}

.about__img {
  width: 100%;
  max-width: min(100%, 550px);
  height: auto;
  border-radius: clamp(15px, 2vw, 20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s ease;
}

.about__img:hover {
  transform: scale(1.05);
}



.achievements {
  padding: clamp(5rem, 8vw, 10rem) clamp(5%, 6vw, 8%);
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  text-align: center;
  position: relative;
}

.achievements__content {
  position: relative;
  z-index: 2;
}

.achievements__title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -1px;
}


.achievements__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  opacity: 0.9;
  max-width: min(90%, 600px);
  margin: 0 auto clamp(2rem, 4vw, 4rem);
}


.achievements__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(2rem, 3vw, 3rem);
}

.achievement-card {
  background: rgba(255, 255, 255, 0.1);
  padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2vw, 2rem);
  border-radius: clamp(15px, 2vw, 20px);
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease;
}

.achievement-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.achievement-card__icon {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
}

.achievement-card__icon i {
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-card__icon i {
  transform: scale(1.1) rotate(5deg);
}

.achievement-card__number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: clamp(0.8rem, 1vw, 1rem);
  background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.achievement-card__text {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  opacity: 0.9;
}

.case-studies {
  padding: clamp(5rem, 8vw, 10rem) clamp(5%, 6vw, 8%);
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  text-align: center;
}

.case-studies__title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: clamp(2rem, 4vw, 4rem);
  background: linear-gradient(45deg, #2c3e50, #3498db);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.case-studies__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: clamp(2rem, 3vw, 3rem);
}

.case-card {
  background: white;
  border-radius: clamp(15px, 2vw, 20px);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.case-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.case-card__img {
  width: 100%;
  height: clamp(200px, 25vw, 250px);
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-card__img {
  transform: scale(1.1);
}

.case-card__content {
  padding: clamp(1.5rem, 2vw, 2rem);
  text-align: left;
}

.case-card__title {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  color: #2c3e50;
  margin-bottom: clamp(0.8rem, 1vw, 1rem);
  font-weight: 600;
}

.case-card__text {
  color: #666;
  margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
}

.case-card__link {
  display: inline-block;
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

.case-card__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3498db;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.case-card__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact {
  padding: clamp(5rem, 8vw, 10rem) clamp(5%, 6vw, 8%);
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
  position: relative;
}

.contact__form-wrapper {
  max-width: min(90%, 700px);
  margin: 0 auto;
  background: white;
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: clamp(15px, 2vw, 20px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact__title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  text-align: center;
  margin-bottom: clamp(0.8rem, 1vw, 1rem);
  background: linear-gradient(45deg, #2c3e50, #3498db);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

}

.contact__subtitle {
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.2rem);

  color: #666;
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.form-group {
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
}

.form-group__label {
  display: block;
  margin-bottom: clamp(0.5rem, 0.8vw, 0.8rem);
  font-weight: 500;
  color: #2c3e50;
  font-size: clamp(0.9rem, 1.1vw, 1rem);

}

.form-group__input,
.form-group__textarea {
  width: 100%;
  border: 2px solid #eee;
  padding: clamp(0.8rem, 1vw, 1rem);
  border-radius: clamp(8px, 1vw, 10px);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  transition: all 0.3s ease;
}

.form-group__input:focus,
.form-group__textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.form-group__textarea {
  resize: vertical;
  min-height: clamp(100px, 15vw, 120px);
}

.btn--submit {
  width: 100%;
  background: linear-gradient(45deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: clamp(0.8rem, 1vw, 1rem);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  border-radius: clamp(8px, 1vw, 10px);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}



.footer {
  background: #2c3e50;
  color: white;
  padding: clamp(3rem, 5vw, 5rem) clamp(5%, 6vw, 8%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}

.footer__brand {
  margin-right: 2rem;
}

.footer__title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
  background: linear-gradient(45deg, #fff, #3498db);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer__subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
  color: #fff;
}

.footer__nav-list {
  list-style: none;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  padding: clamp(0.4rem, 0.5vw, 0.5rem) 0;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #3498db;
}

.footer__contact-links {
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 1vw, 1rem);

}

.footer__contact-item {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s ease;
}

.footer__contact-item:hover {
  color: #3498db;
}

.footer__contact-item i {
  font-size: clamp(1.1rem, 1.3vw, 1.2rem);

}

.subscribe-form {
  display: flex;
  gap: clamp(0.8rem, 1vw, 1rem);
  margin-top: clamp(0.8rem, 1vw, 1rem);
}

.subscribe-form__input {
  flex: 1;
  padding: clamp(0.6rem, 0.8vw, 0.8rem) clamp(0.8rem, 1vw, 1rem);
  border: none;
  border-radius: clamp(4px, 0.5vw, 5px);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: background-color 0.3s ease;
}

.subscribe-form__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.subscribe-form__input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

.btn--subscribe {
  padding: clamp(0.6rem, 0.8vw, 0.8rem) clamp(1.2rem, 1.5vw, 1.5rem);
  background: #3498db;
  color: white;
  border: none;
  border-radius: clamp(4px, 0.5vw, 5px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--subscribe:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .primary-nav__list {
    display: none;
  }

  .hero,
  .about {
    grid-template-columns: 1fr;
    text-align: center;
    gap: clamp(3rem, 4vw, 4rem);
  }

  .hero {
    padding-top: 6rem;
  }

  .hero__title,
  .about__title,
  .achievements__title,
  .case-studies__title,
  .contact__title {
    font-size: clamp(2.8rem, 3vw, 3rem);
  }

  .case-studies__grid {
    grid-template-columns: 1fr;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .contact__form-wrapper {
    padding: 2rem;
  }
}



.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 999;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav__menu {
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    width: 60%;
    height: 60vh;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 152, 219, 0.95));
    z-index: 999;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
  }

  .primary-nav__menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
    animation: slideInLeft 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .primary-nav__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 85%;
    position: relative;

  }

  .primary-nav__menu a {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    padding: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    position: relative;
    overflow: hidden;
  }

  .primary-nav__menu a:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.18));
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .primary-nav__menu a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.5));
    transition: width 0.3s ease;
  }

  @keyframes gradientShift {
    0% {
      background-position: 0% 50%;
    }

    50% {
      background-position: 100% 50%;
    }

    100% {
      background-position: 0% 50%;
    }
  }
}