/*
Theme Name:   KrisCreates Wordpress Stuff
Theme URI:    https://oceanwp.org/
Description:  Home theme
Author:       KrisCreateLabs
Author URI:   https://kriscreate.uk
Template:     oceanwp
Version:      1.0.0
*/


/* Mobile-Specific Styling */
@media (max-width: 768px) {
    .compkit-table-wrapper {
        padding: 10px; /* Reduced padding for a tighter look */
        border-radius: 12px; /* Apply rounded edges to the table wrapper */
        overflow: hidden; /* Ensure the rounded edges are visible */
    }

    .compkit-table {
        width: 100%;
        table-layout: fixed; /* Ensure the table takes up full width */
        border-radius: 12px; /* Rounded edges for the table */
    }

    /* Convert the table into a more mobile-friendly layout */
    .compkit-table thead th {
        display: table-cell; /* Keep headers visible */
        border-radius: 12px; /* Apply rounded edges to the table wrapper */
    }

    th.hidden {
        display: none !important; /* Hide the first column header */
    }

    /* Ensure the first column takes up 100% width */
    th:nth-child(1),
    td:nth-child(1) {
        width: 100% !important; /* First column takes up full width */
        display: block; /* Make it behave like a block element */
        text-align: left;
    }

    /* Make the remaining two headers take up 50% each */
    th:nth-child(2),
    th:nth-child(3),
    td:nth-child(2),
    td:nth-child(3) {
        width: 50% !important; /* Ensure the next two columns take up equal width */
        display: block; /* Display columns one below the other */
        box-sizing: border-box;
    }

    /* Ensure the table cells also align properly */
    .compkit-table td {
        padding: 10px; /* Reduced padding for a tighter look */
        font-size: 14px;
        text-align: left;
        border-bottom: 1px solid #444;
        display: inline-block; /* Make the content appear horizontally */
        border-radius: 6px; /* Round the edges of table cells */
        width: 100%; /* Ensure the content fills the entire width */
    }

    .compkit-table tr {
        display: flex; /* Make rows flexible */
        flex-wrap: wrap; /* Allow content to wrap inside rows */
        margin-bottom: 12px; /* Reduced margin between rows */
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        box-shadow: 0 5px 10px rgba(0, 123, 255, 0.1); /* Slightly reduced shadow for a tighter look */
    }

    .compkit-feature {
        font-weight: bold;
        color: #ccc;
        width: 100%; /* Ensure the feature takes up full width */
        display: block;
        text-align: left; /* Left-align the feature names */
    }

    .compkit-custom, .compkit-compkit {
        font-size: 16px;
        margin-top: 8px;
        color: #fff;
        width: 50%; /* Ensure both columns take up 50% each */
        display: inline-block;
        text-align: left;
    }

    /* Ensure equal height for the columns in a row */
    .compkit-table td {
        display: flex;
        justify-content: space-between; /* Distribute content evenly */
        align-items: center; /* Center-align the content vertically */
    }

    td.compkit-feature {
        width: 100%; /* Ensure the feature takes up full width */
    }

    .compkit-icon {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }

    /* Modify the feature names and the values for better mobile readability */
    .compkit-feature::after {
        content: ':';
    }

    .compkit-feature, .compkit-custom, .compkit-compkit {
        font-size: 15px;
        padding-left: 0;
    }
}



.compkit-table-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(to bottom right, #0f172a, #1e3a8a);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.compkit-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}

.compkit-table thead th {
    padding: 20px;
    font-size: 18px;
    text-align: left;
    background: rgba(0, 0, 0, 0.6);
    color: #e0e0e0;
}

.compkit-table thead th:first-child {
    background: rgba(0, 0, 0, 0.4);
}

.compkit-table thead th:last-child {
    background: linear-gradient(to right, #3b82f6, #60a5fa);
    color: #fff;
    text-shadow: 0 0 5px #60a5fa;
}

.compkit-table td {
    padding: 20px;
    vertical-align: top;
}

.compkit-feature {
    background-color: rgba(0,0,0,0.3);
    font-weight: bold;
    width: 20%;
}

.compkit-custom {
    background-color: rgba(255,255,255,0.05);
    color: #ccc;
    width: 40%;
}

.compkit-compkit {
    background: linear-gradient(to right, #2563eb, #3b82f6);
    color: #fff;
    width: 40%;
    text-shadow: 0 0 8px rgba(59,130,246,0.6);
    box-shadow: inset 0 0 10px rgba(59,130,246,0.4);
    border-left: 3px solid #3b82f6;
}

/* Ticks and Crosses Styles */
.compkit-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
}

.compkit-icon.tick {
    background-image: url("data:image/svg+xml,%3Csvg fill='limegreen' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 6.709l-11.285 11.291-5.285-5.291 1.414-1.414 3.871 3.877 9.871-9.877z'/%3E%3C/svg%3E");
}

.compkit-icon.cross {
    background-image: url("data:image/svg+xml,%3Csvg fill='crimson' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.364 5.636l-1.414-1.414L12 9.172 7.05 4.222l-1.414 1.414L10.828 12l-5.192 5.192 1.414 1.414L12 14.828l4.95 4.95 1.414-1.414L13.172 12z'/%3E%3C/svg%3E");
}

.compkit-table tr:not(:last-child) {
    border-bottom: 1px solid #444;
}
/* Initial header styles (no change) */
#site-header {
  position: relative;
  width: 100%;
  transition: background-color 0.3s ease, top 0.3s ease;
  z-index: 9999;
  background: #1A3ACC!important;
}

/* Fixed header styles when scrolled */
#site-header.fixed-header {
  position: fixed;
  top: -90px; /* start hidden off-screen */
  left: 0;
  right: 0;
  height: 90px;
  background-color: #000118!important; /* dark blue */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  animation: slideDown 0.3s forwards;
}

