/* =========================
   ROOT VARIABLES
========================= */
:root {
    --primary: #007b86;
    --primary-dark: #005f67;
    --bg-body: #fcfdfe;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius: 12px;
    --transition: 0.25s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-body);
    color: var(--text-dark);
}

/* ===== LAYOUT FIX ===== */

body {
  overflow-x: hidden;
  padding-top: 75px;  /* header height */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  padding-top: 0px;
}

/* ===== HEADER ===== */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  z-index: 1000;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

/* prevent old hero conflict */
.hero {
  margin-top: 0;
}

/* NAV */
.nav {
    display: flex;
    align-items: center;
    height: 75px;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* BRAND */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
    color: var(--text-dark);
}

.brand-badge {
    background: var(--primary);
    color: #fff;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 13px;
    font-weight: bold;
}

.brand .dot {
    color: var(--primary);
}

/* NAV LINKS */
.navlinks {
    display: flex;
    gap: 10px;
    margin-left: 30px;
}

.navlinks a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.navlinks a:hover {
    color: var(--primary);
    background: rgba(0,123,134,0.08);
}

/* SPACER */
.nav-spacer {
    flex: 1;
}

/* =========================
   SEARCH
========================= */
.search-form {
    position: relative;
    margin-right: 15px;
}

.search-form input {
    width: 200px;
    padding: 10px 14px 10px 38px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    background: #f1f5f9;
    font-size: 13px;
    transition: var(--transition);
}

.search-form input:focus {
    background: #fff;
    border-color: var(--primary);
    width: 260px;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* =========================
   BUTTONS
========================= */
.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* =========================
   MOBILE MENU
========================= */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 20px;
    background: #fff;
    border-bottom: 2px solid var(--primary);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    padding: 12px;
    border-radius: var(--radius);
    background: #f8fafc;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-cta {
    background: var(--primary);
    color: #fff !important;
    text-align: center;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 950px) {

    .navlinks,
    .search-form,
    .btn-primary {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .nav {
        justify-content: space-between;
    }
}

/* ================= CONTAINER SYSTEM ================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  flex: 1;
}

.container-full {
  width: 100%;
  padding: 0 15px;
}

section {
  margin-bottom: 0;
}

/*
.section-head {
    background-color: #0f766d; /* Light Blue */
    padding: 20px;
    border: 1px solid #bbdefb;
    border-radius: 10px;
}
*/

.tools-head {
  flex-wrap: wrap;
  gap: 10px;
}

.tools-row {
  padding-bottom: 10px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.desktop-only {
  display: inline-block;
}

/* =========================================
   1. GLOBAL & VVIP BACKGROUND (ALIVE ENGINE)
   ========================================= */
body {
    background: #f1f4f8;
    background-image: radial-gradient(rgba(0, 123, 134, 0.12) 2.2px, transparent 2.2px);
    background-size: 45px 45px;
    margin: 0;
    overflow-x: hidden;
    position: relative;
    background-attachment: fixed;
}

/* Background Animated Blobs - Tairte huye 'Glows' */
body::before, body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}
body::before {
    width: 600px; height: 600px;
    background: #007b8615;
    top: -10%; left: -10%;
}
body::after {
    width: 500px; height: 500px;
    background: #00b4c010;
    bottom: -10%; right: -10%;
}

.container {
    max-width: 1250px !important; /* Premium Width Limit */
    margin: 0 auto;
    padding: 0 25px;
}

/* =========================================
   2. VVIP HERO SECTION
   ========================================= */
.hero-pro {
    padding: 120px 0 30px !important;
    position: relative;
    background: transparent !important;
}

.hero-pro h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 25px;
    color: #0f172a;
}

.hero-pro h1 span {
    background: linear-gradient(135deg, #007b86, #00b8c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button Elevation */
.btn-primary-pro {
    background: var(--primary);
    padding: 16px 36px;
    border-radius: 16px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 123, 134, 0.25);
    transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.btn-primary-pro:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 123, 134, 0.4);
}

/* =========================================
   3. THE GLASS CARD HIGHLIGHTS (Popular PDF Tools)
   ========================================= */
.tools-highlight {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(15px); /* ASLI GLASS FEEL */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    margin: 30px auto !important;
    max-width: 1200px;
    padding: 10px 0;
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.05);
}

.tool-card-mini {
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 24px !important;
    padding: 25px !important;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
    transition: 0.3s !important;
}

.tool-card-mini:hover {
    background: #fff !important;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 123, 134, 0.12) !important;
    border-color: #007b8640;
}

/* =========================================
   4. BLOG/CATEGORY CLEAN LAYOUT (FIX GAPS)
   ========================================= */
section[id] {
    padding: 30px 0 !important;
}

.section-head h2 {
    font-size: 28px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    color: #1e293b;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 28px; /* High curvature */
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.08);
    border-color: #007b8630;
}

.blog-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: 0.6s;
}

.blog-card:hover img {
    transform: scale(1.08);
}

/* Responsive Gaps */
@media (max-width: 768px) {
    .hero-pro { padding-top: 100px !important; }
    .hero-pro h1 { font-size: 40px; letter-spacing: -1.5px; }
    .tools-highlight { border-radius: 30px; margin: 20px 15px !important; padding: 10px 0; }
}