/*
 Theme Name: Syron Child
 Theme URI: https://themeforest.net/
 Description: Child theme for Syron portfolio theme
 Author: RivaxStudio
 Template: syron
 Version: 1.0.0
*/

/* ======================================
   GLOBAL LAYOUT NORMALIZATION (SYRON)
====================================== */

body {
  background: var(--body-bg-color);
  margin: 0;
  padding: 0;
}

:root {
  --ias-accent: var(--accent-color);
  --ias-primary: #0a66c2;
}

/* Main page wrapper spacing */
.main-wrapper {
  padding-top: 40px;
  
}

.elementor-page .main-wrapper {
  padding-bottom: 60px;
}

/* ======================================
   PROFILE CARD
====================================== */

.ias-profile {
  padding: 20px 0;
}

.ias-profile-inner {

  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.ias-profile-row {
  display: flex;
  gap: 40px;
  align-items: center;
}

.ias-col-left {
  flex-shrink: 0;
}

.ias-photo img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.ias-col-right {
  flex: 1;
}

.ias-name {
  font-size: 2.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.ias-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: #777;
  margin-bottom: 10px;
}

.ias-meta {
  font-size: 15px;
  color: #555;
  margin-bottom: 18px;
}

.ias-email {
  color: var(--ias-primary);
  text-decoration: none;
}

.ias-email:hover {
  text-decoration: underline;
}

.ias-bio {
  margin-top: 15px;
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

/* ======================================
   POSTINGS TIMELINE
====================================== */

.ias-timeline {
    
  position: relative;
  margin-left: 20px;
  padding-left: 35px;
  border-left: 2px solid #e3e3e3;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  background: var(--ias-accent);
  border-radius: 50%;
  position: absolute;
  left: -42px;
  top: 10px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--ias-accent);
}

.timeline-box {
  background: var(--card-bg);
  padding: 20px 24px;
  border-radius: var(--soft-radius);
  box-shadow: var(--shadow-soft);
}

.t-role {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #111;
}

.t-linked-profile {
  font-size: 14px;
  margin-top: 2px;
}

.t-linked-profile a {
  color: var(--ias-primary);
  font-weight: 500;
  text-decoration: none;
}

.t-linked-profile a:hover {
  text-decoration: underline;
}

.t-office {
  margin-top: 4px;
  font-size: 15px;
  color: #444;
}

.t-meta {
  color: #777;
}

.t-duration {
  margin-top: 6px;
  font-size: 14px;
  color: #888;
  font-weight: 500;
}

.t-desc {
  margin-top: 10px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

/* ======================================
   PROJECTS
====================================== */

.project-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.project-card {
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  border-left: 4px solid var(--ias-accent);
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.p-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.p-linked-profile a,
.p-linked-posting a {
  color: var(--ias-primary);
  text-decoration: none;
  font-size: 14px;
}

.p-linked-profile a:hover,
.p-linked-posting a:hover {
  text-decoration: underline;
}

.p-duration {
  margin-top: 6px;
  font-size: 14px;
  color: #777;
}

.p-desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
}

/* ======================================
   EDUCATION TIMELINE
====================================== */

.edu-timeline {
  border-left: 2px solid #e3e3e3;
  margin-left: 20px;
  padding-left: 25px;
}

.edu-item {
  position: relative;
  margin-bottom: 35px;
}

.edu-dot {
  width: 14px;
  height: 14px;
  background: var(--ias-accent);
  border-radius: 50%;
  position: absolute;
  left: -32px;
  top: 10px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--ias-accent);
}

.edu-course {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #111;
}

.edu-profile a {
  font-size: 14px;
  color: var(--ias-primary);
  text-decoration: none;
}

.edu-profile a:hover {
  text-decoration: underline;
}

.edu-inst {
  margin-top: 4px;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.edu-meta {
  margin-top: 4px;
  font-size: 14px;
  color: #777;
}

/* ======================================
   SKILLS GRID
====================================== */

.ias-skills .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 15px;
}

.skill-card {
  background: #fff;
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-left: 4px solid var(--ias-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}


/* ===== FIX RECOMMENDATION AVATAR BLOW-UP ===== */

/* ======================================
   RECOMMENDATIONS – LAYOUT FIX (FINAL)
====================================== */
/* Buttons */
.ias-btn-primary {
    background: #0a66c2;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ias-btn-primary:hover {
    background: #004182;
}

/* Tabs */
.ias-recs-tabs {
    margin: 15px 0 20px;
}

.ias-tab {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #dcdcdc;
    cursor: pointer;
    margin-right: 8px;
    font-weight: 500;
    color:#777;
}

.ias-tab.active {
    border-bottom: 3px solid #0a66c2;
    color: #0a66c2;
    font-weight: 600;
}

/* Recommendation Item */
.ias-rec {
    display: flex;
    gap: 14px;
    padding: 18px;
    position: relative;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    margin-bottom: 16px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.ias-rec-left {
    width: 64px;
    flex: 0 0 64px;
}

.ias-rec-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.ias-rec-body {
    flex: 1;
}

.ias-rec-name {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.ias-rec-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.ias-rec-message {
    font-size: 15px;
    color: #333;
    line-height: 1.55;
    margin-bottom: 10px;
}

.ias-rec-footer {
    font-size: 13px;
    color: #777;
}

/* ======================
   MODAL (LinkedIn Style)
====================== */

.ias-rec-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    z-index: 99999;
}


.hidden {
    display: none ;
}

.ias-rec-modal-box {
    background: #fff;
    width: 520px;
    max-width: 94%;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.25);
    position: relative;
}

/* Close Button */
.ias-rec-close {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 28px;
    font-weight: 700;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 1;
    color: #333;
}

.ias-rec-close:hover {
    color: #000;
}

.user-avatar.default-icon {
    background: #eee url('path/to/user-icon.svg') center/60% no-repeat;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}


/* Modal Form Fields */
.ias-rec-modal-box label {
    display: block;
    font-weight: 600;
    margin-top: 14px;
    margin-bottom: 4px;
    color: #222;
}

.ias-rec-modal-box select,
.ias-rec-modal-box textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    font-size: 14px;
    margin-bottom: 8px;
}

.ias-rec-modal-box textarea {
    resize: vertical;
}


.ias-rec-toggle {
    z-index: 20;
    position: absolute;
    right: 16px;
    top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ias-toggle-label {
   
    color: #333;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 1px;
}


.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

/* HIDE REAL CHECKBOX PROPERLY */
.switch input {
    position: absolute;
    opacity: 0 ;
    width: 0 ;
    height: 0 ;
    margin: 0;
    padding: 0;
}

/* TRACK */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

/* CIRCLE */
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: 0.4s;
    border-radius: 50%;
}

/* ON STATE */
.switch input:checked + .slider {
    background-color: #0a66c2;
}

.switch input:checked + .slider:before {
    transform: translateX(22px);
}

/* --------------------------------------
   FEATURED HIGHLIGHTS (HOME PAGE CARDS)
--------------------------------------- */

.ias-highlights-wrap {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin: 40px 0;
}

.ias-card {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s ease-in-out;
}

.ias-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.ias-card h2 {
    font-size: 38px;
    font-weight: 700;
    color: #ff3b6a;
    margin-bottom: 6px;
}

.ias-card p {
    font-size: 16px;
    color: #555;
    margin: 0;
}




/* Responsive */

@media (max-width: 1024px) {
    .ias-highlights-wrap {
        flex-wrap: wrap;
    }

    .ias-card {
        flex: 0 0 calc(50% - 12.5px);
    }
}

/* =========================
   MOBILE (STACKED)
========================= */
@media (max-width: 600px) {
    .ias-highlights-wrap {
        flex-direction: column;
        gap: 18px;
    }

    .ias-card {
        flex: 1;
        padding: 24px;
    }

    .ias-card h2 {
        font-size: 32px;
    }

    .ias-card p {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .ias-recs-wrap {
        padding: 0 10px;
    }

    .ias-rec {
        flex-direction: column;
        text-align: left;
    }

    .ias-rec-left {
        margin-bottom: 10px;
    }
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .ias-profile-row {
        flex-direction: column;
        text-align: center;
    }

    .ias-meta-item:after {
        display: none;
    }

    .ias-meta {
        display: inline-block;
    }
}


/* ======================================
   RESPONSIVE FIXES
====================================== */

@media (max-width: 900px) {
  .ias-profile-row {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .ias-timeline {
    margin-left: 0;
    padding-left: 20px;
  }

  .timeline-dot {
    left: -30px;
  }
}
