
/* RESET & GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
}

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

/* TYPOGRAPHY */
h1 {
  font-size: 2.25rem;
  color: #0B1D3A;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.75rem;
  color: #333333;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.25rem;
  color: #333333;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

p, li {
  font-size: 1rem;
  color: #333333;
}

/* HEADER */
.site-header {
  background-color: #0B1D3A;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-left {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.tagline {
  font-size: 1.25rem;
  font-weight: 500;
  color: white;
  margin-top: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-right: 2rem;
}

.header-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: #FF8200; /* UT Orange */
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: #0B1D3A;
  padding: 1rem 2rem;
  z-index: 999;
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  color: white;
  font-size: 1rem;
}

.mobile-nav a:hover {
  background-color: #FF8200;
  color: #0B1D3A;
}

.mobile-dropdown {
  display: flex;
  flex-direction: column;
}

.mobile-dropbtn {
  padding: 0.75rem 1rem;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  background-color: #0B1D3A;
  padding-left: 1rem;
}

.mobile-dropdown-content a {
  padding: 0.5rem 1rem;
  color: white;
  font-size: 1rem;
}

#mobileDropdown.open {
  display: flex;
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-nav.open {
    display: flex;
  }
}

/* DROPDOWN MENU */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #0B1D3A;
  min-width: 360px;
  padding: 0.5rem 0;
  z-index: 1001;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 1rem;
}

.dropdown-content a:hover {
  background-color: #FF8200;
  color: #0B1D3A;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* HOME PAGE */
.home-page {
  max-width: 1200px;
  width: 90vw;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.home-hero {
  text-align: center;
  padding: 3rem 1rem;
  background-color: white;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.home-hero h1 {
  font-size: 2.5rem;
  color: #0B1D3A;
  margin-bottom: 0.5rem;
}

.home-hero h2 {
  font-size: 1.5rem;
  color: #333;
  font-weight: 400;
}

.home-about {
  text-align: left;
  padding: 3rem 1rem;
  background-color: #e7e7e7;
  border-radius: 0.5rem;
  margin-bottom: 2rem;

}

.home-about h2 {
  font-size: 1.75rem;
  color: #0B1D3A;
  margin-bottom: 1rem;
}

.home-about p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.home-hero-banner {
  position: relative;
  background-image: url('/wp-content/themes/YOUR-THEME/assets/images/home-hero.jpg');
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-overlay {
  background-color: rgba(11, 29, 58, 0.7); /* Navy overlay */
  padding: 2rem;
  border-radius: 8px;
  max-width: 800px;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-overlay h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.hero-cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #FF8200;
  color: white;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.hero-cta:hover {
  background-color: #e57100;
}

/* PAGE CONTAINER */
.service-page {
  max-width: 1200px;
  width: 90vw;
  margin: 0 auto;
  padding: 0rem 2rem;
}

.service-hero {
  text-align: center;
  padding: 0.5rem 1rem 1rem;
  background-color: #0B1D3A;
  color: white;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 0;
  overflow-x: hidden;
}

.service-hero h1,
.service-hero h2,
.service-hero h3,
.service-hero p {
  color: white !important;
  margin-top: 0;
  margin-bottom: 0;
}

.service-intro-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 3rem;
}

.intro-image-container {
  position: relative;
  width: 60%;
}

.service-deliverables {
  flex: 1 1 35%;
  max-width: 35%;
  padding-left: 1rem;
}

.service-intro-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.intro-text-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: rgba(245, 245, 245, 0.75);
  padding: 1rem 1.5rem;
  max-width: 60%-3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
}

.service-why {
  margin-top: 3rem;
  border-top: 1px solid #ccc;
  padding-bottom: 4rem;
}

.service-intro,
.service-differentiators {
  margin-top: 3rem;
}


/* ABOUT PAGE IMAGES & SECTIONS */
.victoria-section,
.founder-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 3rem;
}

/* About Page Layout */
.about-intro-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
}

.about-intro-flex .intro-image-container {
  flex: 1 1 50%;
  max-width: 55%;
}

.about-intro-flex .intro-image-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.about-intro-flex .service-deliverables {
  flex: 1 1 45%;
  max-width: 45%;
  padding-left: 1rem;
}

/* Responsive tweak for About layout */
@media (max-width: 768px) {
  .about-intro-flex {
    flex-direction: column;
  }

  .about-intro-flex .intro-image-container,
  .about-intro-flex .service-deliverables {
    max-width: 100%;
  }
}

/* Founder title block */
.founder-section{
    padding: 3rem 0rem;
}

.founder-image {
  flex: 1 1 200px;
  max-width: 30%;
}

.founder-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  max-height: 500px; /* Prevents vertical overflow */
  object-fit: contain;
}