/* Slide down animation */
@keyframes slideDown {
  to {
    top: 0;
  }
}


/* Big title - Text margin left */
.elementor-element.big-margin > .elementor-element-populated { margin-left: 80px; }

/* Full width buttons on the last section */
.elementor-element.full-btn .elementor-button { display: block; }

/* Blog entries */
.blog-entry.large-entry { max-width: 833px; margin: 0 auto 30px auto; text-align: center; }
.blog-entry.large-entry .blog-entry-summary { max-width: 640px; margin: 0 auto 20px auto; }
.blog-entry.large-entry .blog-entry-readmore a { font-weight: 400; padding: 10px 26px; border-radius: 30px; }
ul.page-numbers { padding: 30px 0 0; }
.page-numbers a, .page-numbers span:not(.elementor-screen-only), .page-links span { border-radius: 50%; }

/* Widgets titles */
.widget-title { position: relative; padding: 0 0 10px; border: 0; }
.widget-title:after { content: ''; position: absolute; bottom: 0; left: 0; display: inline-block; background-color: #6e8fef; height: 2px; width: 28px; }

/* Footer bottom */
#footer-bottom { padding: 0; }
#footer-bottom-inner { padding: 22px 0 20px; border-top: 1px solid #eaeaea; }
#footer-bottom #footer-bottom-menu, #footer-bottom #copyright { float: none; width: 100%; padding: 0 !important; text-align: center; }
#footer-bottom #footer-bottom-menu a { padding: 0 15px; }
#footer-bottom #footer-bottom-menu li:after { display: none; }
#footer-bottom #copyright { margin-top: 20px; }

/* Responsive */
@media (max-width: 959px) {
    .elementor-element.title-row > .elementor-element-populated { padding: 20px; }
    .elementor-element.big-title .elementor-heading-title { font-size: 24px; }
    .elementor-element.big-margin > .elementor-element-populated { margin-left: 40px; }
}
@media (max-width: 767px) {
    .elementor-element.big-margin > .elementor-element-populated { margin-top: 20px; margin-left: 0; }
}

/* Center meta items on Blog page and archive pages */
.blog-entry.post ul.meta {
   justify-content: center;
}
.compkit-pricing-wrapper {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 50px auto;
  flex-wrap: wrap;
}

.compkit-pricing-plan {
  flex: 1 1 400px;
  border-radius: 18px;
  padding: 40px 30px 50px;
  color: #fff;
  box-sizing: border-box;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(to right, #2563eb, #3b82f6);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
  transition: transform 0.3s ease;
}

.compkit-pricing-plan:hover {
  transform: translateY(-10px);
}

.starter-plan {
  background: linear-gradient(to right, #2563eb, #3b82f6);
}

.pro-plan {
  background: transparent;
  color: #e0e0e0;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.pro-plan::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 3px;
  background: linear-gradient(to right, #2563eb, #3b82f6);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude; 
  pointer-events: none;
  z-index: 0;
}

.pro-plan > * {
  position: relative;
  z-index: 1;
}

/* Emoji styling */
.compkit-pricing-plan h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  color: #e0e0e0;
}

/* Big price styles */
.price {
  font-size: 3.5rem;
  font-weight: 900;
  margin: 0;
  line-height: 1;
}

.price span {
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  margin-top: 6px;
}

.monthly-price {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 10px 0 30px;
  color: #d1d5db;
}

.pro-plan .monthly-price {
  color: #2563eb;
}

.compkit-pricing-plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  text-align: left;
  width: 100%;
}

.compkit-pricing-plan ul li {
  margin-bottom: 12px;
  padding-left: 1.6em;
  position: relative;
  font-size: 1.4rem;
  font-weight: 600;
}

.compkit-pricing-plan ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399; /* green check */
  font-weight: bold;
  font-size: 1.2rem;
  top: 2px;
}

.pro-plan ul li::before {
  color: #2563eb; /* blue check */
}

/* Buttons */
.compkit-btn {
  padding: 14px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  background: #10b981; /* emerald green */
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
  align-self: center;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.5);
}

