.custom-column {
    height: 300px; /* Adjust the height as needed */
}
.item img {
    height: 200px; /* Adjust the height as needed */
    width: 100%;
    object-fit: cover;


}
.down-content {
    height: 420px;
    padding-bottom: 20px; /* Adjust the height as needed */
}

/* Contact + FAQ section */
.contact-faq-section { padding: 70px 0; background: #f7f8fb; }
.contact-card { background: #222a3b; color: #fff; border-radius: 6px; padding: 32px; height: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.contact-title { font-weight: 800; margin-bottom: 6px; }
.contact-subtitle { opacity: .85; margin-bottom: 24px; }
.contact-card .form-label { color: #cfd6e6; font-weight: 600; }
.contact-card .form-control { background: #fff; border: none; height: 48px; }
.contact-card textarea.form-control { height: auto; }
.contact-submit { background: #6c7585; color: #fff; font-weight: 700; letter-spacing: .5px; }
.contact-submit:hover { background: #5b6474; }

.faq-card { background: #fff; border-radius: 6px; padding: 24px 24px 8px; box-shadow: 0 10px 30px rgba(0,0,0,.08); height: 100%; }
.faq-eyebrow { color: #f3a738; font-weight: 700; margin: 0; }
.faq-title { font-weight: 800; margin-top: 4px; margin-bottom: 16px; }

/* Accordion styles with plus/minus */
.accordion-button { font-weight: 600; }
.accordion-button::after { flex-shrink: 0; width: 1.25rem; height: 1.25rem; background-size: 1.25rem; background-repeat: no-repeat; background-position: center; content: ""; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23000' stroke-width='2' d='M8 3v10M3 8h10'/%3E%3C/svg%3E"); }
.accordion-button:not(.collapsed)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23000' stroke-width='2' d='M3 8h10'/%3E%3C/svg%3E"); }
.accordion-button:focus { box-shadow: none; }

/* Why Clients Choose Us Section */
.why-clients {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
}

.why-clients .section-heading h2 {
    color: #000000;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    position: relative;
}

.why-clients .section-heading h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #DC143C 0%, #FF0000 100%);
    border-radius: 2px;
}

.why-clients .feature-item {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid #f0f0f0;
    height: 100%;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.why-clients .feature-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #DC143C 0%, #FF0000 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.why-clients .feature-item:hover:before {
    transform: scaleX(1);
}

.why-clients .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.15);
    border-color: rgba(220, 20, 60, 0.2);
}

.why-clients .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #DC143C 0%, #FF0000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.why-clients .feature-item:hover .feature-icon {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    transform: scale(1.1);
}

.why-clients .feature-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.why-clients .feature-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    font-weight: 400;
}

/* How It Works Section (White, clean) */
.how-it-works {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* remove dark overlay */
.how-it-works:before { display: none; }

.how-it-works .section-heading { position: relative; z-index: 1; }

.how-it-works .section-heading h2 {
    color: #111111;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
}

.how-it-works .section-heading .subtitle {
    color: #555555;
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}

/* New flowchart styles (for .flowchart markup in index.html) */
.how-it-works .flowchart { position: relative; }
.how-it-works .flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.how-it-works .flow-step {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 28px 22px 22px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}
.how-it-works .flow-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(220,20,60,.18);
    border-color: rgba(220,20,60,.35);
}
.how-it-works .flow-step h4 {
    color: #111;
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0 8px;
}
.how-it-works .flow-step p { color: #555; font-size: 14px; line-height: 1.6; }

/* Numbered node */
.how-it-works .flow-step .node {
    position: absolute;
    top: -18px;
    left: 18px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DC143C 0%, #FF0000 100%);
    display: grid; place-items: center;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(220,20,60,.25);
}

/* === Global colorful overlays and motion === */
@keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}

/* Animated gradient over the homepage video */
.main-banner .video-overlay{background:linear-gradient(120deg,rgba(106,90,205,.40),rgba(0,180,216,.35),rgba(230,57,70,.35));background-size:200% 200%;animation:gradientShift 14s ease infinite}

/* Subtle lift on primary CTA buttons */
.main-button a{transition:transform .25s ease, box-shadow .25s ease}
.main-button a:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(220,20,60,.35)}

/* Image polish for About/Why-us blocks */
section.why-us img{transition:transform .35s ease, filter .35s ease}
section.why-us img:hover{transform:scale(1.04);filter:saturate(1.15) contrast(1.05)}

/* Generic reveal utility (used across pages) */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease, transform .6s ease}
.reveal.show{opacity:1;transform:none}

/* Shimmer sweep for feature cards */
.why-clients .feature-item{position:relative;overflow:hidden}
.why-clients .feature-item::after{content:"";position:absolute;inset:-20% -120%;background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.25) 50%,transparent 70%);transform:translateX(-100%);transition:transform .85s ease;pointer-events:none}
.why-clients .feature-item:hover::after{transform:translateX(100%)}

