/* TechFixApps - Main Stylesheet */
/* Inspired by techblog.page design */

html {
  margin-right: 0 !important;
  overflow-x: hidden;
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 62.5%;
  -webkit-tap-highlight-color: transparent;
  background-color: #f1f4f8;
  color: #2f2f2f;
}

body {
  margin: 0;
  color: #171717;
  font-family: "Roboto Flex", sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

:after, :before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: #1A58DE;
  text-decoration: none;
  background: 0 0;
}

a:focus, a:hover {
  text-decoration: underline;
}

img {
  border: 0;
  vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto Flex", sans-serif;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
  margin-top: 0;
}

p {
  margin: 0 0 10px;
}

/* Container */
.container-wrapper {
  max-width: 1240px;
  margin: auto;
}

/* Header */
.header {
  padding: 21px 0 22.48px;
  outline: none;
  background: #1A58DE;
  text-align: center;
}

.header .logo {
  height: 40px;
  width: auto;
}

/* Hero Section */
.hero-sec {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #F4F8FF 0%, #EEF2FF 50%, #F0F9FF 100%);
  padding: 64px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-sec::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-sec::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-sec h1 {
  font-weight: 700;
  font-size: 110px;
  line-height: 119.8px;
  color: #171717;
  margin-bottom: 52px;
  max-width: 1109px;
  position: relative;
  z-index: 1;
}

.hero-sec span {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #1A58DE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-imgs-sec {
  display: flex;
  gap: 26px;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-imgs-sec > div:first-child {
  animation: float 6s ease-in-out infinite;
}

.hero-imgs-sec-2 img {
  animation: float 6s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.hero-imgs-sec img {
  border-radius: 24px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-imgs-sec img:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px -12px rgba(102, 126, 234, 0.2);
}

.hero-imgs-sec p {
  font-size: 20px;
  color: #404040;
  line-height: 1.6;
}

.hero-imgs-sec-2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* H2 Section */
.container-wrapper h2 {
  font-size: 80px;
  color: #171717;
  letter-spacing: -3.2px;
  font-weight: 600;
  text-align: center;
  max-width: 1043.797px;
  margin: auto;
  margin-top: 107px;
}

/* Icons Section */
.icons-container {
  background: #F4F8FF;
  padding: 50px;
  border-radius: 60px;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  margin-top: 60px;
}

.icon-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon-div svg {
  margin-bottom: 10px;
}

.icon-div p {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #171717;
}

.icon-div span {
  font-size: 14px;
  color: #666;
}

/* Footer Paragraphs */
.footer-para {
  font-size: 16px;
  max-width: 971px;
  text-align: center;
  margin: auto;
  margin-top: 67px;
  color: #171717;
  line-height: 1.7;
}

.footer-para p {
  margin-bottom: 20px;
}

/* Footer */
.footer {
  padding: 60px 0;
}

.footer p {
  max-width: 280px;
  text-align: center;
  font-size: 11px;
  color: #404040;
  margin-top: 15px;
  line-height: 1.6;
}

.footer a {
  color: #404040;
}

.footer-ul {
  list-style: none;
  padding: 0;
  gap: 25px;
  display: flex;
  margin-bottom: 20px;
}

.footer-ul li {
  display: inline-block;
  font-size: 14px;
  color: #404040;
}

.footer-ul li a:hover {
  color: #1A58DE;
}

/* Utility Classes */
.de-flex {
  display: flex;
}

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

.align-items-center {
  align-items: center;
}

/* Responsive - Tablet */
@media (max-width: 1240px) {
  .hero-sec {
    padding: 52px 15px 20px;
  }

  .hero-sec h1 {
    font-size: 50px;
    line-height: 55px;
    margin-bottom: 28px;
  }

  .hero-imgs-sec img {
    width: 100%;
    border-radius: 12.56px;
  }

  .hero-imgs-sec p {
    font-size: 16px;
  }

  .container-wrapper h2 {
    font-size: 40px;
    letter-spacing: -2px;
    padding: 55px 15px;
    margin: 0;
    line-height: 110%;
    margin: auto;
  }

  .footer-para {
    margin: 63px 15px 0;
    text-align: left;
  }

  .footer-ul {
    flex-wrap: wrap;
    margin: 0 10% 20px;
    row-gap: 10px;
    justify-content: center;
  }
}

/* Responsive - Mobile */
@media (max-width: 700px) {
  .hero-imgs-sec {
    flex-direction: column;
  }

  .hero-sec {
    background: #F4F8FF;
  }

  .icons-container {
    margin-top: 0;
    flex-direction: column;
    align-items: center;
    row-gap: 58px;
    padding: 85px 15px;
    margin: 0 15px;
    border-radius: 20px;
  }

  .footer-ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

/* Small Mobile */
@media (max-width: 522px) {
  .hero-sec h1 {
    font-size: 36px;
    line-height: 42px;
  }

  .container-wrapper h2 {
    font-size: 28px;
    letter-spacing: -1px;
  }
}
