/*
Theme Name: Sevadoot Rebuild
Theme URI: http://localhost:81/sevadoot
Author: Codex
Description: Recreated WordPress theme using archived Sevadoot content.
Version: 1.0.0
Text Domain: sevadoot-rebuild
*/

:root {
  --sd-dark: #2e2a3d;
  --sd-accent: #f5be2f;
  --sd-bg: #f3f3f3;
  --sd-text: #1f2430;
  --sd-muted: #5d6a7a;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--sd-text);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1500px, 96%);
  margin: 0 auto;
}

.sd-topbar {
  background: var(--sd-dark);
  border-top: 3px solid var(--sd-accent);
  color: #f6d47f;
  font-size: 16px;
  padding: 10px 0;
}

.sd-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sd-social {
  display: flex;
  gap: 14px;
  color: #f5be2f;
  font-size: 18px;
}

.sd-email {
  letter-spacing: 0.4px;
}

.sd-header {
  background: #efefef;
  border-bottom: 2px solid #ddd;
}

.sd-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 6px 0;
}

.sd-logo {
  width: 116px;
  height: 116px;
  display: block;
}

.sd-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sd-menu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.sd-menu a {
  color: #000;
}

.sd-menu li.current-menu-item a,
.sd-menu li.current_page_item a {
  display: inline-block;
  background: #000;
  color: var(--sd-accent);
  border-radius: 10px;
  padding: 8px 14px;
  border-bottom: 2px solid var(--sd-accent);
}

.sd-search {
  color: #6f7f9a;
  font-size: 42px;
}

.sd-hero-slider {
  position: relative;
  height: clamp(420px, 55vw, 700px);
  overflow: hidden;
}

.sd-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.sd-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.sd-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.05) 100%);
}

.sd-slide-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.sd-slide-sub {
  font-size: clamp(24px, 3.2vw, 52px);
  margin-bottom: 6px;
}

.sd-slide h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.12;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.sd-slide-btn {
  display: inline-block;
  justify-self: center;
  background: var(--sd-accent);
  color: #fff;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 38px;
}

.sd-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.95);
  font-size: 30px;
  cursor: pointer;
}

.sd-slide-prev {
  left: 8%;
}

.sd-slide-next {
  right: 8%;
}

.sd-section {
  padding: 48px 0;
}

.sd-section-gray {
  background: var(--sd-bg);
}

.sd-heading {
  color: #edae24;
  font-size: clamp(30px, 3vw, 50px);
  margin: 0 0 20px;
}

.sd-subtitle {
  color: #f2b72d;
  font-size: 26px;
  margin: 0 0 8px;
}

.sd-subtitle-dark {
  color: #2b3442;
  font-size: 26px;
  margin: 0 0 10px;
}

.sd-focus-wrap {
  background: #efefef;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 30px;
}

.sd-focus-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 26px;
}

.sd-focus-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  align-items: start;
}

.sd-focus-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.sd-focus-row {
  background: var(--sd-accent);
  border-radius: 12px;
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 12px 16px;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 600;
  color: #181818;
  line-height: 1.3;
}

.sd-focus-row span {
  display: inline-block;
  width: 18px;
  margin-right: 8px;
  font-weight: 700;
}

.sd-focus-panel {
  border: 1px solid #c9c9c9;
  border-radius: 0 0 50px 50px;
  padding: 18px 22px;
  margin-top: -2px;
  background: #efefef;
}

.sd-focus-panel ul {
  margin: 0;
  padding-left: 20px;
}

.sd-focus-panel li {
  font-size: 15px;
  color: #7a7a7a;
  line-height: 1.8;
}

.sd-two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: start;
}

.sd-card {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  padding: 26px;
}

.sd-card p,
.sd-card li {
  font-size: 20px;
  line-height: 1.6;
  color: var(--sd-muted);
}

.sd-card ul {
  margin: 0;
  padding-left: 22px;
}

