/* ===============================
  CAreer PAge
================================ */

/* ===============================
  CAreer PAge- hero banner starts here 
================================ */


/* Main container */
.career-page .career-hero-bannar-g {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #12192b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    font-family: 'Inter', sans-serif;
}

/* Content wrapper */
.career-page .career-hero-bannar-g .content-wrapper {
    max-width: 800px;
    width: 90%;
    z-index: 10;
    text-align: center;
}

/* Heading */
.career-page .career-hero-bannar-g h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin: 0;
    background: linear-gradient(to bottom, #ffffff 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.4));
}

/* Subtext */
.career-page .career-hero-bannar-g p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-top: 12px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Waves base */
.career-page .career-hero-bannar-g .wave {
    position: absolute;
    bottom: -15%;
    left: -50%;
    width: 200%;
    height: 130%;
    background: radial-gradient(circle at 50% 50%, #1e40af 0%, transparent 80%);
    opacity: 0.35;
    transform-origin: center bottom;
}

/* Layer 1 */
.career-page .career-hero-bannar-g .layer1 {
    clip-path: ellipse(60% 30% at 50% 100%);
    animation: careersWaveMove 6s ease-in-out infinite alternate;
}

/* Layer 2 */
.career-page .career-hero-bannar-g .layer2 {
    background: radial-gradient(circle at 50% 50%, #3b82f6 0%, transparent 70%);
    clip-path: ellipse(50% 25% at 50% 100%);
    opacity: 0.25;
    animation: careersWaveMove 8s ease-in-out infinite alternate-reverse;
}

/* Layer 3 */
.career-page .career-hero-bannar-g .layer3 {
    background: radial-gradient(circle at 50% 50%, #60a5fa 0%, transparent 60%);
    clip-path: ellipse(30% 15% at 50% 100%);
    opacity: 0.15;
    animation: careersWaveMove 5s ease-in-out infinite alternate;
}

/* Animation */
@keyframes careersWaveMove {
    0% { transform: scaleX(1) translateY(8px) rotate(-1deg); }
    100% { transform: scaleX(1.15) translateY(-12px) rotate(1deg); }
}

/* Side fade overlay */
.career-page .career-hero-bannar-g::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #12192b 0%, transparent 20%, transparent 80%, #12192b 100%);
    z-index: 5;
}
/* ===============================
CAreer PAge - hero banner ends here 
================================ */



/* CONTAINER */
.career-cards {
  display: flex;
  flex-direction: column;
  gap: 32px; /* Increased gap between cards */
  max-width: 1400px; /* Fixed width as requested */
  margin: 0 auto;
  padding: 20px;
}

/* CARD */
.career-card {
  background: #ffffff;
  padding: 30px; /* More internal breathing room */
  border-radius: 8px; /* Slightly sharper radius like the image */
  box-shadow: 0 10px 25px rgba(0,0,0,0.03); /* Softer, wider shadow */
  border: 1px solid #f0f0f0;
  transition: 0.3s ease;
  position: relative;
}

/* TOP SECTION (Time & Type) */
.job-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5px;
}

.job-time {
  font-size: 13px;
  color: #606060;
}

/* JOB TYPE BADGE */
.job-type {
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-transform: capitalize;
}


.job-type.commission { background: #fab1a0; }
/* COLORS */
.job-type.full-time {
  background: #22c55e;
}

.job-type.part-time {
  background: #f97316;
}

.job-type.remote {
  background: #3b82f6;
}

.job-type.contract {
  background: #a855f7;
}

.job-type.internship {
  background: #06b6d4; /* cyan / fresh color */
}
/* TEXT CONTENT */
.career-title {
  font-size: 22px;
  font-weight: 700;
  color: #2d3436;
  margin: 4px 0;
}

/* META - UPDATED to darker color for better visibility */
.job-sub-meta {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563; /* Darker grey */
  margin-bottom: 12px;
}
/* DESCRIPTION - UPDATED to darker color and slightly thicker font */
.job-description {
  font-size: 14px;
  font-weight: 500; /* Increased weight slightly */
  color: #374151; /* Much darker grey */
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 80%; /* Keeps text from stretching too far */
}
/* FOOTER / BUTTONS AREA */
.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apply-link {
  color: #55efc4;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  margin-right: 15px;
}

.applicant-count {
  font-size: 13px;
  color: #b2bec3;
}

/* SKILLS TAGS (The specific UI in the image) */
/* SKILLS CONTAINER = ONE CAPSULE */
.job-skills {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 6px 14px;
  background: #f1f5f9;
  border-radius: 999px; /* full capsule */

  font-size: 13px;
}

/* REMOVE INDIVIDUAL TAG STYLE */
.job-skills .field__item {
  background: none;
  padding: 0;
  margin: 0;
  color: #334155;
  font-weight: 500;
}

/* OPTIONAL: add separator */
.job-skills .field__item:not(:last-child)::after {
  content: "•";
  margin-left: 8px;
  color: #9ca3af;
}
.skill-tag {
  display: flex;
  align-items: center;
  background: #f1f3f5;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  color: #636e72;
}

/* Icons for skills */
.skill-tag::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  background-size: contain;
  background-repeat: no-repeat;
}

.skill-tag.match::after {
  content: '✓'; /* Use an icon font or SVG in production */
  color: #2ecc71;
}

.skill-tag.no-match::after {
  content: '✕';
  color: #ff7675;
}
/* ===============================
C   aREER LISTING – VIEW ENDs Here
============================== */



/* ===============================
  Career Page- Why Inkbyte Starts here 
================================ */
.ink-header {
    text-align: center;
    margin-bottom: 50px;
}

.ink-overline {
    display: block;
    color: #2563eb;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.ink-header h2 {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 800;
}

.ink-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Original Card Styles */
.ink-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

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

.ink-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.ink-card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: #2563eb;
    transition: width 0.4s ease;
}

