/*
Theme Name: Headway IT Solutions
Theme URI: https://headwayits.com
Author: Headway IT Team
Author URI: https://headwayits.com
Description: Modern IT solutions WordPress theme with dynamic content management
Version: 1.0.0
License: GPL v2 or later
Text Domain: headwayit
*/

/* ROOT ACCENT COLORS MATCHING MOCKUP */
:root {
  --bg-dark-950: #0a0a0c;
  --bg-dark-900: #0f1013;
  --bg-dark-800: #16181d;
  --bg-dark-700: #1f2229;
  --accent-color: #50b24b;
  --accent-color-rgb: 80, 178, 75;
  --text-muted: #8e94a2;
  --font-family: "Plus Jakarta Sans", sans-serif;
}

/* GENERAL ASSIGNMENT & CONFIGS */
body {
  background-color: var(--bg-dark-950);
  color: #ffffff;
  font-family: var(--font-family);
  overflow-x: hidden;
}

/* ============================================================ */
/* FULL PAGE BACKGROUND - IMAGE                                 */
/* ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0 30px;
  display: flex;
  align-items: center;
  min-height: 100vh;
  
  /* FULL SCREEN BACKGROUND IMAGE */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Dark overlay on the background image */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 12, 24, 0.6);
  z-index: 0;
}

/* Make sure content is above overlay */
.hero-section .container {
  position: relative;
  z-index: 1;
}

