/* ================================================
   NEW YORK CANCER & BLOOD SPECIALISTS
   Homepage CSS - index.css (without header/footer)
   ================================================ */

/* ================================================
   1. CSS VARIABLES & GLOBAL SETTINGS
   ================================================ */
:root {
  /* Brand Colors */
  --nycbs-purple: #763d76;
  --nycbs-blue: #008dd0;
  --nycbs-light-blue: #0099e0;

  /* Text Colors */
  --text-primary: #1a1a1a;
  --text-secondary: #5a5a5a;
  --text-light: #7a7a7a;

  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-gray: #f3f4f6;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition: all 0.3s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
}

/* ================================================
   2. RESET & BASE STYLES
   ================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
}

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

/* ================================================
   3. TYPOGRAPHY
   ================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
}
h2 {
  font-size: clamp(28px, 4vw, 40px);
}
h3 {
  font-size: clamp(22px, 3vw, 28px);
}
h4 {
  font-size: clamp(18px, 2.5vw, 22px);
}

p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
}

a {
  color: var(--nycbs-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--nycbs-light-blue);
}

/* ================================================
   4. UTILITY CLASSES
   ================================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.desktop-only {
  display: block;
}

/* ================================================
   5. BUTTON STYLES
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--nycbs-purple) 0%, #8b4a8b 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(118, 61, 118, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(118, 61, 118, 0.35);
  color: white;
}

.hero-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
  transform: translateY(-3px);
}

/* ================================================
   6. CARD STYLES
   ================================================ */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 24px;
}

.card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ================================================
   7. GRID SYSTEM
   ================================================ */
