:root {
  --primary: #ff7a00;
  --dark: #111;
  --light: #f5f5f5;
  --text: #333;
}

* {margin:0;padding:0;box-sizing:border-box;}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
}

/* CONTAINER */
.container {
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;
}

/* NAV */
nav {
  background: white;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

nav h2 {color: var(--primary);}

nav a {
  text-decoration: none;
  color: var(--dark);
  margin-left: 30px;
  font-weight: 500;
}


.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

nav a:hover {color: var(--primary);}

/* HERO */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
  url('images/slider/cache/731481cd7f35b8143379a72fd5434cbb/iStock-1095298428.jpg') center/cover;
  display:flex;
  align-items:center;
  color:white;
}

.hero h1 {font-size:60px;}
.hero p {margin-top:15px;font-size:20px;}

.btn {
  display:inline-block;
  margin-top:30px;
  padding:14px 35px;
  background:var(--primary);
  color:white;
  text-decoration:none;
  border-radius:6px;
}

/* SECTION */
.section {padding:100px 0;}

.section.light {background: var(--light);}

.section h2 {
  font-size:36px;
  margin-bottom:50px;
}

/* GRID */
.grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

/* CARD */
.card {
  background:white;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 15px 40px rgba(0,0,0,0.05);
}

.card img {
  width:100%;
  height:220px;
  object-fit:cover;
  transition:0.3s;
}

.card:hover img {
  transform:scale(1.05);
}

.card-content {padding:25px;}

/* TEXT BLOCK */
.text-block {
  max-width:800px;
  line-height:1.7;
  font-size:18px;
}

/* FOOTER */
footer {
  background:var(--dark);
  color:white;
  padding:60px 0;
}

footer a {
  color:white;
  margin-right:20px;
  text-decoration:none;
}

/* MOBILE */
@media(max-width:900px){
  .grid {grid-template-columns:1fr;}
  .hero h1 {font-size:36px;}
}



.apro-section {
  padding-bottom: 40px;
}

.apro-badge {
  display: inline-block;
  background: rgba(255, 122, 0, 0.12);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 18px;
}

.apro-intro h2 {
  margin-bottom: 25px;
}

.apro-feature {
  padding: 90px 0;
}

.apro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.apro-grid.reverse .apro-image {
  order: 2;
}

.apro-grid.reverse .apro-text {
  order: 1;
}

.apro-image img {
  width: 100%;
  border-radius: 18px;
  display: block;
  box-shadow: 0 20px 45px rgba(0,0,0,0.10);
}

.apro-text h2 {
  font-size: 34px;
  margin-bottom: 20px;
  color: var(--dark);
}

.apro-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: var(--text);
}

.apro-benefits h2 {
  margin-bottom: 40px;
}

.apro-benefit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.apro-benefit-item {
  background: white;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.apro-benefit-item h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.apro-benefit-item p {
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .apro-grid,
  .apro-benefit-list {
    grid-template-columns: 1fr;
  }

  .apro-grid.reverse .apro-image,
  .apro-grid.reverse .apro-text {
    order: unset;
  }

  .apro-text h2 {
    font-size: 28px;
  }
}


/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: white;
  max-width: 500px;
  margin: 10% auto;
  padding: 40px;
  border-radius: 12px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

/* FORM */
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.modal-content input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
}

.modal-content input:focus {
  outline: none;
  border-color: var(--primary);
}