.compkit-btn:hover {
  background: #059669;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.6);
}

.pro-btn {
  background: linear-gradient(to right, #2563eb, #3b82f6);
  color: white;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.6);
}

.pro-btn:hover {
  background: linear-gradient(to right, #1e40af, #2563eb);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
  .compkit-pricing-wrapper {
    flex-direction: column;
  }
  .compkit-pricing-plan {
    min-width: 100%;
  }
  .compkit-pricing-plan ul {
    text-align: center;
  }
  .compkit-pricing-plan ul li {
    padding-left: 0;
  }
  .compkit-pricing-plan ul li::before {
    display: none;
  }
}


/* Keep absolute positioning on desktop */
p.compkit-gametype {
    background: #fff;
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 18px 18px 18px 18px;
    margin: 0;
}

/* Rounded corners variants */
p.compkit-gametype-bottom-left {
    border-radius: 18px 18px 18px 50px !important;
}
p.compkit-gametype-bottom-right {
    border-radius: 18px 18px 50px 18px !important;
}

/* Fixed heights */
.compkit-gametype-grid-top,
.compkit-gametype-grid-bottom {
    height: 440px !important;
}

@media (max-width: 768px) {
  p.compkit-gametype {
    position: relative !important;
    background-color: #fff;
    border-radius: 18px 18px 18px 18px !important;
  }

  .compkit-gametype-grid-top,
  .compkit-gametype-grid-bottom {
    height: auto !important;
    padding-bottom: 0;
  }
}


/* General Section Wrapper */
.ck-section {
  margin-bottom: 3rem;
}

/* Small Heading with Icon */
.ck-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem; /* Was 0.875rem → now ~text-lg */
  font-weight: 600;
  color: #0077cc; /* Compkit Blue */
  margin-bottom: 1rem;
}

/* Subheading (Large Title) */
.ck-subheading {
  font-size: 1.75rem; /* Was 1.25rem → now ~text-2xl */
  font-weight: bold;
  color: ghostwhite;
  margin-bottom: 1rem;
}

/* Paragraph Text */
.ck-paragraph {
  font-size: 1.125rem; /* Was 0.875rem → now ~text-lg */
  color: #cccccc;
  line-height: 1.75;
  max-width: 60ch;
}

/* Icon Wrapper */
.ck-icon {
  display: inline-flex;          /* Ensure flex context */
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0077cc, #005fa3); /* Compkit Blue Gradient */
  color: white !important;       /* Force icon color white */
  font-size: 24px;               /* Icon size inside the 40px box */
  flex-shrink: 0;
}


/* Optional: Section-Specific Hooks */
.ck-reporting-section,
.ck-inventory-section,
.ck-contacts-section {
  position: relative;
}
.section2-image {
  position: relative;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); /* Abstract purple-blue */
  overflow: hidden;
  padding: 2rem;
  border-radius: 16px;
}

/* Optional image overlay (the screenshot) */
.section2-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
  position: relative;
}

/* Optional: abstract blur "blobs" for extra style */
.section2-image::before,
.section2-image::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
}

.section2-image::before {
  width: 300px;
  height: 300px;
  top: -50px;
  left: -50px;
  background: #ff8a00;
}

.section2-image::after {
  width: 250px;
  height: 250px;
  bottom: -40px;
  right: -40px;
  background: #00c6ff;
}
.faq-section {
      max-width: 1200px;
      margin: 0 auto;
    }

    .faq-header {
      text-align: center;
      margin-bottom: 2rem;
    }

    .faq-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .faq-item {
      padding: 1.5rem;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      transition: transform 0.2s ease;
    }

    .faq-item:hover {
      transform: translateY(-5px);
    }

    .faq-item h3 {
      margin-top: 0;
      color: #2575fc;
      font-size: 1.1rem;
    }

    .faq-item p {
      color: #0a0a0a;
      line-height: 1.5;
    }

    @media (max-width: 600px) {
      .faq-item {
        padding: 1rem;
      }
    }
.compkit-section2 {
    background: linear-gradient(to left, #0c3c60, transparent);
    border: 2px solid #38bdf8;
    border-radius: 32px;
    padding: 4rem;
    margin: 3rem auto;
    width: 90%;
    max-width: 1200px;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.compkit-section2-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #0ea5e9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.compkit-section2-subtitle {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.compkit-section2-description {
    max-width: 800px;
    font-size: 1.25rem;
    line-height: 2;
    margin-bottom: 2.5rem;
}

.compkit-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.compkit-badge {
    background-color: rgba(52, 211, 153, 0.15);
    color: #ccf4e0;
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(52, 211, 153, 0.3);
    transition: background 0.2s ease;
}

.compkit-badge:hover {
    background-color: rgba(52, 211, 153, 0.3);
}

.compkit-cta {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    border: 2px solid #38bdf8;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 transparent;
}

.compkit-cta:hover {
    border-color: #0ea5e9;
    color: #cfefff;
    background-color: rgba(14, 165, 233, 0.1);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}