.founder-text {
  flex: 2 1 400px;
  max-width: 65%;
  padding-left: 1.5rem;
}

.founder-title {
  margin-bottom: 1rem;
}

.founder-name {
  color: #0B1D3A;
  font-size: 2rem;
}

.founder-tagline {
  font-size: 1.25rem;
  color: #555;
}

@media (max-width: 768px) {
  .about-intro-container,
  .victoria-section,
  .founder-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-intro-image,
  .victoria-image,
  .founder-image {
    max-width: 100%;
  }

  .about-intro-text,
  .victoria-text,
  .founder-text {
    width: 100%;
  }

  .founder-title {
    text-align: center;
  }
}

.contact-content {
  max-width: 700px;
  margin: 3rem auto;
}

.contact-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #0B1D3A;
  color: white;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: fit-content;
}

.contact-form button:hover {
  background-color: #FF8200;
  color: #0B1D3A;
}

.location-note {
  margin-top: 2rem;
  font-style: italic;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-tile {
  background-color: #F7F7F7;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-tile h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #0B1D3A;
}

.service-tile p {
  font-size: 1rem;
  color: #333;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.service-link {
  font-weight: 600;
  color: #FF8200;
  text-decoration: none;
  align-self: flex-start;
}

.service-link:hover {
  text-decoration: underline;
}

.services-overview {
  padding-top: 3rem;
}

.arrow-divider {
  position: absolute;
  top: 0; /* how far the arrow invades into the next block */
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 40px solid; /* arrow color is set by specific class */
  z-index: 2;
}

.orange-arrow {
  border-top-color: #FF8200; /* UT Orange */
  right: 10rem;   /* aligns arrow to the right with some padding */
}

.teal-arrow {
  border-top-color: #4DC6D9; /* Teal */
  left: 10rem;   /* aligns arrow to the right with some padding */
}

.service-blurb {
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}

.gradient-divider {
  height: 40px;
  background: linear-gradient(to bottom, #FF8200, #4DC6D9);
}

.blurb-content {
  max-width: 700px;
  padding: 2rem;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.blurb-content h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: #0B1D3A;
}

.blurb-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
}

.blurb-content .service-link {
  font-weight: 600;
  color: #FF8200;
  text-decoration: none;
}

.blurb-content .service-link:hover {
  text-decoration: underline;
}

.orange {
  background-color: #FF8200;
}

.teal {
  background-color: #4DC6D9;
}

.left {
  margin-left: auto;
  margin-right: 0;
}

.right {
  margin-right: auto;
  margin-left: 0;
}

/* Service Summary Blurb */
.service-summary-blurb {
  margin-top: 4rem;
  padding: 6rem 2rem;
  background-color: #FFA733; /* Navy background */
  display: flex;
  justify-content: center;
}

.service-summary-content {
  background: #ffffff; /* White text box */
  padding: 1rem 2rem 2rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  max-width: 900px;
  width: 100%;
}

.service-summary-content h2 {
  color: #0B1D3A; /* UT orange */
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.service-summary-content h3 {
  color: #333333; /* Navy for subsection headers */
  margin-top: 2rem;
  font-size: 1.5rem;
}

.service-summary-content p {
  color: #333333; /* Standard dark gray text */
  margin-top: 0.5rem;
  line-height: 1.6;
}


/* Responsive tweaks */
@media (max-width: 768px) {
  .blurb-content {
    margin: 0 auto;
  }

  .left, .right {
    margin-left: auto;
    margin-right: auto;
  }
}

.home-hero-split {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-img {
  flex: 1 1 50%;
}

.hero-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero-text {
  flex: 1 1 50%;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #0B1D3A;
}

.hero-text h2 {
  font-size: 1.5rem;
  color: #333;
  font-weight: 400;
  margin-bottom: 1rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #FF8200;
  color: white;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.hero-cta:hover {
  background-color: #e57100;
}

/* HOMEPAGE HERO SECTION */
.homepage-hero {
  position: relative;
  background: url('/wp-content/themes/snmc-analytics/assets/images/home-hero.png') center center / cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-overlay {
  background-color: rgba(11, 29, 58, 0.85); /* Overlay to darken the image */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

.hero-content {
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.75rem;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: #ffffff;
}

.cta-button {
  background-color: #FF8200;
  color: white;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e96e00;
}

@media (max-width: 768px) {
  .service-intro-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-image-container {
    width: 100%;
  }

  .service-intro-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
  }

  .intro-text-overlay {
    position: static;
    background-color: rgba(245, 245, 245, 0.95);
    padding: 1.5rem;
    margin-top: -1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    max-width: 100%;
  }

  .service-deliverables {
    max-width: 100%;
    padding: 0 1rem;
  }
  
    .founder-text {
    max-width: 100%;
    padding: 0 1rem;
  }
}
