/*
Theme Name: Octalfox
Theme URI: https://octalfox.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: Your theme description here.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: octalfox
*/

body {
  padding-top: 78px !important;
}

body, .container {
  font-family: 'Jost', sans-serif;
}

/* Blogs Section Starts */
.octalfox-blog-area {
  line-height: 26px !important;
  font-size: 16px !important;
  padding: 10px !important;
}

.octalfox-blog-area a,
.octalfox-blog-area h2 {
  color: #0F5AF2 !important;
}

.octalfox-blog-area a {
  text-decoration: underline !important;
  font-weight: bold !important;
}

/* Signature fonts */
.octalfox-blog-area .signature,
.octalfox-blog-area .signature a,
.octalfox-blog-area .signature p {
  font-family: "Jost" !important;
}

/* Headings and paragraphs */
.octalfox-blog-area h1,
.octalfox-blog-area h1 b {
  font-size: 40px !important;
  line-height: 45px !important;
  font-weight: bold !important;
  margin-bottom: 8px !important;
}

.octalfox-blog-area h2,
.octalfox-blog-area h2 b {
  font-size: 32px !important;
  line-height: 42px !important;
  font-weight: 600 !important;
  margin-top: 24px !important;
  margin-bottom: 8px !important;
}

.octalfox-blog-area h3,
.octalfox-blog-area h3 b {
  font-size: 24px !important;
  line-height: 34px !important;
  font-weight: 600 !important;
  margin-top: 18px !important;
  margin-bottom: 7px !important;
}

.octalfox-blog-area p {
  font-size: 16px !important;
  line-height: 26px !important;
  margin-bottom: 16px !important;
}

.octalfox-blog-area ul,
.octalfox-blog-area ol {
  margin-left: 24px !important;
  margin-bottom: 16px !important;
  font-size: 16px !important;
  line-height: 26px !important;
}

.octalfox-blog-area li {
  margin-bottom: 8px !important;
  line-height: 24px !important;
}

/* Responsive adjustments */

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .octalfox-blog-area {
    font-size: 15px !important;
    line-height: 24px !important;
    padding: 8px !important;
  }

  .octalfox-blog-area h1,
  .octalfox-blog-area h1 b {
    font-size: 32px !important;
    line-height: 38px !important;
    margin-bottom: 6px !important;
  }

  .octalfox-blog-area h2,
  .octalfox-blog-area h2 b {
    font-size: 26px !important;
    line-height: 34px !important;
    margin-top: 18px !important;
    margin-bottom: 6px !important;
  }

  .octalfox-blog-area h3,
  .octalfox-blog-area h3 b {
    font-size: 20px !important;
    line-height: 28px !important;
    margin-top: 14px !important;
    margin-bottom: 5px !important;
  }

  .octalfox-blog-area p,
  .octalfox-blog-area ul,
  .octalfox-blog-area ol {
    font-size: 15px !important;
    line-height: 24px !important;
    margin-bottom: 14px !important;
  }

  .octalfox-blog-area ul,
  .octalfox-blog-area ol {
    margin-left: 20px !important;
  }

  .octalfox-blog-area li {
    margin-bottom: 7px !important;
    line-height: 22px !important;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .octalfox-blog-area {
    font-size: 14px !important;
    line-height: 22px !important;
    padding: 6px !important;
  }

  .octalfox-blog-area h1,
  .octalfox-blog-area h1 b {
    font-size: 28px !important;
    line-height: 34px !important;
    margin-bottom: 5px !important;
  }

  .octalfox-blog-area h2,
  .octalfox-blog-area h2 b {
    font-size: 22px !important;
    line-height: 30px !important;
    margin-top: 16px !important;
    margin-bottom: 5px !important;
  }

  .octalfox-blog-area h3,
  .octalfox-blog-area h3 b {
    font-size: 18px !important;
    line-height: 24px !important;
    margin-top: 12px !important;
    margin-bottom: 4px !important;
  }

  .octalfox-blog-area p,
  .octalfox-blog-area ul,
  .octalfox-blog-area ol {
    font-size: 14px !important;
    line-height: 22px !important;
    margin-bottom: 12px !important;
  }

  .octalfox-blog-area ul,
  .octalfox-blog-area ol {
    margin-left: 16px !important;
  }

  .octalfox-blog-area li {
    margin-bottom: 6px !important;
    line-height: 20px !important;
  }
}
/* Blogs Section Ends */


/* Contact Form 7 Css Start */
.cf7-flex-form {
  max-width: 850px;
  margin: 0 auto;
}

.cf7-flex-form .cf7-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px;
  margin-bottom: 10px;
}

.cf7-flex-form .cf7-col {
  flex: 1 1 48% !important;
  max-width: 48% !important;
}

.cf7-flex-form .cf7-col-full {
  flex: 1 1 100% !important;
  max-width: 100% !important;
}

.cf7-flex-form input,
.cf7-flex-form select,
.cf7-flex-form textarea {
  width: 100% !important;
  padding: 22px;
  font-size: 15px;
  border: 1.5px solid #4B4B4B;
  border-radius: 6px;
  box-sizing: border-box;
}

.cf7-flex-form .wpcf7-submit {
  background-color: #0f5af2;
  color: white;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
}

.cf7-flex-form .wpcf7-submit:hover {
  background-color: #336bbf;
}

/* Make placeholders blue */
.cf7-flex-form ::placeholder {
  color: #000000 !important;
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cf7-flex-form .cf7-col,
  .cf7-flex-form .cf7-col-full {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}

/*End Contact Form */

/* Blog Comment Box Starts */
#respond.comment-respond {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 0.3rem;
  box-shadow: 0 0 10px rgb(0 0 0 / 0.05);
  margin-top: 2rem;
  font-family: inherit;
  color: #212529;
}

#respond h3.comment-reply-title {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #0d6efd;
}

#respond h3.comment-reply-title small a {
  font-weight: normal;
  font-size: 0.875rem;
  color: #6c757d;
  text-decoration: underline;
  cursor: pointer;
}

#respond p.logged-in-as {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #495057;
}

#respond p.logged-in-as a {
  color: #0d6efd;
  text-decoration: none;
}

#respond p.logged-in-as a:hover,
#respond h3.comment-reply-title small a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

#respond label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  color: #212529;
}

#respond .required {
  color: #dc3545;
}

#respond textarea#comment {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  height: 120px;  /* reduced height */
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#respond textarea#comment:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 0.25);
  outline: none;
}

#respond .form-submit {
  margin-top: 1rem;
}

#respond .submit {
  background-color: #0d6efd;
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  color: white;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#respond .submit:hover,
#respond .submit:focus {
  background-color: #0a58ca;
  outline: none;
  box-shadow: 0 0 0 0.25rem rgb(10 88 202 / 0.5);
}

#respond .required-field-message {
  font-size: 0.85rem;
  color: #6c757d;
  display: block;
  margin-top: 0.5rem;
}

@media (max-width: 576px) {
  #respond.comment-respond {
    padding: 1rem;
  }

  #respond h3.comment-reply-title {
    font-size: 1.25rem;
  }

  #respond textarea#comment {
    height: 100px;
  }

  #respond .submit {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
  }
}
/* Blog Comment Box Ends */
