/* style.css - FINAL Elegant Responsive Academic Theme with Beautiful Table and Inter Font */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
@font-face {
  font-family: "Roboto";
  src: url("../data/fonts/RobotoSlab-Black.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../data/fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Philosopher";
  src: url("../data/fonts/Philosopher-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Philosopher";
  src: url("../data/fonts/Philosopher-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}



body.custom-body {
    background-color: #ffffff;
    color: #333333;
    font-family:  "Roboto", 'Inter', sans-serif;
    text-align: justify;
    font-size: 5rem;

}

.hero {
  position: relative;
  min-height: 70vh;      /* or a fixed height if you prefer */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.5); /* 1.9 is VERY bright; also can look blown out on phones */
}

/* .hero-video {
  filter: brightness(1.9);
  width: 100%;
  object-fit:cover;
   max-height: 800px;
} */

.hero-img { width: 100%; object-fit: cover; max-height: 400px; }

.custom-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.profile-picture {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4, h5, h6 {
    color: #002855;
    font-weight: 600;
    font-family:  "Roboto", 'Inter', sans-serif;

}

.navbar {
    background-color: #002855;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.navbar-nav {
    flex-wrap: nowrap !important;
    overflow-x: auto;

}

.navbar-nav::-webkit-scrollbar {
    display: none;
}
.nav-item {
    font-family: "Philosopher" "Roboto", 'Inter', sans-serif;
    font-size: 1.2rem;
}

.nav-pills .nav-link.active {
    background-color: #0056b3;
    color: #ffffff;
    border-radius: 6px;
}

.nav-pills .nav-link {
    color: #002855;
}

.nav-pills .nav-link:hover {
    background-color: #8B0000;
    color: #ffffff;
}

.section-title {
    border-bottom: 2px solid #002855;
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 20px;
}

/* EXPERIENCE TIMELINE STYLE */
.experience-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

/* LEVEL ROW COLORS */
.level-expert {
    background-color: #e8f0fe !important;
}
.level-intermediate {
    background-color: #f0f0f0 !important;
}
.level-basic {
    background-color: #f9f9f9 !important;
}

/* TABLE STYLING */
table {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 1.5rem;
}

table thead {
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    background-color: #002855;
    color: #ffffff;
}

table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

table td, table th {
    padding: 0.85rem 1.2rem;
    text-align: left;
    line-height: 1.5;
    border-bottom: 1px solid #e0e0e0 !important;

    padding: 0.75rem 1rem;
    border: none !important;
    text-align: justify;
    vertical-align: middle;
}

.card-body a, a {
    text-decoration: none;
    color: #002855;
}

.card-body a:hover, a:hover {
    text-decoration: underline;
    color: #0056b3;
}

ul.list-group li {
    border: none;
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 10px 15px;
}

footer {
    margin-top: 50px;
    font-size: 0.85rem;
    color: #666666;
    text-align: center;
}

/* HERO */
.hero-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 1rem;
}

.tile-img {
  object-fit: cover;
  height: 220px;
  width: 100%;
}

.who-i-am {
  background: linear-gradient(90deg, #ffffff 0%, #f8f9fa 100%);
  color: #000;
}

.who-heading {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.who-text {
  font-size: 1.1rem;
  line-height: 1.7;
}

.who-bullets {
  list-style: none;
  padding-left: 0;
  font-size: 1rem;
}

.who-bullets li {
  margin-bottom: 0.5rem;
}

/* ACTIVITIES SECTION */
.activities-section {
  background-color: #fff;
  padding: 4rem 1rem;
}

.activities-section h2 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.activities-section .subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
}

.activities-section .btn-link {
  color: #002855;
  font-weight: 600;
  text-decoration: none;
  margin-right: 1rem;
}

.activities-section .btn-link:hover {
  text-decoration: underline;
  color: #0056b3;
}

.activities-image {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

/* NEWS SECTION */
.news-section {
  background-color: #f8f9fa;
  padding: 4rem 1rem;
}

.news-section h2 {
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.news-item {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.news-item img {
  width: 100px;
  height: auto;
  border-radius: 8px;
}

.news-item .content {
  flex-grow: 1;
}

.news-item h5 {
  margin-bottom: 0.5rem;
}

.news-item p {
  margin-bottom: 0;
  color: #555;
  font-size: 0.95rem;
}


.text-sm-small {
  font-size: 1.5rem;
}

/* ===============================
   Research Cards (Clean & Senior)
   =============================== */

.research-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(0, 40, 85, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  position: relative;
}

.research-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  background: lightcoral;
  border-radius: 4px;
}

.research-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.research-card-header i {
  color: #002855;
  font-size: 1.1rem;
}

.research-card-header h5 {
  margin: 0;
  font-weight: 700;
  color: #002855;
}

/* Research list */
.research-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.research-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0;
  line-height: 1.6;
  font-size: 1.02rem;
  color: #1f2a37;
}

.research-list li + li {
  border-top: 1px solid rgba(0, 40, 85, 0.08);
}

.research-list .dot {
  width: 7px;
  height: 7px;
  background: #0056b3;
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* Mobile tweaks */
@media (max-width: 576px) {
  .research-card {
    padding: 1.25rem;
  }

  .research-list li {
    font-size: 0.98rem;
  }
}

.research-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.research-list li {
  padding: 0.6rem 0;
  line-height: 1.65;
  font-size: 1.02rem;
  color: #1f2a37;
}

.research-list li + li {
  border-top: 1px solid rgba(0, 40, 85, 0.08);
}

/* ===============================
   Research Card Hover / Score Effect
   =============================== */

.research-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.research-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 86, 179, 0.15);
  border-color: rgba(0, 86, 179, 0.35);
}

.research-card:hover .research-card-header h5 {
  color: #0056b3;
}

.research-card-subtitle{
  color:#5b6775;
  font-size:0.95rem;
}

.stack-rows{
  display:grid;
  gap:0.75rem;
}

.stack-row{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:0.75rem;
  padding:0.75rem 0.9rem;
  border-radius:12px;
  background: rgba(0,40,85,0.04);
  border: 1px solid rgba(0,40,85,0.08);
}

.stack-k{
  font-weight:700;
  color:#002855;
  letter-spacing:0.3px;
  text-transform:uppercase;
  font-size:0.85rem;
}

.stack-v{
  color:#1f2a37;
  font-size:0.98rem;
}

@media (max-width: 576px){
  .stack-row{ grid-template-columns: 1fr; }
}

.who-subheading {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.tool-img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* Horizontal scrolling news cards (homepage) */
.news-scroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.news-scroller::-webkit-scrollbar {
  height: 8px;
}
.news-scroller::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 999px;
}

.news-card-wrap {
  flex: 0 0 auto;
  width: 320px;           /* card width */
  scroll-snap-align: start;
}

@media (max-width: 576px) {
  .news-card-wrap {
    width: 85vw;          /* better on phones */
  }
}

/* Scroll reveal effect for news items */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Elegant scrollbar */
.elegant-scroll {
  overflow-y: auto;
}

/* Chrome / Edge / Safari */
.elegant-scroll::-webkit-scrollbar {
  width: 8px;
}

.elegant-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.elegant-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.15)
  );
  border-radius: 999px;
}

.elegant-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.45);
}