.grid {
  display: grid;
  gap: 24px;
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ================================================
   8. HERO SECTION
   ================================================ */
.hero-section {
  position: relative;
  padding: 120px 5% 100px;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(118, 61, 118, 0.85) 0%,
    rgba(0, 141, 208, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  margin-bottom: 24px;
  color: white;
  line-height: 1.2;
}

.hero-content p {
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
}

.feature i {
  font-size: 24px;
  color: white;
}

/* ================================================
   HERO TITLE - CLEAN TWO-LINE DESIGN
   ================================================ */
.hero-content h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  margin-bottom: 24px;
  color: white;
  line-height: 1.1;
  /* Remove text-transform to keep normal casing */
}

/* Two-line effect with consistent font */
.hero-title-line1 {
  display: block;
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-title-line2 {
  display: block;
  font-size: 0.85em; /* Slightly smaller but not too small */
  font-weight: 600; /* Medium weight for readability */
  line-height: 1.1;
  opacity: 0.95;
}

/* Option 1: Clean and Simple (Default) */
/* This is the cleanest look with just size difference */

/* Option 2: With Accent Color */
.hero-title-accent {
  color: rgba(0, 141, 208, 1); /* Your brand blue */
  font-weight: 700;
}

/* Usage: <span class="hero-title-accent">Close</span> to Home */

/* Option 3: With Subtle Divider */
.hero-title-with-divider .hero-title-line2::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 3px;
  background: var(--nycbs-blue);
  margin-right: 16px;
  vertical-align: middle;
  border-radius: 2px;
}

/* Option 4: Side by Side on Large Screens */
@media (min-width: 1200px) {
  .hero-title-inline h1 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-title-inline .hero-title-line1,
  .hero-title-inline .hero-title-line2 {
    display: inline;
    margin-bottom: 0;
  }

  .hero-title-inline .hero-title-line2 {
    font-size: 0.9em;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-title-line1 {
    font-size: 1em;
    margin-bottom: 2px;
  }

  .hero-title-line2 {
    font-size: 0.85em;
  }
}

/* ================================================
   9. CHAT FEATURE SECTION
   ================================================ */
.chat-feature-section {
  padding: 80px 5%;
  background: var(--bg-white);
}

.response-section {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.response-section.featured {
  border: 2px solid rgba(118, 61, 118, 0.1);
}

.chat-header-intro {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-title i {
  color: var(--nycbs-purple);
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 24px;
}

.assistant-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.assistant-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nycbs-purple);
  font-weight: 500;
}

.assistant-features i {
  color: #22c55e;
}

.input-container {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  background: white;
  border-radius: var(--radius-full);
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: var(--transition);
}

.input-container:focus-within {
  border-color: var(--nycbs-purple);
  box-shadow: 0 4px 20px rgba(118, 61, 118, 0.2);
}

.input-container input {
  flex: 1;
  border: none;
  padding: 16px 24px;
  font-size: 17px;
  background: transparent;
  outline: none;
}

.input-container input::placeholder {
  color: var(--text-light);
}

.input-container button {
  background: var(--nycbs-purple);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.input-container button:hover {
  background: #8b4a8b;
  transform: translateY(-1px);
}

/* Thinking Loader */
.think-loader-wrap {
  margin: 20px 0;
  position: relative;
}

.rectangles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.lightbulb-icon {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  animation: pulse 2s ease-in-out infinite;
}

.rectangle {
  width: 4px;
  height: 20px;
  background: rgba(158, 109, 165, 0.3);
  border-radius: 2px;
  animation: wave 1.5s ease-in-out infinite;
}

.rectangle:nth-child(2) {
  animation-delay: 0.1s;
}
.rectangle:nth-child(3) {
  animation-delay: 0.2s;
}
.rectangle:nth-child(4) {
  animation-delay: 0.3s;
}
.rectangle:nth-child(5) {
  animation-delay: 0.4s;
}
.rectangle:nth-child(6) {
  animation-delay: 0.5s;
}
.rectangle:nth-child(7) {
  animation-delay: 0.6s;
}
.rectangle:nth-child(8) {
  animation-delay: 0.7s;
}
.rectangle:nth-child(9) {
  animation-delay: 0.8s;
}

@keyframes wave {
  0%,
  100% {
    height: 20px;
    background: rgba(158, 109, 165, 0.3);
  }
  50% {
    height: 40px;
    background: rgba(158, 109, 165, 0.8);
  }
}

.think-tooltip {
  text-align: center;
  color: var(--nycbs-purple);
  font-weight: 500;
  margin-top: 12px;
  font-size: 14px;
}

.suggestions-section {
  margin-bottom: 24px;
}

.suggestions-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.response-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 100px;
  box-shadow: var(--shadow-sm);
}
/* ================================================
   TRUST SECTION - 3 COLUMN UPDATE
   ================================================ */
.trust-section {
  padding: 80px 5%;
  background: var(--bg-light);
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Update grid to 3 columns */
.trust-container.grid.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.trust-item {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.trust-item i {
  font-size: 48px;
  color: var(--nycbs-purple);
  margin-bottom: 20px;
}

.trust-item h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--nycbs-purple);
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0;
}

/* Mobile responsive - keep 2 columns on tablet, 1 on phone */
@media (max-width: 1024px) {
  .trust-container.grid.grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .trust-container.grid.grid-cols-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ================================================
   11. LATEST NEWS SECTION
   ================================================ */
#latest-news {
  padding: 80px 5%;
  background: var(--bg-white);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
}

.view-all-link {
  color: var(--nycbs-blue);
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.view-all-link:hover {
  color: var(--nycbs-purple);
}

.news-cards {
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.news-card:hover {
  text-decoration: none;
}

.news-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.news-image img {
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--nycbs-purple);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
}

.news-content {
  display: flex;
  flex-direction: column;
  height: calc(100% - 250px);
}

.read-more {
  color: var(--nycbs-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: var(--transition);
}

.news-card:hover .read-more {
  color: var(--nycbs-purple);
}

.read-more i {
  transition: transform 0.3s ease;
}

.news-card:hover .read-more i {
  transform: translateX(4px);
}

/* ================================================
   12. SECTION STYLES
   ================================================ */
.section {
  padding: 60px 5%;
}

/* ================================================
   13. ANIMATIONS
   ================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 141, 208, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(0, 141, 208, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 141, 208, 0);
  }
}

.pulse-once {
  animation: pulse 1.5s;
}

/* ================================================
   14. RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 1024px) {
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 22px;
  }
  p {
    font-size: 16px;
  }

  .desktop-only {
    display: none !important;
  }

  .grid-cols-4,
  .grid-cols-3,
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 20px;
  }

  .section-heading {
    font-size: 28px;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Hero section mobile */
  .hero-section {
    padding: 60px 20px 50px;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Hide hero features on mobile */
  .hero-features {
    display: none;
  }

  /* Chat section mobile */
  .response-section {
    padding: 30px 16px;
    border-radius: 0;
  }

  .chat-header-intro h2 {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 17px;
  }

  .response-section .input-container {
    gap: 8px;
  }

  .response-section .input-container input {
    font-size: 16px;
    padding: 16px 20px;
  }

  .response-section .input-container button {
    padding: 16px;
    width: 48px;
    min-width: 48px;
    border-radius: 50%;
  }

  .response-section .input-container button .button-text {
    display: none;
  }

  .response-section .input-container button i {
    margin: 0;
  }

  /* News section mobile */
  .news-cards {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Trust section mobile */
  .trust-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .killmobile {
	  display:none;
  }
}

@media (max-width: 480px) {
  .trust-container {
    grid-template-columns: 1fr;
  }
  .killmobile {
	  display:none;
  }
}
