/*
Theme Name: Innovative Solutions
Theme URI: https://whereyoursolutionis.com
Author: Custom Solutions Team
Author URI: https://whereyoursolutionis.com
Description: A clean, modern custom WordPress theme built for software development, hosting (Upmind integration), and custom integrations.
Version: 1.0.0
Text Domain: innovative-solutions
*/

/* ==========================================================================
   1. CSS Variables & Reset
   ========================================================================== */
:root {
  --primary-color: #0d6efd;
  --primary-hover: #0b5ed7;
  --secondary-color: #0f172a;
  --accent-color: #06b6d4;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --border-color: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 30px -10px rgba(0, 0, 0, 0.12);
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --container-max: 1240px;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   2. Typography & Buttons
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--secondary-color);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color) !important;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-color);
  color: #ffffff !important;
}

.btn-accent:hover {
  background-color: #0891b2;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #ffffff !important;
}

.btn-secondary:hover {
  background-color: #334155;
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-branding img {
  max-height: 52px;
  width: auto;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.main-navigation a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
}

.main-navigation a:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary-color);
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* ==========================================================================
   5. Services Section (3 Blocks)
   ========================================================================== */
.services-section {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.25rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.75rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 24px;
}

/* ==========================================================================
   6. What We Do & About Us Section
   ========================================================================== */
.about-section {
  padding: 90px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-highlights {
  list-style: none;
  margin-top: 20px;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.about-highlights li svg {
  color: var(--accent-color);
}

.about-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   7. Get A Quote Section
   ========================================================================== */
.quote-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  border-radius: 0;
}

.quote-box h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.quote-box p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto 30px auto;
}

.quote-action {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.quote-action .btn {
  background: #ffffff;
  color: var(--primary-color) !important;
  font-size: 1.1rem;
  padding: 14px 36px;
}

.quote-action .btn:hover {
  background: var(--secondary-color);
  color: #ffffff !important;
}

/* ==========================================================================
   8. Integrations Header Banner & Logo Slider
   ========================================================================== */
.integrations-section {
  padding: 70px 0;
  background-color: #f1f5f9;
  overflow: hidden;
}

.integrations-banner {
  text-align: center;
  margin-bottom: 40px;
}

.integrations-banner h2 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary-color);
}

.logo-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.logo-slider-container::before,
.logo-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-slider-container::before {
  left: 0;
  background: linear-gradient(to right, #f1f5f9 0%, rgba(241,245,249,0) 100%);
}

.logo-slider-container::after {
  right: 0;
  background: linear-gradient(to left, #f1f5f9 0%, rgba(241,245,249,0) 100%);
}

.logo-slider-track {
  display: flex;
  width: max-content;
  animation: logoScroll 35s linear infinite;
  gap: 40px;
  align-items: center;
}

.logo-slider-track:hover {
  animation-play-state: paused;
}

.logo-item {
  width: 200px;
  height: 90px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.logo-item img {
  max-height: 60px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
}

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

/* ==========================================================================
   9. Contact Us Section
   ========================================================================== */
.contact-section {
  padding: 90px 0;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-details-list {
  list-style: none;
}

.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.contact-details-list .icon {
  width: 44px;
  height: 44px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

/* ==========================================================================
   10. Software Archive & Single Pages
   ========================================================================== */
.page-header-banner {
  background: var(--secondary-color);
  color: #ffffff;
  padding: 60px 0;
  margin-bottom: 60px;
}

.page-header-banner h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header-banner p {
  color: #94a3b8;
  font-size: 1.1rem;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.software-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

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

.software-thumbnail {
  height: 220px;
  background: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.software-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.software-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.software-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.software-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.software-single-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  padding-bottom: 80px;
}

.software-main-content {
  background: #ffffff;
}

.software-featured-media {
  margin-bottom: 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.software-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.software-gallery-grid img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  object-fit: cover;
  height: 140px;
  width: 100%;
}

.software-sidebar-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  position: sticky;
  top: 100px;
}

.software-sidebar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.action-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-buttons-stack .btn {
  width: 100%;
}

/* ==========================================================================
   11. Basic Content Page Styles
   ========================================================================== */
.basic-page-content {
  padding: 60px 0 90px 0;
}

.page-entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.page-entry-content p {
  margin-bottom: 1.5rem;
}

.page-entry-content h2, 
.page-entry-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer {
  background-color: var(--secondary-color);
  color: #94a3b8;
  padding: 70px 0 30px 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about p {
  margin-top: 16px;
  font-size: 0.95rem;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #94a3b8;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* ==========================================================================
   13. Responsive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-grid, .software-single-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .software-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .services-grid, .software-grid {
    grid-template-columns: 1fr;
  }
  .main-navigation {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
  }
  .main-navigation.is-active {
    display: block;
  }
  .main-navigation ul {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

th {
      padding: 16px 24px;
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #8b949e;
      background: #161b22;
      border-bottom: 1px solid #30363d;
    }

    th.col-feature {
      width: 20%;
    }

    th.col-free {
      width: 35%;
      color: #c9d1d9;
    }

    th.col-sub {
      width: 45%;
      color: #58a6ff;
      background: rgba(56, 139, 253, 0.05);
      border-left: 1px solid #30363d;
    }

    td {
      padding: 18px 24px;
      font-size: 0.9rem;
      line-height: 1.5;
      border-bottom: 1px solid #21262d;
      vertical-align: top;
    }

    td.feature-title {
      font-weight: 600;
      color: #f0f6fc;
      white-space: nowrap;
    }

    td.col-free {
      color: #8b949e;
    }

    td.col-sub {
      color: #e6edf3;
      background: rgba(56, 139, 253, 0.02);
      border-left: 1px solid #30363d;
    }

    tr:last-child td {
      border-bottom: none;
    }

    .pill-lock {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 999px;
      background: rgba(110, 118, 129, 0.2);
      color: #8b949e;
      margin-bottom: 6px;
    }

    .pill-pro {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 999px;
      background: rgba(56, 139, 253, 0.15);
      color: #58a6ff;
      border: 1px solid rgba(56, 139, 253, 0.3);
      margin-bottom: 6px;
    }

    .sub-highlight {
      color: #3fb950;
      font-weight: 600;
    }

    @media (max-width: 640px) {
      th, td {
        padding: 12px 14px;
        font-size: 0.8rem;
      }
      .header-area {
        padding: 16px 18px;
      }
    }
