/* AIBizzApps - Professional Blue & White Theme (matching original) */

:root {
  /* Original Site Colors - Blue Theme */
  --primary-blue: #145185;        /* Main header blue */
  --primary-blue-dark: #0d3459;   /* Darker blue for hover */
  --accent-blue: #4682B4;         /* Steel blue accent */
  --light-blue: #5B9BD5;          /* Light blue for highlights */

  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F7F7F7;
  --medium-gray: #EBEBEB;
  --text-gray: #5E5E5E;
  --dark-gray: #1B1B1B;
  --border-gray: #E2E2E2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', 'Arial', sans-serif;
  background-color: var(--white);
  color: var(--dark-gray);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Text Selection */
::selection {
  background-color: var(--accent-blue);
  color: white;
}

/* Navigation - Original Blue Theme */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--primary-blue);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 1rem 1.25rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  background-color: var(--accent-blue) !important;
  margin-left: 1rem !important;
  border-radius: 4px !important;
  padding: 0.75rem 1.5rem !important;
}

.nav-cta:hover {
  background-color: var(--primary-blue-dark) !important;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: var(--primary-blue);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu li a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.mobile-menu li a:hover,
.mobile-menu li a.active {
  background: rgba(255, 255, 255, 0.1);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section - Original Theme */
.hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
  color: white;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-text {
  text-align: left;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.gradient-text {
  color: white;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: white;
  color: var(--primary-blue);
}

.btn-primary:hover {
  background-color: var(--light-gray);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary-blue);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--accent-blue);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--light-gray);
}

.card-content {
  padding: 2rem;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.card-description {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card-description ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.card-description li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.card-category {
  display: inline-block;
  background: var(--light-gray);
  color: var(--primary-blue);
  padding: 0.35rem 0.875rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.card-tech span {
  background: var(--light-gray);
  color: var(--text-gray);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Footer */
footer {
  background: var(--primary-blue);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  text-align: center;
}

.footer-company {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.footer-copyright {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Alternating Sections */
.bg-light {
  background-color: var(--light-gray);
}

.bg-white {
  background-color: var(--white);
}

/* Form Styles */
input, textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Project Detail Cards */
.project-detail-card {
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.project-detail-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.project-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
}

.project-image-container {
  background: var(--light-gray);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image-container img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
}

.project-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-title-main {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.project-description-main {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.project-body {
  padding: 2rem;
  border-top: 1px solid var(--border-gray);
}

.project-features {
  margin-bottom: 2rem;
}

.project-features h4 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.project-features ul {
  padding-left: 1.5rem;
  color: var(--text-gray);
}

.project-features li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.project-features strong {
  color: var(--dark-gray);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    padding: 8rem 0 3rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-logo-image {
    max-width: 200px;
  }

  .hero-buttons {
    justify-content: center;
  }

  section {
    padding: 3rem 0;
  }

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

  .project-header {
    grid-template-columns: 1fr;
  }

  .project-image-container {
    padding: 1.5rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  /* Sleep Guru Featured Section Responsive */
  .card-content > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .card-content h4 {
    font-size: 1.5rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
  }

  .hero-logo-image {
    max-width: 250px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
