/* ==========================================================================
   SEO EXPERT MALAPPURAM PAGE STYLESHEET
   Follows Web Development Services Page Design & Aesthetics
   ========================================================================== */

/* Header Override for SEO Page */
.site-sticky-header.seo-page-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 180, 0, 0.2) !important;
  z-index: 9990 !important;
  padding: 15px 0 !important;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.seo-hero-section {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #000000;
  text-align: center;
  box-sizing: border-box;
  padding: 60px 0;
}

.seo-hero-inner {
  max-width: 1050px;
  margin: 0 auto;
  width: 100%;
}

.seo-hero-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #ffb400;
  text-transform: capitalize !important;
  letter-spacing: 1px;
  margin-bottom: 24px;
  display: inline-block;
}

.seo-hero-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 80px;
  color: #f0eee9 !important;
  letter-spacing: -2px;
  margin-bottom: 35px;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

.seo-hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* ==========================================================================
   2. WHY SEO MATTERS SECTION
   ========================================================================== */
.seo-matters-section {
  padding: 90px 0;
  background-color: #050505;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.seo-matters-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.seo-matters-img-box {
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
  box-shadow: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.seo-matters-img-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   3. HOW I MAKE SEO WORK FOR YOU (WORK PROCESS / GOOGLEBOT TIMELINE)
   ========================================================================== */
.how-i-work-section {
  padding: 100px 0;
  background-color: #000000;
  position: relative;
  overflow: visible;
}

.how-intro {
  position: relative;
  margin-bottom: 70px;
}

.how-label {
  display: inline-block;
  padding: 0;
  margin-bottom: 18px;
  background: transparent !important;
  color: #ffb400 !important;
  font-size: 18px !important;
  line-height: 1.4;
  font-weight: 400 !important;
  font-family: 'Poppins', sans-serif;
  text-transform: capitalize !important;
}

.how-title {
  max-width: 1200px;
  margin: 0;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  line-height: 80px;
  font-weight: 400;
  letter-spacing: -2px;
}

.how-timeline {
  position: relative;
  width: 100%;
  min-height: 1180px;
}

.how-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.how-path {
  fill: none;
  stroke: rgba(240, 238, 233, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
}

/* Moving Googlebot Spider Indicator */
.how-arrow {
  position: absolute;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 1;
  pointer-events: none;
  transform-origin: center center;
}

.how-arrow-inner {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffb400;
  box-shadow: 0 0 0 6px rgba(255, 180, 0, 0.15), 0 5px 20px rgba(0, 0, 0, 0.35);
}

.how-arrow svg {
  width: 28px;
  height: 28px;
  display: block;
  overflow: visible;
}

.how-arrow .spider-body {
  fill: #000000;
  stroke: #000000;
  stroke-width: 1;
}

.how-arrow .spider-eye {
  fill: #ffb400;
}

.how-arrow .spider-leg {
  fill: none;
  stroke: #000000;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Timeline Cards */
.how-card {
  position: absolute;
  width: 43%;
  padding: 28px 32px 28px 78px;
  background: #f0eee9;
  border-radius: 6px;
  color: #000000;
  z-index: 3;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.how-card-1 { left: 0; top: 0; }
.how-card-2 { right: 2%; top: 190px; }
.how-card-3 { left: 5%; top: 380px; }
.how-card-4 { right: 0; top: 570px; }
.how-card-5 { left: 5%; top: 760px; }
.how-card-6 { right: 2%; top: 950px; }

@media (min-width: 768px) {
  .how-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  }
}

.how-number {
  position: absolute;
  top: 15px;
  left: 15px;
  bottom: 15px;
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.how-card-title {
  margin: 0 0 8px;
  padding: 0;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}

.how-card-description {
  max-width: 410px;
  margin: 0;
  padding: 0;
  color: #555555;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

/* ==========================================================================
   4. SEARCH EVERYWHERE OPTIMIZATION SECTION
   ========================================================================== */
.seo-everywhere-section {
  padding: 100px 0;
  background-color: #050505;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.seo-everywhere-intro {
  margin-bottom: 50px;
  text-align: center !important;
}

.seo-everywhere-intro .webdev-text-p {
  max-width: 900px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  font-size: 16px;
  color: rgba(240, 238, 233, 0.75);
  line-height: 1.7;
}

.irshad-seo-cards {
  width: 100%;
  background: transparent;
  padding: 10px 0;
  font-family: "Poppins", sans-serif;
}

.irshad-seo-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.irshad-seo-card {
  position: relative;
  min-height: 300px;
  padding: 42px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #151515;
  border: 1px solid rgba(240, 238, 233, 0.07);
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.irshad-seo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 180, 0, 0.20),
    rgba(255, 180, 0, 0.08) 30%,
    transparent 68%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.irshad-seo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.045),
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.irshad-seo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 180, 0, 0.4);
}

.irshad-seo-card:hover::before,
.irshad-seo-card:hover::after {
  opacity: 1;
}

.irshad-seo-card--highlight {
  background: #181713;
  border-color: rgba(255, 180, 0, 0.35);
}

.irshad-seo-card--highlight::before {
  background: radial-gradient(
    300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 180, 0, 0.25),
    rgba(255, 180, 0, 0.08) 32%,
    transparent 70%
  );
}

.irshad-seo-number {
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #ffb400;
  letter-spacing: 0.5px;
}

.irshad-seo-title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  color: #f0eee9;
  letter-spacing: -0.5px;
}

.irshad-seo-description {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(240, 238, 233, 0.65);
}

.irshad-seo-card--highlight .irshad-seo-title {
  color: #ffffff;
}

.irshad-seo-highlight-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 180, 0, 0.3);
  border-radius: 100px;
  background: rgba(255, 180, 0, 0.1);
  color: #ffb400;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS FOR SEO PAGE
   ========================================================================== */
@media (max-width: 1024px) {
  .seo-hero-heading, .how-title {
    font-size: 56px;
    line-height: 1.15;
  }
  .irshad-seo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .how-card {
    width: 45%;
    padding-left: 72px;
  }
}

@media (max-width: 767px) {
  .seo-hero-heading {
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -1px;
  }
  .seo-hero-cta-row {
    flex-direction: column;
    gap: 12px;
  }
  .btn-consult-primary, .btn-consult-secondary {
    width: 100%;
    justify-content: center;
  }
  .seo-matters-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .how-title {
    font-size: 32px;
    line-height: 1.2;
  }
  .how-timeline {
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .how-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: calc(100% - 20px);
    margin-left: 20px;
    padding: 24px 20px 24px 72px;
  }
  .how-number {
    top: 15px;
    bottom: 15px;
    left: 15px;
    width: 40px;
    font-size: 14px;
  }
  .irshad-seo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .irshad-seo-card {
    min-height: auto;
    padding: 30px 24px;
  }
  .irshad-seo-card:hover {
    transform: none;
  }
}
