/* ------------------------------
   Global Layout & Typography
--------------------------------- */

body {
  background-color: #043070;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.015),
    rgba(255, 255, 255, 0.015) 8px,
    rgba(0, 0, 0, 0.015) 8px,
    rgba(0, 0, 0, 0.015) 16px
  );
}




h1, h2, h3 {
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0 0 8px;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #0066cc;
}

a:hover {
  text-decoration: underline;
}



.hero {
  background: url('images/aimountains.png') no-repeat center bottom;
  background-size: cover; /* Optional: scales the image nicely */
  padding: 32px 16px;
  min-height: 200px;
  color: white;            /* Contrast for text */
  text-align: center;
}

/* ------------------------------
   Header Styling
--------------------------------- */
header {
  background-color: #f5935b;
  text-align: center;
  padding: 32px 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  animation: sunriseGlow 10s infinite ease-in-out;
  animation-direction: alternate;
}


header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}



.site-title {
  font-family: 'Cinzel', serif;
  font-size: 3.0rem;
  font-weight: 700;
  color: transparent;

  letter-spacing: 1px;
  
  text-shadow: 4px 4px 0 rgba(0,0,0,0.4), /* shadow behind stroke */
   0 0 1px rgba(255, 255, 255, 0.3);  /* subtle glow edge */
  
  
  margin-bottom: 12px;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #aa1a1a;
  text-align: center;
  margin-bottom: 0.25rem;
}


header p {
  color: #666;
  font-size: 1rem;
}

/* === Quote Block Styles === */
.quote-block {
  text-align: center;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5935b;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.quote-text {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 12px;
}

.quote-attribution {
  font-size: 0.95rem;
  color: #555;
}

.emphasis {
  font-size: 1.4rem;
  font-weight: bold;
  color: #cc0000;
  animation: darkenRed 2s infinite ease-in-out;
}

@keyframes darkenRed {
  0%   { color: #cc0000; opacity: 1; }
  50%  { color: #990000; opacity: 0.7; }
  100% { color: #660000; opacity: 1; }
}


.word1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #cc0000;
}

.word2 {
  font-size: 2.0rem;
  font-weight: bold;
  color: #b00000;
}

.word3 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #990000;
}

.word4 {
  font-size: 3.0rem;
  font-weight: bold;
  color: #660000;
  animation: pulseRed 1.5s infinite ease-in-out;
  animation: slideSlow 2s infinite ease-in-out;
}

@keyframes slideSlow {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(5px); }
  100% { transform: translateX(0); }
}




.site-header {
  background-color: #f5935b;
  text-align: center;
  padding: 2rem;
  border-bottom: 2px solid #ccc;
}

.site-header h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #f5935b;
}


/* ------------------------------
   Company Cards Styling
--------------------------------- */


.company-card {
  background-color: #e08941;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin: 16px auto;
  min-width: 400px; /* Ensures cards are not too narrow */
  max-width: fit-content; /* Allows cards to expand based on content */
  width: 100%;      /* Ensures cards take full width of their container */
  min-height: 220px;  /* Ensures cards have a minimum height */
  box-sizing: border-box; /* Ensures padding and border are included in width */
  display: inline;        /* Ensures cards are inline */
  text-align: left;
  vertical-align: top; /* Aligns cards to the top */
  transition: box-shadow 0.2s ease;
}

.company-card:hover {
  box-shadow: 4px 4px 12px rgba(0,0,0,0.2);
}

.company-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: 0e263d;
  font-weight: 700;

}

.company-card a {
  display: inline-block;
  margin-right: 16px;
  padding: 6px 0;
  font-size: 0.95rem;
  color: #0e263d;
}

.company-card a:hover {
  color: #4312c9;
}



/* ------------------------------
   Footer Styling
--------------------------------- */

#footer-container {
  margin-top: 10vh; /* Layout spacing between body and footer */
}

footer {
  background-color: #f5935b;
  text-align: center;
  padding: 24px 12px;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid #e0e0e0;
}