.ink-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.1);
    border-color: #2563eb;
}

.ink-card:hover .ink-card-footer {
    width: 100%;
}

.ink-svg-icon {
    width: 50px;
    height: 50px;
    background: #eef4ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.ink-card:hover .ink-svg-icon {
    background: #2563eb;
    color: #ffffff;
}

.ink-svg-icon svg {
    width: 24px;
    height: 24px;
}

.ink-card h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.ink-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}


/* ===============================
  Career Page- Why Inkbyte Endshere 
================================ */



/* ===============================
  Career Page- Job node title css Starts here 
================================ */

.job-title-heading {
  text-align: center;
  /* Top: 80px | Right/Left: 0 | Bottom: 40px */
  margin-top: 60px;
  padding: 80px 0 40px 0; 
  border-bottom: 1px solid #eee;
}

.job-title-heading .field__item {
  font-size: 42px;
  font-weight: 800;
  color: #000000;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
/* ===============================
  Career Page- Job node title css ENDS here 
================================ */


/* ===============================
  CAreer PAge- Job node css Starts here 
================================ */
/* ===============================
   Career Page - Job Node CSS
================================ */

/* --- Container: Centered and Clean --- */
.job-details {
    width: 100%;
    max-width: 850px; /* Narrower width for better readability like the image */
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
    font-family: 'Inter', sans-serif; /* Recommended font for this look */
}

/* 1. Header Area (Title) */
.job-title-header {
    text-align: center;
    margin-bottom: 40px;
}

.job-title-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
}


/* 1. Setup the Meta Item to make room for icons */
.job-meta-details .field {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 12px;
    font-weight: 500;
    color: #334155;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

/* 2. Inject the Icons using Font Awesome Unicode */
.job-meta-details .field::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; 
    font-weight: 900; 
    color: #2563eb;   
    font-size: 1.1rem;
}

/* 3. Specific Icons and Text injection */
.job-meta-details .field--name-field-location::before {
    content: "\f3c5"; 
}
.job-meta-details .field--name-field-level::before {
    content: "\f508"; /* User Tie icon */
}
.job-meta-details .field--name-field-experience::before {
    content: "\f007"; 
}

.job-meta-details .field--name-field-experience::after {
    content: " Years"; 
    font-weight: 500;
    color: #64748b; 
    margin-left: 4px;
}

.job-meta-details .field--name-field-job-type::before {
    content: "\f0b1"; 
}

.job-meta-details .field--name-field-job-description::before {
    content: "\f46d"; 
}