/* === Global colorful overlays and motion === */
@keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}

/* Animated gradient over the homepage video */
.main-banner .video-overlay{background:linear-gradient(120deg,rgba(106,90,205,.45),rgba(0,180,216,.38),rgba(230,57,70,.38));background-size:200% 200%;animation:gradientShift 14s ease infinite}

/* Tone down background video */
#bg-video{ filter: saturate(.85) contrast(.88) brightness(.85); }

/* Subtle lift on primary CTA buttons */
.main-button a{transition:transform .25s ease, box-shadow .25s ease}
.main-button a:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(220,20,60,.35)}

/* Image polish for About/Why-us blocks */
section.why-us img{transition:transform .35s ease, filter .35s ease}
section.why-us img:hover{transform:scale(1.04);filter:saturate(1.15) contrast(1.05)}

/* Generic reveal utility (used across pages) */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease, transform .6s ease}
.reveal.show{opacity:1;transform:none}

/* Shimmer sweep for feature cards */
.why-clients .feature-item{position:relative;overflow:hidden}
.why-clients .feature-item::after{content:"";position:absolute;inset:-20% -120%;background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.25) 50%,transparent 70%);transform:translateX(-100%);transition:transform .85s ease;pointer-events:none}
.why-clients .feature-item:hover::after{transform:translateX(100%)}

/* Brand logos */
.nav-logo{height:130px; width:auto; display:block}
@media (max-width: 950px){ .nav-logo{height:60px;} }
/* Slightly larger logo on small phones */
@media (max-width: 575px){ .nav-logo{ height:85px !important; } }

/* Fix features section on mobile to match desktop 3-column layout */
@media (max-width: 992px) {
  section.features {
    padding: 30px 0;
  }
  .features-post {
    margin-bottom: 20px;
    cursor: pointer;
  }
  .features-content {
    position: relative !important;
    padding: 30px 20px !important;
    text-align: center;
  }
  .features-content h4 {
    font-size: 16px !important;
    margin-bottom: 15px;
  }
  .features-content h4 i {
    display: inline-block !important;
    margin-right: 10px !important;
    margin-bottom: 0 !important;
    font-size: 22px;
  }
  .content-show {
    margin-bottom: 0;
  }
  .content-hide {
    display: block !important;
    margin-top: 15px;
  }
  .content-hide p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #000000;
  }
  .content-hide p.hidden-sm {
    display: block !important;
  }
  .content-hide a {
    display: inline-block;
    margin-top: 10px;
    color: #DC143C;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
  }
  .second-features,
  .third-features {
    border-left: none !important;
  }
}

/* Further adjustments for very small screens */
@media (max-width: 575px) {
  .features-content {
    padding: 25px 15px !important;
  }
  .features-content h4 {
    font-size: 15px !important;
  }
  .features-content h4 i {
    font-size: 20px !important;
  }
}

/* Taller header to fit larger logo */
.main-header{ height:80px; }

/* Ensure vertical centering in header */
.main-header .logo{ line-height:80px !important; }
.main-header .logo a{ display:flex; align-items:center; height:80px; }

/* Align menu vertically with new height */
.main-menu li{ line-height:79px; }

