/* ===============================
   COMPONENTS – DEVELAC (FINAL)
================================ */

/* ---------- BUTTONS ---------- */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 26px;
  border-radius:14px;
  font-size:15px;
  font-weight:600;
  border:none;
  cursor:pointer;
  transition:.2s ease;
}

.btn-primary{
  background:var(--accent);
  color:#fff;
}

.btn-secondary{
  background:#fff;
  border:1px solid var(--border-light);
  color:var(--text-main);
}

/* ---------- SECTION ---------- */

.section{
  padding:72px 20px;
}

.section-title{
  text-align:center;
  font-size:32px;
  font-weight:800;
  margin-bottom:18px;
}

/* ===============================
   TOOLS GRID (RESPONSIVE FINAL)
================================ */

.tools-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr); /* Mobile: 2 */
  gap:22px;
}

/* Tablet */
@media(min-width:768px){
  .tools-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* Desktop */
@media(min-width:1024px){
  .tools-grid{
    grid-template-columns:repeat(4,1fr);
  }
}
.tools-grid .tool-card{
   pointer-events: auto;
   position: relative;
  z-index: 1;
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:26px;
  padding:34px 18px;
  text-align:center;
  box-shadow:var(--shadow-sm);
  transition:.25s ease;
}

.tools-grid .tool-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-md);
}

/* ICON CONTAINER */
.tool-icon{
  width:64px;
  height:64px;
  border-radius:20px;
  background:#F4F6FB;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 18px;
}

/* ICON IMAGE */
.tool-icon img{
  width:72px;
  height:72px;
}

/* TOOL NAME */
.tool-name{
  font-size:15.5px;
  font-weight:700;
  color:#111827;
  line-height:1.4;
}

/* ===============================
   BLOG (HOME)
================================ */

.home-blog{
  padding:80px 20px;
}

.home-blog-header{
  text-align:center;
  margin-bottom:40px;
}

.home-blog-header h2{
  font-size:32px;
  font-weight:800;
  margin-bottom:10px;
}

.home-blog-header p{
  font-size:17px;
  color:var(--text-muted);
}

.home-blog-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  scroll-snap-type:x mandatory;
}

.home-blog-scroll::-webkit-scrollbar{
  display:none;
}

.home-blog-list{
  display:flex;
  gap:20px;
  width:max-content;
  padding-bottom:10px;
}

.home-blog-card{
  min-width:320px;
  max-width:320px;
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  scroll-snap-align:start;
}

.home-blog-thumb{
  height:170px;
  background-size:cover;
  background-position:center;
}

.home-blog-content{
  padding:22px;
}

.home-blog-meta{
  font-size:13px;
  color:var(--text-muted);
  margin-bottom:6px;
}

.home-blog-card h3{
  font-size:17px;
  margin-bottom:8px;
  line-height:1.4;
}

.home-blog-card h3 a{
  color:#2563EB;
  font-weight:700;
  text-decoration:none;
}

.home-blog-card p{
  font-size:14.5px;
  line-height:1.6;
  color:var(--text-muted);
}

.read-more{
  display:inline-block;
  margin-top:10px;
  font-weight:600;
  color:#2563EB;
}

.home-blog-cta{
  margin-top:40px;
  text-align:center;
}

/* ===============================
   WHY DEVELAC
================================ */

.why-grid{
  max-width:960px;
  margin:36px auto 0;
  display:grid;
  gap:22px;
}

@media(min-width:768px){
  .why-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

.why-card{
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:24px;
  padding:26px;
  box-shadow:var(--shadow-sm);
}

.why-card h3{
  font-size:18px;
  font-weight:700;
  margin-bottom:8px;
  color:#111827;
}

.why-card p{
  font-size:15px;
  line-height:1.6;
  color:var(--text-muted);
}

/* ===============================
   WHY CHOOSE DEVELAC – SAFE SPACING
================================ */

/* Sirf heading ke niche jo description hai uske liye */
.section > .section-title + p{
  max-width:720px;
  margin:0 auto 32px;
  font-size:17px;
  line-height:1.7;
  color:var(--text-muted);
  text-align:center;
}

/* ===============================
   BLOG PAGE – VERTICAL LAYOUT
   (same cards as home, no UI break)
================================ */

.blog-page{
  padding-top:60px;
}

.blog-title{
  font-size:34px;
  font-weight:800;
  text-align:center;
  margin-bottom:10px;
}

.blog-subtitle{
  max-width:720px;
  margin:0 auto 46px;
  text-align:center;
  font-size:17px;
  line-height:1.7;
  color:var(--text-muted);
}

/* Vertical list */
.blog-vertical-list{
  max-width:900px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:28px;
}

/* Cards full width on blog page */
.blog-vertical-list .home-blog-card{
  min-width:100%;
  max-width:100%;
            }

/* ===============================
   COMPRESS LEVEL SELECTOR
================================ */

.compress-levels{
  margin:24px 0;
  text-align:left;
}

.level-title{
  font-size:14px;
  font-weight:600;
  margin-bottom:10px;
  color:#111827;
}

.level-options{
  display:flex;
  gap:12px;
}

.level-option{
  flex:1;
  border:1px solid var(--border-light);
  border-radius:14px;
  padding:12px;
  cursor:pointer;
  display:flex;
  gap:10px;
  align-items:center;
  background:#fff;
}

.level-option input{
  accent-color:var(--accent);
}

.level-option strong{
  font-size:14px;
}

.level-option small{
  display:block;
  font-size:12px;
  color:var(--text-muted);
}