/* ============================================================ */
/* HOME PAGE - GLASS CARD EFFECT                                */
/* ============================================================ */
.hero-section .container > .row {
  background: rgba(10, 18, 34, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 44px;
  padding: 50px 56px 50px;
  border: 1px solid rgba(80, 178, 75, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(80, 178, 75, 0.05);
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
}

/* Left column - full width and centered (HOME PAGE) */
.hero-section .col-lg-6 {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  text-align: center;
}

/* Hide right column completely (HOME PAGE) */
.hero-section .col-lg-6.position-relative {
  display: none !important;
}

/* ============================================================ */
/* INNER PAGES ONLY                                             */
/* ============================================================ */

.inner-page-hero > .container {
    max-width: 100%;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

.inner-page-hero .container > .row {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Override Home hero column settings for inner pages */
.inner-page-hero .col-lg-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    text-align: left;
}

/* Inner page content width - with glass card effect */
.inner-page-hero .col-lg-6.mx-auto {
    max-width: 820px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Inner page glass card effect */
.inner-page-hero .container > .row {
    background: rgba(10, 18, 34, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 44px;
    padding: 50px 56px 50px;
    border: 1px solid rgba(80, 178, 75, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(80, 178, 75, 0.05);
    justify-content: center;
    max-width: 820px;
    margin: 0 auto;
}

/* Title */
.inner-page-hero h1 {
    text-align: left;
    color: #ffffff !important;
}

/* Content */
.inner-page-hero .text-secondary {
    text-align: left;
}

/* Inner page responsive */
@media (max-width: 991.98px) {
    .inner-page-hero .container > .row {
        max-width: 700px;
        padding: 40px 32px 44px;
        border-radius: 36px;
    }
}

@media (max-width: 768px) {
    .inner-page-hero .container > .row {
        max-width: 100%;
        padding: 30px 20px 34px;
        border-radius: 28px;
    }
}

@media (max-width: 480px) {
    .inner-page-hero .container > .row {
        padding: 24px 16px 28px;
        border-radius: 20px;
    }
}

/* ============================================================ */
/* WHY CHOOSE SECTION - SAME AS HERO (fixed background)         */
/* ============================================================ */
.why-choose-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  display: flex;
  align-items: center;
  min-height: 100vh;
  
  /* FULL SCREEN BACKGROUND IMAGE - FIXED */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Dark overlay on the background image */
.why-choose-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 12, 24, 0.5);
  z-index: 0;
}

/* Make sure content is above overlay */
.why-choose-section .container {
  position: relative;
  z-index: 1;
}

/* Glass card effect for Why Choose content */
.why-choose-section .row.g-5 {
  background: rgba(10, 18, 34, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 44px;
  padding: 44px 48px 48px;
  border: 1px solid rgba(80, 178, 75, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(80, 178, 75, 0.05);
}

/* Responsive for Why Choose */
@media (max-width: 991.98px) {
  .why-choose-section .row.g-5 {
    padding: 32px 28px 36px;
    border-radius: 32px;
  }
}

@media (max-width: 768px) {
  .why-choose-section {
    padding: 3rem 0;
    min-height: auto;
  }
  .why-choose-section .row.g-5 {
    padding: 24px 18px 28px;
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .why-choose-section .row.g-5 {
    padding: 18px 14px 22px;
    border-radius: 18px;
  }
}

/* ============================================================ */
/* UTILITY CLASSES                                              */
/* ============================================================ */

.logo {
  max-width: 180px;
  height: auto;
}

.custom-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
}

.text-accent {
  color: var(--accent-color) !important;
}

.bg-dark-900 {
  background-color: var(--bg-dark-900) !important;
}

.bg-dark-800 {
  background-color: var(--bg-dark-800) !important;
}

.bg-dark-700 {
  background-color: var(--bg-dark-700) !important;
}

.bg-dark-950 {
  background-color: var(--bg-dark-950) !important;
}

.text-secondary {
  color: var(--text-muted) !important;
}

.text-dark-600 {
  color: #282c35 !important;
}

/* REUSABLE HELPERS & SPACING */
.py-6 {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.fs-7 {
  font-size: 0.885rem;
}

.fs-8 {
  font-size: 0.75rem;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wider {
  letter-spacing: 0.12em;
}

.tracking-widest {
  letter-spacing: 0.2em;
}

.tracking-tight {
  letter-spacing: -0.03em;
}

.fw-extrabold {
  font-weight: 800;
}

.max-w-600 {
  max-width: 600px;
}

.max-w-800 {
  max-width: 800px;
}

.min-h-350 {
  min-height: 350px;
}

.min-h-300 {
  min-height: 300px;
}

.min-w-250 {
  min-width: 250px;
}

.width-fit-content {
  width: fit-content;
}

.border-y {
  border-top: 1px solid;
  border-bottom: 1px solid;
}

.grayscale-100 {
  filter: grayscale(100%);
}

.form-control::placeholder {
    color: rgba(255,255,255,.55) !important;
}

/* LOGO ICON GENERATOR */
.logo-icon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  transform: rotate(45deg);
}

/* NEON GLOW EFFECTS & CARD DESIGNS */
.shadow-neon {
  box-shadow: 0 4px 20px rgba(var(--accent-color-rgb), 0.25);
}

.shadow-neon-strong {
  box-shadow: 0 10px 40px rgba(var(--accent-color-rgb), 0.15);
}

/* BUTTON CUSTOMIZATIONS */
.btn-accent {
  background-color: var(--accent-color);
  color: #000000;
  border: 1px solid var(--accent-color);
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background-color: transparent;
  color: var(--accent-color);
  box-shadow: 0 0 25px rgba(var(--accent-color-rgb), 0.5);
}

.btn-outline-accent {
  border: 1px solid rgba(var(--accent-color-rgb), 0.4);
  color: #ffffff;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-accent:hover {
  background-color: var(--accent-color);
  color: #000000;
  border-color: var(--accent-color);
}

.btn-dark-900 {
  background-color: var(--bg-dark-950);
  border: none;
}

.hover-glow:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* NAVBAR */
.nav-link {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-color);
}

/* GLOW BACKGROUND ORBS */
.glow-bg-top {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(var(--accent-color-rgb), 0.08) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
  z-index: 0;
}

.glow-bg-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(var(--accent-color-rgb), 0.04) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  pointer-events: none;
}

.glow-bg-bottom {
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(var(--accent-color-rgb), 0.06) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
}

/* COMPUTER IMAGE CUSTOMIZATIONS */
.hero-img-wrapper {
  max-width: 480px;
  position: relative;
}

.hero-img {
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.floating-card {
  position: absolute;
  backdrop-filter: blur(10px);
}

.badge-1 {
  bottom: 40px;
  left: -40px;
}

.badge-2 {
  top: 50px;
  right: -30px;
}

.icon-square {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* HERO SECTION STYLES */
.text-accent-gradient {
  background: linear-gradient(45deg, #ffffff 30%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-glow {
  background-color: rgba(var(--accent-color-rgb), 0.08);
  border: 1px solid rgba(var(--accent-color-rgb), 0.2);
}

/* Tech badges inline with text */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 8px 0 16px;
}

.tech-badges .badge-tech {
  background: rgba(80, 178, 75, 0.08);
  padding: 6px 18px;
  border-radius: 40px;
  border: 1px solid rgba(80, 178, 75, 0.12);
  color: #80d8d0;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.tech-badges .badge-tech i {
  color: var(--accent-color);
}

/* Center the button and contact sections */
.hero-section .d-flex {
  justify-content: center;
}

.hero-section .d-flex.gap-4 {
  justify-content: center;
}

/* CONTACT FORM PAGE */
.custom-input {
    min-height: 56px;
}

.contact-details {
    padding-left: 25px;
}

.contact-details h5 {
    color: #FFC107;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-details i {
    color: #FFC107;
    margin-right: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.contact-info a:hover {
    color: #FFC107;
}

.contact-info i {
    color: #FFC107;
    margin-right: 8px;
}

.gst-box {
    border-left: 3px solid #FFC107;
    padding-left: 15px;
    margin-top: 20px;
}

.gst-box strong {
    color: #fff;
}

.contact-title {
    font-size: 4rem;
    line-height: 1;
}

.btn-accent:hover {
    transform: translateY(-2px);
}

/* HOVER UTILITIES & ACCENTS */
.bg-accent-10 {
  background-color: rgba(var(--accent-color-rgb), 0.1);
}

.feature-card-simple:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-color-rgb), 0.3) !important;
}

.transition-all {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SERVICE MATRIX GRID CARD */
.service-grid-card {
  transition: all 0.3s ease;
  position: relative;
}

.service-grid-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-grid-card:hover::before {
  transform: scaleX(1);
}

.service-grid-card:hover {
  border-color: rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.group:hover .group-hover-accent {
  color: var(--accent-color) !important;
}

/* METRICS GRID ABSOLUTE BADGE */
.absolute-bottom-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* TESTIMONIAL CONFIG */
.thumb-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.mx-n2 {
  margin-left: -0.65rem !important;
  margin-right: -0.65rem !important;
}

.custom-arrow:hover {
  background-color: var(--accent-color) !important;
  color: #000000 !important;
}

.wpcf7-submit::after {
    content: " →";
    margin-left: 8px;
}

/* TEAM EXPERTS STYLING */
.team-img-wrapper {
  height: 320px;
  background-color: var(--bg-dark-900);
  overflow: hidden;
}

.team-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  transition: transform 0.3s;
}

.team-card:hover .team-img {
  transform: scale(1.06);
}

/* CASE PORTFOLIO CARDS */
.portfolio-item {
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.absolute-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: transform 0.3s;
}

.bg-gradient-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 10, 12, 0.95) 0%,
    rgba(10, 10, 12, 0.4) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}

.portfolio-item:hover .absolute-bg {
  transform: scale(1.04);
}

/* WORKFLOW PROCESS LINES */
.horizontal-step-line {
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: dashed rgba(var(--accent-color-rgb), 0.2);
  z-index: 0;
}

.step-number {
  width: 44px;
  height: 44px;
}

/* FAQS & COLLAPSE STYLING */
.accordion-button::after {
  filter: invert(1);
}

.accordion-button:not(.collapsed) {
  background-color: var(--bg-dark-800) !important;
  color: var(--accent-color) !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

/* CONTACT INPUT WRAPPERS */
.custom-input:focus {
  background-color: var(--bg-dark-700) !important;
  box-shadow: 0 0 0 2px rgba(var(--accent-color-rgb), 0.25);
  color: #ffffff;
}

/* BLOG ARRAYS */
.blog-img {
  height: 230px;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
}

/* CLIENT LOGO */
.client-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-img {
    max-width: 220px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* FOOTER CALL TO ACTION ARRAY */
.hover-white:hover {
  color: #ffffff !important;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.newsletter-form p {
    margin: 0;
}

.newsletter-form .wpcf7-form-control-wrap {
    flex: 1;
}

.newsletter-form input[type="email"] {
    width: 100%;
    min-width: 300px;
}

.newsletter-form .wpcf7-submit {
    white-space: nowrap;
}

.footer-subscribe-form .wpcf7-form {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-subscribe-form .wpcf7-form p {
    margin: 0 !important;
}

.footer-subscribe-form .wpcf7-form-control-wrap {
    flex: 1;
}

.subscribe-email {
    width: 320px;
    height: 52px;
    border: 0;
    border-radius: 50px;
    padding: 0 24px;
}

.subscribe-btn {
    background: transparent;
    border: 0;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.footer-subscribe-form .wpcf7 {
    width: 100%;
}

.footer-subscribe-form .wpcf7-form {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-subscribe-form .wpcf7-form p {
    margin: 0 !important;
}

.footer-subscribe-form .wpcf7-form-control-wrap {
    display: block;
}

.footer-subscribe-form input[type="email"] {
    width: 320px;
    height: 52px;
    border-radius: 50px;
    padding: 0 24px;
}

.footer-subscribe-form .wpcf7-submit {
    background: transparent;
    border: 0;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.subscribe-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.subscribe-row p {
    margin: 0 !important;
}

.subscribe-row .wpcf7-form-control-wrap {
    display: block;
    width: 320px;
}

.subscribe-row input[type="email"] {
    width: 100%;
    height: 52px;
    border-radius: 50px;
}

.subscribe-row .wpcf7-submit {
    white-space: nowrap;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 600;
}

.wpcf7-response-output { 
    color: #FFD700;
}

/* SWIPER NAVIGATION ARROWS */
.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    color: #fff !important;
    font-size: 24px;
    font-weight: bold;
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff !important;
    transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #ffffff;
    color: #000 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: 700;
}

/* ============================================================ */
/* SERVICES ARCHIVE - SPECIFIC STYLES                           */
/* ============================================================ */

/* Service card icon wrapper */
.service-grid-card .icon-wrapper {
    width: 64px;
    height: 64px;
    transition: all 0.3s ease;
}

.service-grid-card:hover .icon-wrapper {
    background: rgba(80, 178, 75, 0.2) !important;
    transform: scale(1.05) rotate(-5deg);
}

.service-grid-card .icon-wrapper i {
    font-size: 28px;
    transition: all 0.3s ease;
}

.service-grid-card:hover .icon-wrapper i {
    transform: scale(1.1);
}

/* Service card title */
.service-grid-card h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    min-height: 50px;
}

/* Service card description */
.service-grid-card .fs-7 {
    font-size: 0.9rem;
    line-height: 1.6;
    min-height: 60px;
}

/* Read more link */
.service-grid-card .text-accent {
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-grid-card .text-accent i {
    transition: all 0.3s ease;
}

.service-grid-card:hover .text-accent i {
    transform: translateX(4px);
}

/* Responsive adjustments for service cards */
@media (max-width: 768px) {
    .service-grid-card .icon-wrapper {
        width: 54px;
        height: 54px;
    }
    
    .service-grid-card .icon-wrapper i {
        font-size: 22px;
    }
    
    .service-grid-card h4 {
        font-size: 1rem;
        min-height: auto;
    }
    
    .service-grid-card .fs-7 {
        font-size: 0.85rem;
        min-height: auto;
    }
}

/* CTA Section */
.service-cta-section {
    background: rgba(80, 178, 75, 0.05);
    border: 1px solid rgba(80, 178, 75, 0.1);
}

/* Grid gap adjustments */
.row.g-4 {
    --bs-gutter-y: 1.5rem;
}

/* ============================================================ */
/* RESPONSIVE OVERRIDES                                         */
/* ============================================================ */

@media (max-width: 991.98px) {
  .horizontal-step-line {
    display: none;
  }
  
  .hero-section .container > .row {
    padding: 40px 32px 44px;
    border-radius: 36px;
    max-width: 700px;
  }
  
  .hero-img {
    height: 400px;
  }
  
  .badge-1 {
    left: 0;
    bottom: 10px;
  }
  
  .badge-2 {
    right: 0;
    top: 10px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 20px 0;
    min-height: auto;
  }
  
  .hero-section .container > .row {
    padding: 30px 20px 34px;
    border-radius: 28px;
    max-width: 100%;
  }
  
  .tech-badges {
    gap: 8px;
  }
  
  .tech-badges .badge-tech {
    font-size: 0.7rem;
    padding: 4px 14px;
  }
}

@media (max-width: 480px) {
  .hero-section .container > .row {
    padding: 24px 16px 28px;
    border-radius: 20px;
  }
}