/* ===== resume.css - Resume Page Only ===== */

body {
  background: url("resumebg/1.jpg") no-repeat center center/cover;
  background-attachment: fixed;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 10, 15, 0.88);
  z-index: -1;
}

.content-wrapper {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 2rem auto 4rem;
  padding: 0 5vw;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Resume Split Column Grid */
.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3.5rem;
  align-items: start;
  width: 100%;
}

.resume-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.resume-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Hero Section */
.resume-hero {
  text-align: center;
  padding: 2.5rem;
  border-radius: 20px;
}

.resume-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.resume-hero p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  margin-bottom: 1.5rem;
}

.resume-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sidebar Sections */
.sidebar-section h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 0.5rem;
}

/* Personal info styling */
.personal-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.personal-info-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.personal-info-list i {
  color: var(--accent);
  font-size: 1rem;
  width: 18px;
  text-align: center;
}

.personal-info-list a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.personal-info-list a:hover {
  color: var(--accent);
}

/* Education blocks inside Sidebar card */
.education-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.edu-institution {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}

.edu-degree {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
}

.edu-faculty {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.edu-timeline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.edu-timeline i {
  margin-right: 0.25rem;
  color: var(--accent);
}

.edu-grade-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.grade-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.grade-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.grade-badge {
  background: rgba(185, 219, 107, 0.1);
  color: var(--accent);
  border: 1px solid rgba(185, 219, 107, 0.25);
  padding: 0.15rem 0.6rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Main Sections overrides */
.resume-section h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 0.5rem;
}

.summary-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* Skills Grid layout inside main resume */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  align-items: start;
  width: 100%;
  margin-top: 0.5rem;
}

.skills-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  border-radius: 18px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.skills-card:hover {
  border-color: var(--accent);
  background: rgba(185, 219, 107, 0.02);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(185, 219, 107, 0.08);
}

.skills-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
  font-weight: 700;
}

.skills-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 0;
}

.skills-bullet-list li {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.25rem;
}

.skills-bullet-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0.25rem;
  top: -0.1rem;
  font-size: 1.2rem;
}

/* STMS Highlight section inside resume */
.stms-resume-card,
.stms-resume-card-fullwidth {
  border-color: rgba(250, 92, 92, 0.15);
  background: radial-gradient(circle at top left, rgba(250, 92, 92, 0.03), transparent 50%), var(--card-bg);
}

.stms-resume-card:hover,
.stms-resume-card-fullwidth:hover {
  border-color: rgba(250, 92, 92, 0.35);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(250, 92, 92, 0.08);
}

.stms-resume-card h3,
.stms-resume-card-fullwidth h3 {
  color: #fa5c5c !important;
  border-bottom: 1px solid rgba(250, 92, 92, 0.15);
  padding-bottom: 0.5rem;
}

.stms-resume-card-fullwidth {
  width: 100%;
  margin-top: 1rem;
}

.resume-project-box {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.proj-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.proj-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.proj-actions {
  display: flex;
  margin-top: 0.5rem;
}

.proj-actions .btn {
  background: transparent;
  color: #fa5c5c;
  border-color: rgba(250, 92, 92, 0.3);
  box-shadow: none;
}

.proj-actions .btn:hover {
  background: rgba(250, 92, 92, 0.05);
  border-color: #fa5c5c;
  color: #fa5c5c;
  box-shadow: 0 5px 15px rgba(250, 92, 92, 0.15);
}

/* Full-Width Social Section at bottom */
.social-links-fullwidth {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 2.5rem 3rem;
  border-radius: 24px;
  margin-top: 1rem;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-links-fullwidth h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.social-links-fullwidth .social-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  flex-wrap: wrap;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  min-width: 180px;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.social-icon-btn i {
  font-size: 1.3rem;
}

/* Social icon buttons individual hovers */
.social-icon-btn[aria-label="LinkedIn"]:hover {
  background: rgba(0, 119, 181, 0.12);
  border-color: #0077b5;
  color: #0077b5;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.25);
}

.social-icon-btn[aria-label="WhatsApp"]:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: #25d366;
  color: #25d366;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.social-icon-btn[aria-label="Facebook"]:hover {
  background: rgba(24, 119, 242, 0.12);
  border-color: #1877f2;
  color: #1877f2;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.25);
}

/* Responsive configurations */
@media (max-width: 1024px) {
  .resume-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .resume-hero {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .social-links-fullwidth {
    padding: 2rem 1.5rem;
  }

  .social-links-fullwidth .social-icons {
    flex-direction: column;
    gap: 1rem;
  }

  .social-icon-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .resume-buttons {
    flex-direction: column;
    width: 100%;
  }

  .resume-buttons .btn {
    width: 100%;
  }
}