.sd-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sd-help-strip {
  background: #1f2228;
  padding: 0;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.sd-help-strip .container {
  padding-top: 0;
  padding-bottom: 0;
}

.sd-help-strip-inline .sd-icon-grid {
  gap: 8px;
}

.sd-icon-card {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 22px 28px;
  border: 1px solid #d9d9d9;
  box-shadow: inset -5px 0 0 rgba(0, 0, 0, 0.11), inset 5px 0 0 rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 24px;
}

.sd-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 44px;
}

.sd-icon-orange {
  background: #fdf0e7;
  color: #ff7a17;
}

.sd-icon-blue {
  background: #eaf4ff;
  color: #1f8ee7;
}

.sd-icon-green {
  background: #eefced;
  color: #48b84d;
}

.sd-icon-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.sd-edu-wrap {
  border: 1px solid #c9c9c9;
  border-radius: 16px;
  background: #f3f3f3;
  padding: 12px;
}

.sd-edu-row {
  background: var(--sd-accent);
  border-radius: 10px;
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 8px 12px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
}

.sd-edu-row span {
  margin-right: 6px;
  font-weight: 700;
}

.sd-edu-panel {
  border: 1px solid #d5d5d5;
  border-radius: 2px;
  background: #f3f3f3;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.sd-edu-panel ul {
  margin: 0;
  padding-left: 18px;
}

.sd-edu-panel li {
  color: #747474;
  font-size: 14px;
  line-height: 1.7;
}

.sd-edu-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.sd-edu-item {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d6d6d6;
  overflow: hidden;
}

.sd-edu-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.sd-edu-item figcaption {
  padding: 10px 14px;
  font-size: 16px;
  color: #2d3a48;
  font-weight: 600;
}

.sd-page-hero {
  background: linear-gradient(135deg, #2e2a3d, #43405a);
  color: #fff;
  padding: 48px 0;
}

.sd-page-hero h1 {
  margin: 0;
  font-size: clamp(40px, 4vw, 60px);
}

.sd-content {
  padding: 42px 0 58px;
}

.sd-content p,
.sd-content li {
  font-size: 24px;
  line-height: 1.7;
  color: #2d3a48;
}

.sd-footer {
  margin-top: 0;
  background: var(--sd-dark);
  color: #d9deef;
  padding: 24px 0;
}

.sd-footer .container {
  display: grid;
  gap: 16px;
}

.sd-footer-meta p {
  margin: 0 0 6px;
  color: #cbd3e3;
  font-size: 14px;
  line-height: 1.5;
}

.sd-footer-meta p:last-child {
  margin-bottom: 0;
}

.sd-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 10px;
  font-size: 16px;
}

@media (max-width: 980px) {
  .sd-topbar {
    font-size: 14px;
  }

  .sd-social {
    font-size: 14px;
    gap: 12px;
  }

  .sd-nav {
    gap: 12px;
  }

  .sd-logo {
    width: 76px;
    height: 76px;
  }

  .sd-menu ul {
    font-size: 14px;
    gap: 14px;
    flex-wrap: wrap;
  }

  .sd-search {
    font-size: 30px;
  }

  .sd-hero-slider {
    height: 360px;
  }

  .sd-slide h1 {
    font-size: 36px;
  }

  .sd-slide-sub {
    font-size: 20px;
  }

  .sd-slide-btn {
    font-size: 18px;
  }

  .sd-two-col {
    grid-template-columns: 1fr;
  }

  .sd-focus-title {
    font-size: 28px;
  }

  .sd-focus-grid {
    grid-template-columns: 1fr;
  }

  .sd-focus-row {
    font-size: 16px;
  }

  .sd-icon-grid {
    grid-template-columns: 1fr;
  }

  .sd-icon-card h3 {
    font-size: 22px;
  }

  .sd-edu-gallery {
    grid-template-columns: 1fr;
  }

  .sd-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    font-size: 14px;
  }

  .sd-footer-meta p {
    font-size: 12px;
  }

  .sd-topbar,
  .sd-card p,
  .sd-card li,
  .sd-content p,
  .sd-content li {
    font-size: 18px;
  }
}