/* ------------------------------
   Responsive Adjustments
--------------------------------- */
@media screen and (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  .company-card {
    margin: 12px;
    padding: 12px;
  }

  .company-card a {
    display: block;
    margin-bottom: 8px;
  }

 .hero {
    padding: 20px 10px;
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .quote-block {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 4rem;
  }
}


.quote-divider-labeled {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.quote-divider-labeled::before,
.quote-divider-labeled::after {
  content: "";
  flex: 1;
  border-top: 2px solid #0e263d;
  margin: 0 1rem;
}

.quote-divider-labeled span {
  font-weight: 800;
  color: #0e263d;
  text-transform: uppercase;
  font-size: 2.0rem;
}


/* === News Banner Title === */
.news-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0e263d; /* ← Change this to whatever color you want */
}


/* === Scrolling News Banner === */
.news-banner {
  overflow: hidden;
  white-space: nowrap;
  background-color: #0e263d;
  color: #fff;
  padding: 12px 0;
  font-size: 1.2rem;
  font-weight: 600;
  border-top: 2px solid #f5935b;
  border-bottom: 2px solid #f5935b;
  position: relative;
}

.scrolling-headline {
  display: inline-block;
  padding-left: 100%;
  animation: scrollTicker 15s linear infinite;
}

@keyframes scrollTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.news-banner a {
  color: #fff;
  text-decoration: none;
  padding: 0 1rem;
}

.news-banner a:hover {
  text-decoration: underline;
  color: #f5935b;
}

@keyframes sunriseGlow {
  0%   { background-color: #04204f; }  /* Deep Sierra blue */
  50%  { background-color: #2e4d83; }  /* Cool morning sky */
  75%  { background-color: #5b7fa6; }  /* Hints of warmth */
  100% { background-color: #04204f; }  /* Return to calm blue */
}





/* ------------------------------
   AI Tree Blobs Placeholder
--------------------------------- */

#ai-tree-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  margin: 64px auto;
  padding: 30px;
  text-align: center;
}

.blob {
  width: 560px;
  padding: 32px 48px;
  border-radius: 50% / 40%;
  background: linear-gradient(145deg, #f2f2f2, #dcdcdc);
  box-shadow: 6px 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  font-size: 2.4rem;
}

.blob:hover {
  transform: scale(1.05);
}

.blob a {
  display: block;
  color: #0e263d;
  font-weight: bold;
  text-decoration: none;
}

.canopy {
  background: radial-gradient(circle at top, #8dd17e, #64ac5f);
}

.trunk {
  background: radial-gradient(circle at center, #a7895f, #8e6f45);
}

.roots {
  background: radial-gradient(circle at bottom, #679aa1, #3c6b76);
}

.ai-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
  padding: 0 20px;
}

.card {
  background: #f4f4f4;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  color: #0e263d;
}

.card p {
  font-size: 1.1rem;
  color: #333;
}


/* ------------------------------
   News articles bubbles
--------------------------------- */

.ai-news {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
  padding: 0 20px;
}


.news-bubble {
  border-radius: 24px;
  padding: 28px 36px;
  margin: 32px auto;
  max-width: 760px;
  box-shadow: 4px 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  color: #300303;
}

.news-bubble:hover {
  transform: scale(1.02);
}

.news-bubble h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #300303;
}

.news-bubble p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #f0300303f0f0;
}

.news-bubble a {
  color: #ffe082;
  font-weight: bold;
  text-decoration: none;
}

.news-bubble a:hover {
  text-decoration: underline;
  color: #ffd54f;
}



.news-bubble.highlighted {
  background: none !important; /* Clears any gradient */
  background-color: #dd9254 !important; /* Forces the tint */
  scroll-margin-top: 3rem;
  transform: translate(-20px, -20px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}





/* ------------------------------
   News articles color scheme
--------------------------------- */


.bubble-canopy {
  background: radial-gradient(circle at top, #8dd17e, #64ac5f);
}

.bubble-trunk {
  background: radial-gradient(circle at center, #a7895f, #8e6f45);
}

.bubble-roots {
  background: radial-gradient(circle at bottom, #679aa1, #3c6b76);
}



