/* =========================================
   SEO PAGE CSS (FULL RESPONSIVE + CLEAN)
   File: assets/css/digital_merketing/seo.css
========================================= */

/* Safe base */
*,
*::before,
*::after { box-sizing: border-box; }

img { max-width: 100%; display: block; }

:root{
  /* section spacing */
  --seo-space-lg: 48px;
  --seo-space-md: 36px;
  --seo-space-sm: 22px;

  /* container */
  --seo-container: 1200px;

  /* colors */
  --seo-primary: #11104d;
  --seo-red: #cf2e2e;
  --seo-text: #4c2121;
  --seo-muted: #8E746B;
  --seo-bg: #f8faff;
}

/* container */
.seo-container{
  width: min(var(--seo-container), calc(100% - 32px));
  margin: 0 auto;
}
/* =========================================
   HERO SLIDER
========================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

/* Dark overlay */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Content */
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: min(92%, 900px);
}

.slide-content .breadcrumb {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 10px;
}

.slide-content h1 {
  font-size: 44px;
  font-weight: 800;
  margin: 0;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
}

.arrow:hover {
  background: #ff3c2f;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Slider responsive */
@media (max-width: 768px) {
  .hero-slider { height: 300px; }
  .slide-content h1 { font-size: 28px; }
}


/* main wrapper */
.seo-main{
  background: #fff;
}

/* ============ HERO ============ */
.seo-hero{
  padding: var(--seo-space-lg) 0;
  background: var(--seo-bg);
}

.seo-hero-grid{
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.seo-hero-content{
  flex: 1;
  min-width: 280px;
}

.seo-hero-content h2{
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--seo-red);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.2;
}

.seo-hero-content h2 span{
  color: var(--seo-primary);
  font-weight: 900;
}

.seo-hero-content p{
  margin: 0;
  color: var(--seo-text);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
}

.seo-hero-image{
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.seo-hero-image img{
  width: 100%;
  max-width: 520px;
  height: auto;
}

/* ============ SPLIT SECTIONS ============ */
.seo-split{
  padding: var(--seo-space-md) 0;
  background: #fff;
}

.seo-split-grid{
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.seo-split-text{
  flex: 1;
  min-width: 280px;
}

.seo-split-text h3{
  margin: 0 0 12px;
  color: var(--seo-primary);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.25;
}

.seo-split-text p{
  margin: 0 0 12px;
  color: var(--seo-text);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.75;
}

.seo-split-image{
  flex: 1;
  min-width: 260px;
  display: flex;
  justify-content: center;
}

.seo-split-image img{
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* reverse layout */
.seo-split--reverse .seo-split-grid{
  flex-direction: row-reverse;
}

/* ============ SERVICES / CARDS ============ */
.seo-services{
  padding: var(--seo-space-lg) 0;
  background: var(--seo-bg);
}

.seo-title{
  margin: 0 0 10px;
  color: var(--seo-primary);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.2;
}

.seo-title span{ color: var(--seo-red); }

.seo-subtitle{
  margin: 0 0 22px;
  max-width: 800px;
  color: var(--seo-red);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
}

.seo-card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.seo-card{
  background: #fff;
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  border: 1px solid #eee;
  box-shadow: 0 6px 22px rgba(0,0,0,0.10);
  transition: transform .25s ease, box-shadow .25s ease;
}

.seo-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
}

.seo-card img{
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.seo-card h4{
  margin: 0;
  color: var(--seo-primary);
  font-size: 18px;
  font-weight: 800;
}

/* ============ AWESOME SECTION ============ */
.seo-awesome{
  padding: var(--seo-space-lg) 0;
  background: #fff;
  text-align: center;
}

.seo-awesome h2{
  margin: 0 0 12px;
  color: var(--seo-primary);
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 900;
}

.seo-awesome h2 span{
  color: var(--seo-red);
}

.seo-awesome p{
  margin: 0 auto;
  max-width: 920px;
  color: #021212;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.75;
}

/* ============ VISIBILITY SECTIONS ============ */
.seo-visibility{
  padding: var(--seo-space-lg) 0;
  background: var(--seo-bg);
}

.seo-visibility-grid{
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.seo-visibility-text{
  flex: 1;
  min-width: 280px;
}

.seo-visibility-text h3{
  margin: 0 0 14px;
  color: var(--seo-primary);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.25;
}

.seo-visibility-text h3 span{
  color: #ff0000;
}

.seo-visibility-text p{
  margin: 0 0 12px;
  color: var(--seo-muted);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.75;
}

.seo-alert-box{
  margin: 10px 0 16px;
  background: #03fdf3;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 900;
  color: #d70a00;
  width: fit-content;
}

.seo-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.seo-list li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #021212;
  font-size: 16px;
  line-height: 1.6;
}

.seo-list li img{
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.seo-visibility-image{
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.seo-visibility-image img{
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
}

/* reverse */
.seo-visibility--reverse .seo-visibility-grid{
  flex-direction: row-reverse;
}

/* ============ MOBILE TUNING ============ */
@media (max-width: 768px){
  :root{
    --seo-space-lg: 28px;
    --seo-space-md: 22px;
    --seo-space-sm: 18px;
  }

  .seo-container{
    width: min(var(--seo-container), calc(100% - 24px));
  }

  .seo-hero-grid,
  .seo-split-grid,
  .seo-visibility-grid{
    gap: 18px;
  }

  .seo-alert-box{
    width: 100%;
    text-align: center;
    font-size: 15px;
  }

  .seo-visibility-image img,
  .seo-hero-image img,
  .seo-split-image img{
    max-width: 100%;
  }
}

@media (max-width: 480px){
  .seo-card{
    padding: 18px 14px;
  }
  .seo-card h4{
    font-size: 16px;
  }
}
