/*!
Theme Name: Nabta
Theme URI: http://themifylab.com/nabta
Author: MUHAMMAD YASIN YOUSAF
Author URI: https://zeropixelsolutions.com
Description: Custom theme Nabta Advisory
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: nabta
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Nabta is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/

:root {
      --primary: #006747;
      --secondary: #00522e;
      --accent: #64b5f6;
      --light: #f8f9fa;
      --off-white: #f5f5f5;
      --dark: #00205B;
      --gray: #6c757d;
      --light-gray: #e9ecef;
    }

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

    body {
      font-family: 'Libre Franklin', 'Helvetica Neue', sans-serif;
      line-height: 1.6;
      color: var(--dark);
      background-color: white;
      font-weight: 300;
      letter-spacing: 0.02em;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Georgia', serif;
      font-weight: 400;
      letter-spacing: 0.03em;
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 30px;
    }

    .thin-container {
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
      padding: 0 30px;
    }

    #header {
      background-color: white;
      position: sticky !important;
      top: 0;
      z-index: 2000;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 25px 0;
    }

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

    .logo img {
        height: 90px !important;
        margin-right: 15px;
        width: 95px !important;
    }

    .logo-text {
      font-size: 1.5rem;
      font-weight: 400;
      color: var(--primary);
      letter-spacing: 0.05em;
    }

    nav ul {
      display: flex;
      list-style: none;
    }

    nav ul li {
      margin-left: 40px;
    }

    nav ul li a {
      text-decoration: none;
      color: var(--dark);
      font-weight: 400;
      font-size: 0.95rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      transition: color 0.3s ease;
    }

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

    .hero {
      height: 80vh;
      min-height: 500px;
      display: flex;
      align-items: center;
      position: relative;
      background-color: var(--primary);
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      opacity: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 650px;
      margin-left: 8%;
      color: white;
    }

    .hero h1 {
      font-size: 3.5rem;
      line-height: 1.2;
      margin-bottom: 25px;
      color: white;
    }

    .hero p {
      font-size: 1.25rem;
      line-height: 1.8;
      margin-bottom: 40px;
      color: rgba(255, 255, 255, 0.9);
    }

    .btn {
      display: inline-block;
      padding: 15px 35px;
      text-decoration: none;
      font-weight: 400;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      font-size: 0.85rem;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .btn-light {
      background-color: white;
      color: var(--primary);
      border: 1px solid white;
    }

    .btn-light:hover {
      background-color: transparent;
      color: white;
    }

    .btn-primary {
      background-color: var(--primary);
      color: white;
      border: 1px solid var(--primary);
    }

    .btn-primary:hover {
      background-color: transparent;
      color: var(--primary);
    }

    .btn-outline {
      background-color: transparent;
      color: var(--primary);
      border: 1px solid var(--primary);
    }

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

    section {
      padding: 120px 0;
    }

    .section-header {
      text-align: center;
      margin-bottom: 80px;
    }

    .section-header h2 {
      font-size: 2.5rem;
      color: var(--primary);
      margin-bottom: 15px;
      position: relative;
      display: inline-block;
    }

    .section-header h2::after {
      content: '';
      position: absolute;
      bottom: -12px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 2px;
      background-color: var(--accent);
    }

    .section-header p {
      font-size: 1.2rem;
      color: var(--gray);
      max-width: 700px;
      margin: 20px auto 0;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 40px;
    }

    .service-card {
      padding: 40px;
      text-align: center;
      transition: transform 0.3s ease;
    }

    .service-card:hover {
      transform: translateY(-10px);
    }

    .service-icon {
      width: 70px;
      height: 70px;
      margin: 0 auto 20px;
      border-radius: 50%;
      background-color: var(--primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      font-weight: 500;
    }

    .service-card h3 {
      color: var(--dark);
      margin-bottom: 15px;
      font-size: 1.5rem;
    }

    .service-card p {
      margin-bottom: 25px;
      font-size: 1rem;
      line-height: 1.7;
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 50px;
      margin-top: 40px;
    }

    .process-item {
      text-align: center;
    }

    .process-number {
      font-family: 'Georgia', serif;
      font-size: 3rem;
      color: var(--primary);
      opacity: 0.2;
      font-weight: 700;
      margin-bottom: 15px;
    }

    .process-item h3 {
      color: var(--dark);
      margin-bottom: 15px;
      font-size: 1.3rem;
    }

    .split-section {
      display: flex;
      align-items: center;
    }

    .split-content {
      width: 100%;
      padding: 60px 40px;
    }

    .split-content h2 {
      font-size: 2.5rem;
      color: var(--primary);
      margin-bottom: 30px;
    }

    .split-content p {
      margin-bottom: 30px;
      font-size: 1.1rem;
      line-height: 1.8;
    }

    .why-us-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 50px;
    }

    .why-us-item {
      text-align: center;
    }

    .why-us-icon {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 20px;
    }

    .why-us-item h3 {
      color: var(--dark);
      margin-bottom: 15px;
      font-size: 1.3rem;
    }

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

    .team-member {
      text-align: center;
      background-color: white;
      padding: 30px;
      border-radius: 4px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.05);
      transition: transform 0.3s ease;
    }

    .team-member:hover {
      transform: translateY(-5px);
    }

    .team-member h3 {
      margin-bottom: 10px;
      color: var(--primary);
    }

    .team-member h4 {
      margin-bottom: 15px;
      color: var(--gray);
      font-size: 0.9rem;
      font-weight: 500;
    }

    .insights-tabs {
      display: flex;
      border-bottom: 1px solid var(--light-gray);
      margin-bottom: 40px;
    }

    .insights-tab {
      padding: 12px 25px;
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      cursor: pointer;
      font-size: 1rem;
      font-weight: 500;
      color: var(--gray);
      transition: all 0.3s ease;
    }

    .insights-tab.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    .insights-tab:hover {
      color: var(--primary);
    }

    .insights-content {
      display: none;
    }

    .insights-content.active {
      display: block;
    }

    .insights-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .insight-card {
      background-color: white;
      padding: 30px;
      border-radius: 4px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.05);
      position: relative;
      transition: transform 0.3s ease;
    }

    .insight-card:hover {
      transform: translateY(-5px);
    }

    .insight-card.premium {
      border: 1px solid var(--accent);
    }

    .insight-date {
      color: var(--gray);
      font-size: 0.9rem;
      margin-bottom: 10px;
    }

    .insight-card h3 {
      margin-bottom: 15px;
      font-size: 1.3rem;
      color: var(--dark);
    }

    .insight-preview {
      margin: 20px 0;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--light-gray);
    }

    .premium-badge {
      position: absolute;
      top: 15px;
      right: 15px;
      background-color: var(--accent);
      color: white;
      padding: 5px 10px;
      font-size: 0.8rem;
      border-radius: 3px;
    }

    .ceo-message-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .ceo-message-text p {
      margin-bottom: 20px;
      line-height: 1.7;
    }

    .ceo-signature {
      margin-top: 40px;
      font-style: italic;
    }

    .linkedin-link {
      color: var(--primary);
      text-decoration: none;
      font-weight: 500;
      display: inline-block;
      margin-bottom: 25px;
    }

    .linkedin-link:hover {
      text-decoration: underline;
    }

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

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

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 400;
      color: var(--dark);
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid var(--light-gray);
      background-color: white;
      font-family: inherit;
      font-size: 1rem;
      transition: border 0.3s ease;
    }

    .contact-item {
      margin-bottom: 20px;
    }

    .contact-item strong {
      display: block;
      margin-bottom: 5px;
      color: var(--primary);
      font-weight: 500;
    }

    footer {
      background-color: var(--dark);
      color: white;
      padding: 80px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 50px;
      margin-bottom: 60px;
    }

    .footer-col h3 {
      color: white;
      margin-bottom: 25px;
      font-size: 1.2rem;
      position: relative;
      padding-bottom: 12px;
    }

    .footer-col h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 2px;
      background-color: var(--accent);
    }

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

    .footer-col ul li {
      margin-bottom: 12px;
    }

    .footer-col ul li a {
      color: var(--light-gray);
      text-decoration: none;
      transition: color 0.3s ease;
      font-size: 0.95rem;
    }

    .footer-col ul li a:hover {
      color: white;
    }

    .copyright {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid rgba(255,255,255,0.1);
      color: var(--light-gray);
      font-size: 0.9rem;
    }

    .insights-register {
      background-color: var(--light);
      padding: 40px;
      text-align: center;
      border-radius: 4px;
      margin-top: 60px;
    }

    .insights-register h3 {
      color: var(--dark);
      margin-bottom: 15px;
      font-size: 1.5rem;
    }

    .insights-register p {
      margin-bottom: 25px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    @media (max-width: 768px) {
      .header-content {
        flex-direction: column;
      }

      nav ul {
        margin-top: 20px;
      }

      nav ul li {
        margin: 0 15px;
      }

      .hero-content {
        margin-left: 0;
        text-align: center;
        padding: 0 20px;
      }

      .hero h1 {
        font-size: 2.5rem;
      }

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

	/* Enhanced responsiveness for mobile and tablet */
@media (max-width: 992px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
  }

  nav ul li {
    margin: 10px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .split-section {
    flex-direction: column;
  }

  .split-content {
    padding: 30px 20px;
  }

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

  .section-header p {
    font-size: 1rem;
  }

  .services-grid,
  .process-grid,
  .why-us-grid,
  .team-grid,
  .insights-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem;
  }

  .insights-tabs {
    flex-direction: column;
    align-items: center;
  }

  .insights-tab {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

  .footer-col h3 {
    font-size: 1rem;
  }

  .footer-col ul li a {
    font-size: 0.85rem;
  }
}

.custom-logo-link,
.site-logo {
    background: transparent !important;
}

.screen-reader-response ul, .screen-reader-response {
    display: none;
}
span.wpcf7-not-valid-tip, .wpcf7-response-output {
    color: #c32727;
    font-size: .9rem;
}

#wpcf7-f54-o1.wpcf7 br {
    display: none;
}

.insight-card .insight-preview p {
    margin-bottom: 20px;
}
