/* ===================================================
   Socialwise Consulting — Clean Static Site Styles
   =================================================== */

/* --- Reset & Base --------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0c73a3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #095c82;
}

ul {
  padding-left: 1.25rem;
}

/* --- Layout --------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Navigation ----------------------------------- */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-link img {
  height: 52px;
  width: auto;
}

.logo-link span {
  display: none;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.25rem;
}

nav ul li a {
  display: block;
  color: #2c3e50;
  padding: 0.45rem 0.85rem;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

nav ul li a:hover,
nav ul li a.active {
  background: #c0292c;
  color: #fff;
  text-decoration: none;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #2c3e50;
  border-radius: 2px;
  transition: all 0.25s;
}

/* --- Page Banner (inner pages) -------------------- */
.page-banner {
  width: 100%;
  overflow: hidden;
  max-height: 200px;
}

.page-banner img {
  width: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* --- Hero (home page) ----------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.hero img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* --- Section Shared ------------------------------- */
section {
  padding: 3rem 1.25rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a3f5c;
  margin-bottom: 1.75rem;
  text-align: center;
}

/* --- Home: Intro ---------------------------------- */
.home-intro {
  background: #fff;
  text-align: center;
  padding: 2.5rem 1.25rem 1.5rem;
}

.home-intro p.tagline-1 {
  font-size: 0.95rem;
  color: #0c73a3;
  margin-bottom: 0.5rem;
}

.home-intro p.tagline-2 {
  font-size: 2.2rem;
  font-weight: 700;
  font-style: italic;
  color: #0c73a3;
  line-height: 1.3;
}

/* --- Home: Blurbs (3-column) ---------------------- */
.blurbs {
  background: #fff;
}

.blurbs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.blurb {
  text-align: left;
  padding: 0.5rem;
}

.blurb img {
  margin: 0 auto 1rem;
  max-height: 80px;
  width: auto;
}

/* --- Home: Podcast / Video links ------------------ */
.media-links {
  background: #f7fafc;
  text-align: center;
  padding: 2rem 1.25rem;
}

.media-links p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.media-links a {
  font-weight: 500;
}

.video-thumb {
  display: inline-block;
  margin-top: 0.5rem;
}

.video-thumb img {
  display: inline-block;
  max-width: 534px;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: opacity 0.2s;
}

.video-thumb img:hover {
  opacity: 0.88;
}

/* --- Home: Testimonials --------------------------- */
.testimonials {
  background: #1a3f5c;
  color: #fff;
}

.testimonials .section-title {
  color: #a8d4ef;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial {
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonial em {
  display: block;
  margin-top: 0.75rem;
  color: #a8d4ef;
  font-style: italic;
}

/* --- About: Who We Are ---------------------------- */
.about-intro {
  background: #fff;
}

.about-intro .motto {
  margin-top: 1.5rem;
  background: #f0f6fa;
  border-left: 4px solid #0c73a3;
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
}

.about-intro .motto strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #1a3f5c;
}

/* --- About: Dr. Agahi ----------------------------- */
.dr-agahi {
  background: #f7fafc;
}

.dr-agahi-inner {
  max-width: 900px;
  margin: 0 auto;
}

.dr-agahi img.portrait {
  float: left;
  margin: 0 1.75rem 1.25rem 0;
  border-radius: 4px;
  max-width: 280px;
  width: 100%;
}

.dr-agahi p {
  margin-bottom: 1rem;
}

.cv-link {
  display: inline-block;
  margin-top: 1rem;
  background: #0c73a3;
  color: #fff;
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

.cv-link:hover {
  background: #095c82;
  color: #fff;
  text-decoration: none;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* --- About: YouTube embed ------------------------- */
.video-embed {
  background: #fff;
  text-align: center;
  padding: 2.5rem 1.25rem;
}

.video-embed .section-title {
  color: #a8d4ef;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding-top: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 4px;
}

/* --- Services: Grid ------------------------------- */
.services {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  border: 1px solid #dde8f0;
  border-radius: 6px;
  padding: 1.75rem;
  background: #fafcfe;
}

.service-card img {
  margin: 0 auto 1rem;
  max-height: 80px;
  width: auto;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a3f5c;
  margin-bottom: 0.75rem;
  text-align: center;
}

.service-card p {
  margin-bottom: 0.75rem;
  font-size: 0.94rem;
}

.service-card ul {
  font-size: 0.94rem;
  margin-top: 0.5rem;
}

.service-card ul li {
  margin-bottom: 0.3rem;
}

/* --- Contact -------------------------------------- */
.contact-section {
  background: #fff;
  text-align: center;
}

.contact-email-block {
  margin: 0 auto 2rem;
  max-width: 480px;
}

.contact-email-block img {
  margin: 0 auto 0.75rem;
}

.contact-email-block a {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a3f5c;
}

.contact-email-block a:hover {
  color: #0c73a3;
}

.contact-note {
  color: #666;
  margin-top: 0.5rem;
}

/* --- Shared: Podcast / Media strip ---------------- */
.media-strip {
  background: #eef4f9;
  text-align: center;
  padding: 1.75rem 1.25rem;
}

.media-strip p {
  margin-bottom: 1.25rem;
}

.media-strip:last-of-type p:last-child {
  margin-bottom: 0;
}

/* --- Footer --------------------------------------- */
footer {
  background: #12293d;
  color: #a8c8df;
  text-align: center;
  padding: 1.25rem 1.25rem;
  font-size: 0.88rem;
}

footer a {
  color: #7ab8d9;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #a8d4ef;
}

/* --- Responsive ----------------------------------- */
@media (max-width: 900px) {
  .blurbs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .dr-agahi img.portrait {
    float: none;
    margin: 0 auto 1.25rem;
    max-width: 260px;
  }
}

@media (max-width: 680px) {
  .nav-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  nav {
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    background: #fff;
    border-top: 1px solid #e8e8e8;
  }

  nav.open {
    max-height: 300px;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
  }

  nav ul li a {
    padding: 0.65rem 0.75rem;
    border-radius: 0;
    border-bottom: 1px solid #eee;
  }

  .logo-link img {
    height: 40px;
  }

  .home-intro p.tagline-2 {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.45rem;
  }
}