/* 4. Formatting the Wide Bar (Full Width) */
.job-meta-details  {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

.job-meta-details  .field {
    flex: 1;
    min-width: 200px;
    border-right: 1px solid #e2e8f0;
}

.job-meta-details .field:last-child {
    border-right: none;
}




/* 4. Main Content Sections (Job Description, Responsibilities) */
.job-details .field {
    width: 100%;
    margin-bottom: 45px;
}

.job-details .field__label {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    border: none; /* Removed the thick blue underline */
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Date styling (Posted On: August...) */
.posted-date {
    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
}

/* 5. Typography (The actual text) */
.job-details .field__item {
    color: #64748b; /* Lighter, professional grey */
    line-height: 1.8;
    font-size: 15px;
}

/* List styling for Responsibilities/Requirements */
.job-details ul {
    padding-left: 20px;
    margin-top: 15px;
}

.job-details li {
    margin-bottom: 12px;
    color: #12151a;
}

/* Bullet point customization */
.job-details li::marker {
    color: #021432;
}

/* 6. Special link in text (like "mauris pulvinar") */
.job-details a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}



/* ===============================
  CAreer PAge- Job node css ENDS here 
================================ */


/* ===============================
  Career Page - Webform Centered
================================ */
/* ===============================
  Career Page - Webform (FINAL CLEAN)
================================ */

/* --- Main Container --- */
.node__content .field--name-field-form {
  width: 100%;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* --- Heading --- */
.field--name-field-form h2 {
  text-align: center;
  color: #1a1a1a;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: -1px;
}

.webform-submission-form {
  display: block;
}

.webform-submission-form .js-form-item,
.form-actions {
  max-width: 900px;
  margin: 0 auto 25px;
}
/* --- Field Wrapper --- */
.webform-submission-form .js-form-item {
  width: 100%;
  max-width: 900px;
  margin-bottom: 25px;
}

/* --- Labels --- */
.webform-submission-form label {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  display: block;
}

/* --- Inputs & Textarea --- */
.webform-submission-form input[type="text"],
.webform-submission-form input[type="email"],
.webform-submission-form input[type="tel"],
.webform-submission-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
  background: #fff;
  box-sizing: border-box;
}
/* ===== RESUME FIELD FIX (YOUR DRUPAL STRUCTURE) ===== */

.webform-submission-form .js-form-type-webform-document-file {
  width: 100%;
  max-width: 900px;
}

/* Inner wrapper */
.webform-submission-form .js-form-type-webform-document-file .form-managed-file {
  display: flex;
  width: 100%;
  gap: 10px;
}

/* File input full width */
.webform-submission-form .js-form-type-webform-document-file input[type="file"] {
  flex: 1;
  width: 100% !important;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
  box-sizing: border-box;
}

/* Hide extra upload button (Drupal default) */
.webform-submission-form .js-form-type-webform-document-file input[type="submit"] {
  display: none;
}

/* Description alignment */
.webform-submission-form .js-form-type-webform-document-file .description {
  width: 100%;
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
}
/* --- Focus State --- */
.webform-submission-form input:focus,
.webform-submission-form textarea:focus {
  border-color: #0070f3;
  outline: none;
}

/* --- Button Container --- */
.form-actions {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

/* --- Submit Button --- */
.form-actions input[type="submit"] {
  min-width: 260px;
  background-color: #0070f3;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.form-actions input[type="submit"]:hover {
  background-color: #0056b3;
}
/* ===============================
  CAreer PAge- webform ENDS here 
================================ */



/* ===============================
  Career Page- CTA ENDS here 
================================ */


.general-cta,
.career-cta {
    background-color: #030712;
    padding: 20px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    width: 100%;
    overflow: hidden;
}

.cta-wrapper {
    position: relative;
    width: 100%;
    background: #030712;
    padding: 70px 10%; 
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 95%);
    z-index: 1;
}

/* TOP BORDER - FASTER */
.cta-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%; /* Wider streak reduces the perceived gap */
    height: 2px;
    background: linear-gradient(90deg, transparent, #2563eb, #60a5fa, transparent);
    /* Reduced to 2s for high-frequency movement */
    animation: scan-cobalt 2s linear infinite;
    z-index: 3;
}

/* BOTTOM BORDER - FASTER */
.cta-wrapper::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -150%;
    width: 150%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1d4ed8, #3b82f6, transparent);
    animation: scan-cobalt-reverse 2s linear infinite;
    z-index: 3;
}

@keyframes scan-cobalt {
    0% { left: -150%; }
    100% { left: 100%; }
}

@keyframes scan-cobalt-reverse {
    0% { right: -150%; }
    100% { right: 100%; }
}

.cta-inner {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 30px;
}

.text-group h3 {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-group p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin: 0;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #000;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.apply-btn:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}

.apply-btn svg {
    width: 20px;
    height: 20px;
}



/* ===============================
  Career Page- CTA ENDS here 
================================ */
/* ===============================
   MEDIA QUERY STARTS HERE
================================ */

/* Mobile Responsiveness: Webform*/
@media (max-width: 800px) {
  .webform-submission-form .js-form-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .webform-submission-form label {
    flex: none;
  }
}

/* Responsive Fix: for Job meta */
@media (max-width: 800px) {
    .job-meta .field {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .job-meta .field:last-child {
        border-bottom: none;
    }
}
/* --- Responsive Fix for Job Details--- */
@media (max-width: 900px) {
    .job-meta .field {
        flex: 1 1 45%; /* Switch to 2 columns on tablets */
        border-bottom: 1px solid #e2e8f0;
    }
}

@media (max-width: 500px) {
    .job-meta .field {
        flex: 1 1 100%; /* Switch to 1 column on mobile */
    }
}
/* --- Responsive Fix for why Inkbyte--- */
@media (max-width: 768px) {
    .ink-header h2 { font-size: 1.8rem; }
}
/* --- Responsive Fix for CTA button--- */
@media (max-width: 850px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ===============================
   MEDIA QUERY ENDS HERE
================================ */