/* Hero center logo */
.hero-logo{display:block; margin:6px auto 6px; width:clamp(220px,32vw,420px); height:auto; filter:drop-shadow(0 12px 28px rgba(0,0,0,.25))}

/* Place CTA close to logo and enlarge button */
.main-banner .caption h6{ margin-bottom: 8px; }
.main-banner .caption .main-button{ margin-top: 6px; }
.main-banner .caption .main-button a{ font-size:16px; padding:14px 28px; border-radius:999px; }

/* Executives Team */
.team-section{ background:#ffffff; padding:80px 0 100px; position:relative; }
.team-section .section-heading h2{ color:#000; font-size:40px; font-weight:800; }
.team-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
@media(max-width:767px){ .team-grid{ grid-template-columns:1fr; } }

.team-card{ background:#fff; border:2px solid #000; border-radius:14px; padding:24px; text-align:center; box-shadow:0 18px 40px rgba(0,0,0,.06); transform:translateY(18px); opacity:0; transition:transform .5s ease, opacity .5s ease; position:relative; overflow:hidden; }
.team-card.show{ transform:translateY(0); opacity:1; }
.team-card::before{ content:""; position:absolute; inset:-20% -120%; background:linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); transform:translateX(-100%); transition:transform .85s ease; pointer-events:none; }
.team-card:hover::before{ transform:translateX(100%); }

.team-photo{ width:220px; height:220px; margin:0 auto 16px; border-radius:50%; background:#fff; border:2px solid #000; display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }
.team-photo img{ width:100%; height:100%; object-fit:cover; display:block; filter:saturate(1); }
.team-photo.placeholder{ background:#e8e8e8; color:#666; font-weight:800; font-size:72px; font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }

.team-name{ font-size:20px; font-weight:900; color:#0b0c10; margin:6px 0 4px; }
.team-role{ font-weight:800; color:#DC143C; margin-bottom:8px; }
.team-meta{ font-size:14px; color:#333; }


.custom-column {
    height: 300px; /* Adjust the height as needed */
}
.item img {
    height: 200px; /* Adjust the height as needed */
    width: 100%;
    object-fit: cover;


}
.down-content {
    height: 420px;
    padding-bottom: 20px; /* Adjust the height as needed */
}

/* Contact + FAQ section */
.contact-faq-section { padding: 70px 0; background: #f7f8fb; }
.contact-card { background: #222a3b; color: #fff; border-radius: 6px; padding: 32px; height: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.contact-title { font-weight: 800; margin-bottom: 6px; }
.contact-subtitle { opacity: .85; margin-bottom: 24px; }
.contact-card .form-label { color: #cfd6e6; font-weight: 600; }
.contact-card .form-control { background: #fff; border: none; height: 48px; }
.contact-card textarea.form-control { height: auto; }
.contact-submit { background: #6c7585; color: #fff; font-weight: 700; letter-spacing: .5px; }
.contact-submit:hover { background: #5b6474; }

.faq-card { background: #fff; border-radius: 6px; padding: 24px 24px 8px; box-shadow: 0 10px 30px rgba(0,0,0,.08); height: 100%; }
.faq-eyebrow { color: #f3a738; font-weight: 700; margin: 0; }
.faq-title { font-weight: 800; margin-top: 4px; margin-bottom: 16px; }

/* Accordion styles with plus/minus */
.accordion-button { font-weight: 600; }
.accordion-button::after { flex-shrink: 0; width: 1.25rem; height: 1.25rem; background-size: 1.25rem; background-repeat: no-repeat; background-position: center; content: ""; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23000' stroke-width='2' d='M8 3v10M3 8h10'/%3E%3C/svg%3E"); }
.accordion-button:not(.collapsed)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23000' stroke-width='2' d='M3 8h10'/%3E%3C/svg%3E"); }
.accordion-button:focus { box-shadow: none; }

/* Why Clients Choose Us Section */
.why-clients {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
}

.why-clients .section-heading h2 {
    color: #000000;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    position: relative;
}

.why-clients .section-heading h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #DC143C 0%, #FF0000 100%);
    border-radius: 2px;
}

.why-clients .feature-item {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid #f0f0f0;
    height: 100%;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.why-clients .feature-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #DC143C 0%, #FF0000 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.why-clients .feature-item:hover:before {
    transform: scaleX(1);
}

.why-clients .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.15);
    border-color: rgba(220, 20, 60, 0.2);
}

.why-clients .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #DC143C 0%, #FF0000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.why-clients .feature-item:hover .feature-icon {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    transform: scale(1.1);
}

.why-clients .feature-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.why-clients .feature-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    font-weight: 400;
}

/* How It Works Section (White, clean) */
.how-it-works {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* remove dark overlay */
.how-it-works:before { display: none; }

.how-it-works .section-heading { position: relative; z-index: 1; }

.how-it-works .section-heading h2 {
    color: #111111;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
}

.how-it-works .section-heading .subtitle {
    color: #555555;
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}

/* New flowchart styles (for .flowchart markup in index.html) */
.how-it-works .flowchart { position: relative; }
.how-it-works .flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.how-it-works .flow-step {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 28px 22px 22px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}
.how-it-works .flow-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(220,20,60,.18);
    border-color: rgba(220,20,60,.35);
}
.how-it-works .flow-step h4 {
    color: #111;
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0 8px;
}
.how-it-works .flow-step p { color: #555; font-size: 14px; line-height: 1.6; }

/* Numbered node */
.how-it-works .flow-step .node {
    position: absolute;
    top: -18px;
    left: 18px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DC143C 0%, #FF0000 100%);
    color: #fff;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(220,20,60,.35);
    border: 3px solid #fff;
}

/* Decorative connectors on wide screens */
@media (min-width: 992px) {
  .how-it-works .flow-steps { position: relative; }
  .how-it-works .flow-steps:before {
      content: '';
      position: absolute; left: 8px; right: 8px; top: 22px;
      height: 2px; background: repeating-linear-gradient(90deg,#e6e6e6 0 14px, transparent 14px 28px);
  }
}

/* Mobile tweaks */
@media (max-width: 767px) {
    .how-it-works { padding: 60px 0; }
    .how-it-works .section-heading h2 { font-size: 32px; }
}

/* Change "More Info." link color to white */
.scroll-to-section a {
    color: white !important;
}

/* ==========================================================
   Responsive enhancements (non-intrusive, theme-preserving)
   ========================================================== */

/* Predictable box model site-wide */
*, *::before, *::after { box-sizing: border-box; }

/* Prevent accidental horizontal scroll and ensure media scales */
html, body { max-width: 100%; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }

/* Services carousel cards: allow natural height on small screens */
@media (max-width: 991px) {
  .down-content { height: auto !important; }
  .item img { height: auto !important; }
  .premium-image-item img { height: auto !important; }
}

/* AI band: stack columns and neutralize rigid inline offsets on mobile */
.section.ai > div { flex-wrap: wrap; gap: 20px; }
@media (max-width: 992px) {
  .section.ai #tabs { 
    padding-left: 0 !important; 
    margin-top: 0 !important; 
    text-align: center; 
  }
  .section.ai img { 
    width: 100% !important; 
    max-width: 460px; 
    margin: 10px auto 0 !important; 
  }
}

/* Header logo already scales at <=950px; ensure menu items don’t force overflow */
@media (max-width: 950px) {
  .main-menu li { line-height: 1.4 !important; }
}

/* Tabs images padding on small screens for better fit */
@media (max-width: 767px) {
  #tabs img { padding-right: 0 !important; }
}

/* See Who We Serve (AI) section layout */
.section.ai { background: #25273a; padding: 60px 0; }
.section.ai .ai-wrap { 
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.section.ai .ai-title { color: #ffffff; font-weight: 800; margin: 0 0 14px; font-size: clamp(24px, 3.4vw, 40px); }
.section.ai .ai-cta { display: inline-block; }
.section.ai .ai-illustration { display: flex; justify-content: center; }
.section.ai .ai-illustration img { width: 100%; max-width: 520px; height: auto; }
@media (max-width: 992px) {
  .section.ai .ai-wrap { grid-template-columns: 1fr; text-align: center; }
}
