body {
  font-family: hind, sans-serif;
  font-size: 15px;
  line-height: 1.8em;
  color: #3d3d50;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1px;
  color: #2b2b3d;
}

h1 { font-size: 26px; line-height: 1.8em; font-weight: 700; }
h2 { font-size: 18px; line-height: 1.8em; font-weight: 700; }
h3 { font-size: 16px; line-height: 1.8em; font-weight: 500; }
h4 { font-size: 15px; line-height: 1.8em; font-weight: 500; }
h5 { font-size: 15px; line-height: 1.5em; font-weight: 500; }
h6 { font-size: 15px; line-height: 1.5em; }

a {
  color: black;
  text-decoration: none;
  transition: all .3s ease;
}
a:hover, a:focus {
  text-decoration: none;
  color: blue;
}

p { margin-bottom: 20px; color: #000; }
ul { margin: 0; padding: 0; list-style: none; }

.columns-block {
  display: flex;
  flex-direction: row;
  margin: 60px auto;
  padding: 0;
  box-shadow: 0 0 0 1px #eaeaea;
}
.blocks { box-sizing: border-box; }

.main-col-block {
  flex: 2 0 0;
  position: relative;
  background: #fff;
}

@media(max-width:768px) {
  .columns-block {
    display: block;
    margin: 0;
    box-shadow: none;
  }
  .main-col-block {
    width: 100%;
    position: relative;
    box-shadow: none;
  }
}

hr {
    width: 100%;
    max-width: 500px;   /* Limit max width on larger screens */
    height: 1px;        /* Thickness */
    background-color: var(--border-color); /* Visible color, adapts to theme */
    border: none;       /* Remove default border */
    margin: 1rem auto;  /* Center and vertical spacing */
}


.gray-bg { background-color: #fff; }

.section-wrapper {
  padding: 25px;
  border-bottom: 1px solid #eaeaea;
}
@media(max-width:480px) {
  .section-wrapper { padding: 30px 20px; }
}

.section-title { margin-bottom: 15px; }
.section-title h2 { margin-bottom: 5px; color: #000; }

.social-icons a {
  color: #0d6efd;
  margin-right: 12px;
  font-size: 1.25rem;
  text-decoration: none;
}

.expertise-item { margin-bottom: 20px; }
.expertise-item h3 { margin-bottom: 5px; font-weight: 700; }

.content-item { margin-bottom: 5px; }
.content-item h3 {
  margin: 0 0 10px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}
.content-item small { color: #000; }


.footer {
  text-align: center;
  padding: 1rem 0;
  background: #fff; /* optional */
  border-top: 1px solid #ddd; /* optional */
}

.copytext {
  font-size: 0.9rem;
  color: #000;
}

.card-container {
  max-width: 600px;
  margin: 20px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,.1);
  padding: 2rem;
}
.profile-img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}
.name { font-weight: 700; font-size: 1.3rem; }

.divider {
  border-left: 2px solid #000;
  margin: 0 1.5rem;
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: none; /* hidden initially */
}

.sticky-header .mobile-card img {
  width: 50px;
  height: 50px;
}

svg {
  width:12px; 
  height:12px;
}

.nav a {
  text-transform: lowercase;
}

.nav-link:hover {
  color: blue !important;
}




/* Dark mode = default */
:root {
    --bg-color: #1e1e2f;
    --text-color: #f0f0f0;
    --muted-color: #a0a0b0; 
    --card-bg: #2a2a3d;
    --link-color: #66b2ff;
    --link-hover: #3399ff;
    --border-color: #444;
}

/* Light mode override */
[data-theme="light"] {
    --bg-color: #ffffff;
    --text-color: #000000;
     --muted-color: #6c757d; 
    --card-bg: #ffffff;
    --link-color: #007BFF;
    --link-hover: #0056b3;
    --border-color: #3d3d50;
}

/* Apply variables */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

p, h1, h2, h3, h4, h5, h6, span, a, small, li, strong {
    color: var(--text-color) !important;
}

/* Links */
a, .nav-link {
    color: var(--link-color) !important;
}
a:hover, .nav-link:hover {
    color: var(--link-hover) !important;
}

/* Cards */
.card-container, .sticky-header, .footer, .main-col-block, .columns-block {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

/* Override Bootstrap's .text-muted and .text-dark */
.text-muted, small, .text-dark {
    color: var(--text-color) !important;
}

/* SVGs */
svg {
    color: var(--text-color);
    fill: currentColor;
}



/* Override inline colors and Bootstrap text-muted */
.text-muted, small {
    color: var(--text-color) !important;
}

a, .nav-link {
    color: var(--link-color) !important;
}

a:hover, .nav-link:hover {
    color: var(--link-hover) !important;
}

/* Horizontal rules */
hr {
    border-color: var(--border-color) !important;
}

.company {
    font-weight: 600;
    color: var(--text-color);
}

.role {
    font-weight: 400;
    color: var(--muted-color);
}




/* Sections like Certifications */
.section-wrapper, .gray-bg, .expertise-item {
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
}

/* Headings and paragraph inside sections */
.section-wrapper h2,
.expertise-item h3,
.expertise-item p {
    color: var(--text-color) !important;
}

/* Ensure all SVGs inherit text color in both modes */
svg {
    color: var(--text-color);
    fill: currentColor; /* Makes fill follow current text color */
}

/* If inside cards or special containers */
.card-container svg,
.mobile-card svg,
.section-wrapper svg,
.expertise-item svg {
    color: var(--text-color) !important;
    fill: currentColor !important;
}

/* Base button styles */
.theme-toggle {
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;

    /* Rounded circular shape */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;                /* Remove extra padding for perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Hover effect */
.theme-toggle:hover {
    background-color: var(--link-hover);
    color: var(--bg-color);
}

.footer, 
.footer * {
    color: var(--text-color) !important;
}


nav a.active {
    color: #0056b3 !important;  /* active page link color */
    /* font-weight: bold; optional */
}