/**
 * Theme Name:     Divi Child West
 * Author:         Chris and Kat
 * Template:       Divi
 * Text Domain:	   divi-child-west
 * Description:    Made for Westransco.
 */

    :root {
      --westransco-navy: #1a2a4a;
      --westransco-red: #e63946;
      --westransco-light: #f1faee;
      --westransco-text: #333;
      --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
      --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
      --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
      --transition-standard: all 0.3s ease;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      scroll-behavior: smooth;
    }
    
    body {
      font-family: 'Inter', sans-serif;
      color: var(--westransco-text);
      line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
      color: var(--westransco-navy);
      font-weight: 600;
      line-height: 1.2;
    }
    
    h1 {
      font-size: 2.5rem;
    }
    
    h2 {
      font-size: 2rem;
    }
    
    h3 {
      font-size: 1.5rem;
    }
    
    p {
      margin-bottom: 1rem;
    }
    
    img {
      max-width: 100%;
      height: auto;
    }
    
    .container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 1rem;
    }
    
    @media (min-width: 768px) {
      .container {
        padding: 0 1.5rem;
      }
      
      h1 {
        font-size: 3rem;
      }
      
      h2 {
        font-size: 2.25rem;
      }
    }
    
    @media (min-width: 1024px) {
      .container {
        padding: 0 2rem;
      }
      
      h1 {
        font-size: 3.5rem;
      }
    }
    
    /* Header */
    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background-color: white;
      box-shadow: var(--shadow-sm);
      z-index: 100;
      padding: 1rem 0;
      transition: var(--transition-standard);
    }
    
    header.scrolled {
      padding: 0.75rem 0;
    }
    
    .header-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    
    .logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--westransco-navy);
      text-decoration: none;
    }
    
    .logo img {
      height: 2.5rem;
    }
    
    /* Hero Section */
    .hero {
      padding-top: 7rem;
      padding-bottom: 4rem;
      position: relative;
      overflow: hidden;
      background-color: var(--westransco-navy);
      color: white;
    }
    
    .hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: url('lovable-uploads/9e1a373a-8ade-469e-a8fc-c002e5fdcca4.png');
      background-size: cover;
      background-position: center;
      opacity: 0.8;
    }
    
    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to right, rgba(26, 42, 74, 0.9), rgba(26, 42, 74, 0.7), rgba(26, 42, 74, 0.4));
    }
    
    .hero-overlay-2 {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to bottom, rgba(26, 42, 74, 0.3), rgba(26, 42, 74, 0.6));
    }
    
    .hero-content {
      position: relative;
      z-index: 10;
      max-width: 48rem;
      margin: 0 auto;
      text-align: center;
      padding: 2rem 0;
    }
    
    .hero h1 {
      color: white;
      margin-bottom: 1.5rem;
      text-shadow: 0 3px 6px rgba(0,0,0,0.4);
      animation: fadeIn 1s ease-in-out forwards;
    }
    
    .hero p {
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 2rem;
      font-size: 1.125rem;
      text-shadow: 0 2px 4px rgba(0,0,0,0.3);
      animation: fadeIn 1s ease-in-out 0.2s forwards;
      opacity: 0;
    }
    
    .hero-buttons {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      justify-content: center;
      animation: fadeIn 1s ease-in-out 0.4s forwards;
      opacity: 0;
    }
    
    @media (min-width: 640px) {
      .hero-buttons {
        flex-direction: row;
      }
    }
    
    .curve {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      width: 100%;
      overflow: hidden;
      line-height: 0;
    }
    
    .curve svg {
      display: block;
      width: 100%;
      height: 120px;
    }
    
    .curve .fill {
      fill: white;
    }
    
    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.75rem 1.5rem;
      border-radius: 0.375rem;
      font-weight: 500;
      text-decoration: none;
      transition: var(--transition-standard);
      cursor: pointer;
    }
    
    .btn-primary {
      background-color: var(--westransco-navy);
      color: white;
    }
    
    .btn-primary:hover {
      background-color: rgba(26, 42, 74, 0.9);
    }
    
    .btn-secondary {
      background-color: var(--westransco-red);
      color: white;
    }
    
    .btn-secondary:hover {
      background-color: rgba(230, 57, 70, 0.9);
    }
    
    .btn-outline {
      background-color: rgba(255, 255, 255, 0.1);
      border: 2px solid white;
      color: white;
    }
    
    .btn-outline:hover {
      background-color: var(--westransco-red);
      border-color: var(--westransco-red);
    }
    
    .btn-lg {
      padding: 0.75rem 2rem;
      font-size: 1.125rem;
    }
    
    /* Navigation Pills */
    .nav-pills {
      padding: 1rem 0;
      overflow-x: auto;
    }
    
    .nav-pills-container {
      display: flex;
      gap: 1rem;
      min-width: max-content;
    }
    
    .nav-pill {
      background-color: var(--westransco-light);
      color: var(--westransco-navy);
      padding: 0.5rem 1rem;
      border-radius: 9999px;
      font-size: 0.875rem;
      font-weight: 500;
      transition: var(--transition-standard);
      border: none;
      cursor: pointer;
    }
    
    .nav-pill:hover {
      background-color: var(--westransco-red);
      color: white;
    }
    
    .nav-pill-cta {
      background-color: var(--westransco-red);
      color: white;
    }
    
    .nav-pill-cta:hover {
      background-color: rgba(230, 57, 70, 0.9);
    }
    
    /* Section Styling */
    section {
      padding: 4rem 0;
    }
    
    .section-light {
      background-color: rgba(241, 250, 238, 0.6);
    }
    
    .section-title {
      text-align: center;
      margin-bottom: 3rem;
    }
    
    .section-title h2 {
      margin-bottom: 1rem;
    }
    
    .section-title p {
      max-width: 36rem;
      margin-left: auto;
      margin-right: auto;
      color: #555;
    }
    
    /* Cards */
    .grid {
      display: grid;
      gap: 2rem;
    }
    
    @media (min-width: 768px) {
      .grid-2-cols {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .grid-3-cols {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    
    @media (min-width: 1024px) {
      .grid-3-cols {
        grid-template-columns: repeat(3, 1fr);
      }
      
      .grid-12-cols {
        grid-template-columns: 5fr 7fr;
      }
    }
    
    .card {
      background-color: white;
      border-radius: 0.5rem;
      overflow: hidden;
      box-shadow: var(--shadow-md);
      transition: var(--transition-standard);
      border: 1px solid transparent;
    }
    
    .card:hover {
      box-shadow: var(--shadow-lg);
      border-color: var(--westransco-red);
    }
    
    .card-img {
      height: 12rem;
      overflow: hidden;
    }
    
    .card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    
    .card:hover .card-img img {
      transform: scale(1.05);
    }
    
    .card-header {
      padding: 1.5rem 1.5rem 0.75rem;
    }
    
    .card-icon {
      width: 3rem;
      height: 3rem;
      background-color: rgba(230, 57, 70, 0.1);
      border-radius: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
    }
    
    .card-icon svg {
      color: var(--westransco-red);
    }
    
    .card-title {
      font-size: 1.25rem;
      margin-bottom: 0.5rem;
    }
    
    .card-description {
      color: #666;
      font-size: 0.875rem;
    }
    
    .card-content {
      padding: 0.75rem 1.5rem 1.5rem;
    }
    
    .card-small {
      padding: 1rem;
    }
    
    .card-small .flex {
      display: flex;
      align-items: flex-start;
    }
    
    .card-small .card-icon {
      width: 2.5rem;
      height: 2.5rem;
      margin-right: 0.75rem;
      margin-bottom: 0;
      border-radius: 9999px;
    }
    
    .card-left-border {
      border-left: 4px solid var(--westransco-red);
    }
    
    /* Lists */
    ul.feature-list {
      list-style: none;
    }
    
    ul.feature-list li {
      display: flex;
      align-items: flex-start;
      margin-bottom: 0.5rem;
    }
    
    ul.feature-list li .icon {
      color: var(--westransco-red);
      margin-right: 0.5rem;
      margin-top: 0.25rem;
      flex-shrink: 0;
    }
    
    /* Image container */
    .image-container {
      border-radius: 0.5rem;
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }
    
    .image-container.aspect-ratio {
      position: relative;
      width: 100%;
      padding-top: 56.25%; /* 16:9 Aspect Ratio */
    }
    
    .image-container.aspect-ratio img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .image-container.aspect-square {
      position: relative;
      width: 100%;
      padding-top: 100%; /* 1:1 Aspect Ratio */
    }
    
    .image-container.aspect-square img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 1rem;
      background-color: #f9f9f9;
    }
    
    .image-caption {
      padding: 0.75rem;
      background-color: #f9f9f9;
      color: #666;
      font-size: 0.875rem;
      text-align: center;
      border-top: 1px solid #eee;
    }
    
    /* Helpers */
    .text-center {
      text-align: center;
    }
    
    .mx-auto {
      margin-left: auto;
      margin-right: auto;
    }
    
    .mb-1 {
      margin-bottom: 0.25rem;
    }
    
    .mb-2 {
      margin-bottom: 0.5rem;
    }
    
    .mb-4 {
      margin-bottom: 1rem;
    }
    
    .mb-6 {
      margin-bottom: 1.5rem;
    }
    
    .mb-8 {
      margin-bottom: 2rem;
    }
    
    .mb-12 {
      margin-bottom: 3rem;
    }
    
    .mt-4 {
      margin-top: 1rem;
    }
    
    .mt-10 {
      margin-top: 2.5rem;
    }
    
    .text-red {
      color: var(--westransco-red);
    }
    
    .text-navy {
      color: var(--westransco-navy);
    }
    
    .text-gray {
      color: #555;
    }
    
    .flex {
      display: flex;
    }
    
    .items-center {
      align-items: center;
    }
    
    .justify-center {
      justify-content: center;
    }
    
    .gap-4 {
      gap: 1rem;
    }
    
    .space-y-2 > * + * {
      margin-top: 0.5rem;
    }
    
    .space-y-4 > * + * {
      margin-top: 1rem;
    }
    
    .max-w-2xl {
      max-width: 42rem;
    }
    
    .max-w-3xl {
      max-width: 48rem;
    }
    
    /* Animations */
    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }
    
    .fade-in {
      opacity: 0;
      animation: fadeIn 1s ease-in-out forwards;
    }
    
    /* Footer */
    footer {
      background-color: var(--westransco-navy);
      color: white;
      padding: 3rem 0;
    }
    