/* ===== Reset & Variables ===== */
:root {
  --maxw: 1000px;
  --primary: #ff6565;
  --text: #111;
  --muted: #6b7280;
  --bg-dark: #071629;
  --white: #fff;
}

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

html{
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  line-height: 1.5;
  background: #fff;
}

/* ===== Reusable ===== */
.container {
padding-left: 15px;
padding-right: 15px;
margin-left: auto;
margin-right: auto;
}

a {
  text-decoration: none;
}



.btn{
  display: inline-block;
  padding: 12px 24px;
  border-radius: 25px;
  outline: none;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn.cta.fade-in:hover{
  opacity: 0.9;
  transform: scale(1.1);
} 
h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.2;
}
.kicker {
  margin: 6px 0 24px;
  color: #e5e7eb;
}
.lead {
  color: #e5e7eb;
  max-width: 760px;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* Medium */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* ===== Header & Nav ===== */
.site-header{
  background-image: url(./images/2.png);
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}


.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;

} 

.logo {
  font-weight: 800;
  gap: 10px;
  transition: transform 0.3s ease;
}
.logo:hover{
  transform: scale(1.1);
}
.primary-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}
.primary-nav a {
  color: var(--white);
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.primary-nav a::before{
    content: "";
    display: inline-block;
    height: 2px;
    width: 0;
    background-color: #ff6565;
    position: absolute;
    bottom: -7px;
    left: 50%;   
    transition: 0.3s;  
}

.primary-nav a:hover::before,
.primary-nav a:active::before {
  width: 100%;
  left: 0;   
}


.primary-nav a:hover,
.primary-nav a:active {
  color: var(--primary);
}

.hamburger {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: none;
}

/* ===== Hero ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;  align-items: center;
  color: var(--white);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 60px 16px 80px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 36px);
}
.hero .cta {
  margin: 10px 0 22px;
}
.hero .lead {
  margin-inline: auto;
}

/* ===== Sections ===== */
.section {
  padding: 64px 0;
}
.section h2 {
  text-align: center;
  font-size: clamp(22px, 4.2vw, 28px);
  color: #071629;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 760px;
  margin: 10px auto 40px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature {
  text-align: center;
  padding: 12px;
}
.feature .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: var(--primary);
  background: #fff1f1;
}
.feature .icon svg {
  width: 32px;
  height: 32px;
}

/* Results */
.results {
  color: var(--white);
  inset: 0;
  background: url("./images/3.png") center/cover no-repeat;
}

.results h2,.results p{
  color: #fff;
}


.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 125px;
  background: linear-gradient(135deg, #f07777, #ff6565);
   clip-path: polygon(
    50% 0%,
    74% 32.2%,
    68.8% 100%,
    31.2% 100%,
    26% 32.2%
  ) 

}

.stat:hover{
  animation: spin 1s ;
  cursor: pointer;

}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100%  { transform: rotate(360deg); }
}
.pentagon {
  width: 85px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.5rem;

}

.stat span {
  color: #fff;
  font-size: 10px;
  margin-top: -35px;
  margin-bottom: 10px}

/* Contact */
.contact-form {
  width: min(560px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: #475569;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  font: inherit;
  outline: none;
  border: none;
  border-bottom: 1px solid #e5e7eb;

}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 2px solid var(--primary);
}

 .btn.cta.call{
  width: 30%;
  padding: 15px 15px;
} 

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 40px 0 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.social {
  list-style: none;
  display: flex;
  gap: 16px;
}
.social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
}
.social a:hover {
  background: var(--primary)
}

a svg {
  color: black; 
  width: 22px;
  height: auto;
}
.copyright {
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  margin: 14px 0 0;
}



/* ===== Responsive ≤ 480px ===== */
@media (max-width: 767px) {

  .primary-nav ul {
    position: absolute;
    right: 30px;
    top: 66px;
    background: #6b7280;
    padding: 30px;
    border-radius: 12px;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
  }
  
  .primary-nav ul.hide{
    display: none;
  }
  .hamburger {
    display: inline-block;
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .nav-open .primary-nav ul {
    display: flex;
  }
}


/* ِAnimation Styles */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.from-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.from-right.show {
  opacity: 1;
  transform: translateX(0);
}

.from-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.from-left.show {
  opacity: 1;
  transform: translateX(0);
}

.from-bottom {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.from-bottom.show {
  opacity: 1;
  transform: translateY(0);
}