/*
Theme Name: Codaksh – Experties
Description: Custom theme for Codaksh – Experties
Author: Trae
Version: 1.0.0
Text Domain: codaksh-experties
*/

:root {
  --cod-orange: #FF6800;
  --cod-orange-soft: #FF9B55;
  --cod-black: #111111;
  --cod-white: #ffffff;
  --cod-muted: #6f6f6f;
  --cod-bg: #f7f4f1;
}

body {
  font-family: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f7f4f1; /* Light background as requested */
  margin: 0;
}

.site-main {
    margin-top: 40px; /* Header spacing */
}

.cod-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 24px;
}

.cod-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--cod-white);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  gap: 24px;
}

.cod-logo a {
  color: var(--cod-black);
  text-decoration: none;
  font-weight: 600;
}

.cod-nav {
  flex: 1;
}

.cod-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.cod-menu a {
  color: var(--cod-black);
  text-decoration: none;
  font-weight: 500;
}

.cod-menu a:hover {
  color: var(--cod-orange);
}

.cod-header-cta .cod-btn-cta {
  display: inline-block;
  padding: 12px 20px;
  color: var(--cod-white);
  border-radius: 999px;
  background-image: linear-gradient(90deg, var(--cod-orange), var(--cod-orange-soft));
  box-shadow: 0 10px 22px rgba(255,104,0,0.35);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cod-header-cta .cod-btn-cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 18px rgba(255,104,0,0.25);
}

@media (max-width: 768px) {
  .cod-nav .cod-menu {
    display: none;
  }
}

/* -------------------------------------------------------------------------- */
/*                               Footer Styles                                */
/* -------------------------------------------------------------------------- */

.cod-footer {
  width: 100%;
  margin-top: 60px; /* Separation from content */
}

/* --- CTA Section (Top Gradient Area) --- */
.cod-footer-cta {
  /* Very light orange gradient to allow orange text/buttons to pop */
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5EB 100%);
  padding: 100px 20px 140px; /* Large bottom padding for overlap */
  text-align: center;
  position: relative;
}

.cod-cta-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.1;
  color: var(--cod-black);
}

.cod-cta-title .highlight {
  display: block;
  color: var(--cod-orange);
}

.cod-cta-desc {
  font-size: 1.125rem;
  color: #666;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cod-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.cod-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cod-btn-primary {
  background: linear-gradient(90deg, var(--cod-orange), var(--cod-orange-soft));
  color: var(--cod-white);
  box-shadow: 0 10px 20px rgba(255, 104, 0, 0.25);
  border: 1px solid transparent;
}

.cod-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(255, 104, 0, 0.35);
}

.cod-btn-secondary {
  background: var(--cod-white);
  color: var(--cod-black);
  border: 1px solid #E5E5E5;
}

.cod-btn-secondary:hover {
  border-color: var(--cod-black);
  transform: translateY(-2px);
}

/* --- Main Footer Card --- */
.cod-footer-card {
  max-width: 1100px;
  margin: -1px auto 40px; 
  padding: 40px 48px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 40px;
}

.cod-footer-bottom {
  grid-column: 1 / -1; /* Span full width */
}

/* Left Column */
.cod-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--cod-black);
  display: inline-block;
  margin-bottom: 20px;
}

.cod-brand-desc {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Newsletter */
.cod-newsletter {
  margin-top: 20px;
}
.cod-newsletter-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--cod-black);
}
.cod-newsletter-form {
  display: flex;
}
.cod-newsletter input[type="email"] {
  border-radius: 999px 0 0 999px;
  padding: 16px 18px;
  border: 1px solid #ddd;
  flex: 1;
  outline: none;
  font-size: 0.95rem;
}
.cod-newsletter button {
  border-radius: 0 999px 999px 0;
  padding: 10px 24px;
  border: none;
  background: linear-gradient(135deg,#FF6800,#FF9B55);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* Right Side Links */
.cod-footer-links {
  display: flex;
  gap: 40px;
  justify-content: flex-end;
}
.cod-footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cod-footer-links li {
    margin-bottom: 12px;
}
.cod-footer-links a {
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.cod-footer-links a:hover {
  color: #FF6800;
}

/* Social Icons */
.cod-footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.cod-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--cod-black);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}

.cod-footer-social a:hover {
  background: var(--cod-orange);
  color: var(--cod-white);
}

/* Bottom Copyright */
.cod-footer-bottom {
  border-top: 1px solid #EAEAEA;
  padding-top: 30px;
  text-align: center;
}

.cod-footer-bottom p {
  color: #999;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .cod-footer-card {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    gap: 40px;
  }
  
  .cod-footer-links {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
  
  .cod-cta-title {
    font-size: 2.5rem;
  }
}

.cod-blog-section {
  padding: 60px 0;
  text-align: center;
}

.cod-blog-badge,
.cod-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e9e9e9;
  color: var(--cod-orange);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cod-main-title {
  color: var(--cod-black);
  font-weight: 700;
  font-size: 32px;
  margin: 0 0 28px;
}

.cod-blog-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cod-blog-grid.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cod-blog-card {
  background: #fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cod-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px rgba(0,0,0,0.07);
}

.cod-blog-image {
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 16px;
}

.cod-blog-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

.cod-blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cod-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.cod-blog-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 6px 0 10px;
  color: var(--cod-black);
}

.cod-blog-title a {
  color: var(--cod-black);
  text-decoration: none;
}

.cod-blog-title a:hover {
  color: var(--cod-orange);
}

.cod-blog-excerpt {
  color: var(--cod-muted);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .cod-blog-grid,
  .cod-blog-grid.columns-3 {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/*                            Codaksh FAQ Accordion                           */
/* -------------------------------------------------------------------------- */

.cod-faq-section {
  padding: 80px 20px 100px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cod-faq-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  font-size: 13px;
  border-radius: 999px;
  background: rgba(255,104,0,0.08);
  color: var(--cod-black);
  margin-bottom: 14px;
}

.cod-faq-title-line1 {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--cod-black);
  line-height: 1.2;
}

.cod-faq-title-line2 {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--cod-orange);
  line-height: 1.2;
  margin-top: 4px;
}

/* FAQ List */
.cod-faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.cod-faq-item {
  background: var(--cod-white);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
  padding: 0 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-radius 0.25s ease;
  overflow: hidden;
}

.cod-faq-item.is-open {
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* Question Row */
.cod-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.cod-faq-question-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--cod-black);
}

/* Icon */
.cod-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.cod-faq-icon::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--cod-black);
  border-bottom: 2px solid var(--cod-black);
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
  margin-top: -2px; /* Visual center tweak */
  margin-left: -2px;
}

.cod-faq-item.is-open .cod-faq-icon::before {
  transform: rotate(45deg);
  margin-top: -4px;
}

/* Answer */
.cod-faq-answer {
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding-bottom 0.3s ease;
  color: var(--cod-muted);
  font-size: 14px;
  line-height: 1.6;
}

.cod-faq-item.is-open .cod-faq-answer {
  max-height: 400px; /* Arbitrary large height */
  opacity: 1;
  padding-bottom: 24px;
  margin-top: -8px;
}

/* Responsive */
@media (max-width: 768px) {
  .cod-faq-section {
    padding: 60px 20px 80px;
  }
  
  .cod-faq-title-line1,
  .cod-faq-title-line2 {
    font-size: 26px;
  }
  
  .cod-faq-item {
    padding: 0 20px;
  }
}

