@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

:root {
  /* === Scandinavian Minimal === */
  --color-bg: #F9F9F8;            /* soft off-white background */
  --color-surface: #FFFFFF;       /* pure white for cards, nav, etc. */
  --color-text: #1E1E1E;          /* soft black text */
  --color-subtext: #5C5C5C;       /* muted grey for secondary text */
  --color-border: #DADADA;        /* light neutral border */
  --color-accent: #C69C6D;        /* warm beige / light bronze accent */
  --color-accent-hover: #B58B5E;  /* slightly darker on hover */
  --color-muted: #9AA0A6;         /* subtle grey for dividers, meta text */

  /* Inverse surfaces (for footer/dark strips) */
  --color-surface-dark: #232323;
  --color-surface-darker: #191919;
  --color-text-inverse: #FFFFFF;
  --color-subtext-inverse: #CCCCCC;

  /* Buttons */
  --color-button-bg: var(--color-accent);
  --color-button-text: #FFFFFF;
  --color-button-hover: var(--color-accent-hover);

  /* Typography */
  --font-family-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-heading: "Inter", sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 0.9rem;
  --font-size-lg: 1.125rem;
  --font-size-heading: 1.8rem;
  --font-weight-regular: 400;
  --font-weight-bold: 600;

  /* Layout */
  --radius: 8px;
  --spacing: 1rem;
}

html { font-size: 100%; }

body {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6em;
  padding: 0;
}

.topspace { margin-top: 10px; margin-bottom: 30px; }

/*********************************************************************
                            Navigation in header
**********************************************************************/
.navbar {
  border-width: 1px 0;
  border-radius: 0;
  background-clip: padding-box;
  width: 100%;
}

.navbar.stick { position: fixed; top: 0; left: 0; opacity: .85; }

.navbar-collapse {
  border-radius: 0;
  background-clip: padding-box;
  font-family: var(--font-family-base);
  font-weight: 300;
  text-transform: uppercase;
}

.navbar-collapse .navbar-nav { float: none; margin: 0 auto; text-align: center; }
.navbar-collapse .navbar-nav > li { float: none; display: inline-block; }
.navbar-collapse .navbar-nav > li > a { padding: 20px 30px; }

.dropdown ul.dropdown-menu { top: 85%; text-align: left; }
.dropdown ul.dropdown-menu > li > a { padding: 5px 30px; }

.navbar-default {
  background-color: var(--color-surface);
  border-color: var(--color-border);
}

.navbar-default .navbar-nav > li > a { color: var(--color-subtext); }

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: var(--color-text);
  background-color: var(--color-surface);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: var(--color-text);
  background-color: var(--color-surface);
}

.navbar-default .dropdown ul.dropdown-menu > li > a { color: var(--color-subtext); }

.navbar-default .dropdown ul.dropdown-menu > li > a:hover {
  background-color: var(--color-bg);
  color: var(--color-text);
}

.navbar-default .navbar-toggle { border-color: var(--color-subtext); }

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background-color: var(--color-surface); }

.navbar-default .navbar-toggle .icon-bar { background-color: var(--color-text); }

.navbar-default .navbar-collapse,
.navbar-default .navbar-form { border-color: var(--color-border); }

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: var(--color-surface);
  color: var(--color-text);
}

/*********************************************************************
                                TYPOGRAPHY
**********************************************************************/
p { line-height: 1.6em; margin: 0 0 30px 0; }
ul, ol { line-height: 1.6em; margin: 0 0 30px 0; }

blockquote {
  padding: 10px 20px;
  margin: 0 0 30px;
  border-left: 5px solid var(--color-border);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

a { color: var(--color-accent); }
a:hover { color: var(--color-accent-hover); }

.lead { font-weight: 300; font-size: 1.3125rem; }

.about-me {
  font-family: var(--font-family-base);
  font-weight: 200;
  font-size: 17px;
}

.text-msg {
  line-height: 1.7em;
  color: var(--color-text);
  font-weight: var(--font-weight-regular);
  text-transform: capitalize;
  margin-top: -0.23em;
}

.size-auto, .size-full, .size-large, .size-medium, .size-thumbnail {
  max-width: 100%; height: auto;
}

/*********************************************************************
                                HEADER
**********************************************************************/
/* #head {
  background: var(--color-bg) url(../images/bg_head.jpg) top center;
  background-size: cover;
  color: var(--color-subtext);
  padding: 30px 0 35px 0;
} */

#head img.img-circle {
  display: block; width: 180px; height: 180px; overflow: hidden;
  border: 9px solid rgba(0, 0, 0, 0.05);
  margin: 0 auto; border-radius: 50%;
}

#head .title { font-family: var(--font-family-heading); font-size: 3.0625rem; }
#head .title a { text-decoration: none; color: var(--color-text); }

#head .tagline {
  display: block; font-size: 0.875rem; line-height: 1.2em;
  color: var(--color-subtext); margin: 5px 0 0;
}

#head .tagline b { font-weight: normal; }
#head .tagline a { color: var(--color-subtext); }

.home #head { padding: 25px 0; }
.home #head .title { font-size: 3.0625rem; }
.home #head .tagline { font-size: 1rem; margin: 15px 0 0; }

/*********************************************************************
                                CONTENT
**********************************************************************/
img { max-width: 100%; }

.btn {
  font-size: 0.75rem;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-family-base);
  color: var(--color-text);
  border-radius: 0;
  transition: all 0.2s;
  border: 0 none;
  padding: 12px 35px;
}

.btn-primary {
  color: var(--color-button-text);
  background-color: var(--color-button-bg);
}

.btn-outline-secondary {
  color: var(--color-accent);
  border-color: #999;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  color: var(--color-button-text);
  background-color: var(--color-button-hover);
}

.btn-action {
  font-weight: bold;
  background: transparent!important;
  border: 1px solid var(--color-text);
}

.btn-action:hover,
.btn-action:focus,
.btn-action:active,
.btn-action.active {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-lg { padding: 15px 60px; font-size: 12px; line-height: 1.33; font-weight: bold; }

.panel-cta {
  box-shadow: 0 0 0 1px var(--color-border), 0 0 0 3px var(--color-surface), 0 0 0 4px var(--color-border);
  background: #f3f3f3; /* subtle surface tint */
  border-radius: 0;
}

.panel-cta p, .panel-cta h3, .panel-cta h4, .panel-cta h5, .panel-cta h6 { margin: 0; }
.panel-cta .panel-body { padding: 35px; }

/* Section - Featured */
.featured { font-size: 0.8125rem; }
.featured h3 {
  font-weight: bold;
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.4em;
  margin: 0 0 25px 0;
}

/* Section - Recent works */
.thumbnails { padding: 0; }
.thumbnails li { margin-bottom: 30px; }
.thumbnails .details { display: block; text-align: center; font-size: 0.75rem; }

.thumbnail {
  display: block; border-radius: 0; border: 0 none; margin-bottom: 10px; padding: 0;
  text-align: center; text-decoration: none; color: var(--color-text);
}

.thumbnail .img {
  display: block; width: 100%; overflow: hidden; height: 180px; margin: 0 0 20px; position: relative;
}

.thumbnail .title { text-transform: uppercase; margin: 0 2em; display: block; }

.thumbnail .cover {
  position: absolute; display: block; opacity: 0; width: 100%; height: 180px;
  background-color: rgba(255, 255, 255, 0.8); transition: all 550ms;
}

.thumbnail .cover .more {
  position: absolute; bottom: 15px; right: 0; height: 32px; line-height: 32px; padding: 0 20px;
  border-radius: 1px 0 0 1px; font-size: 0.75rem; text-transform: uppercase;
  background: var(--color-accent); color: var(--color-button-text);
}

.thumbnail img { width: 100%; position: absolute; top: 0; left: 0; }

.thumbnail:hover { color: var(--color-text); text-decoration: none; }
.thumbnail:hover img { filter: saturate(0%); }
.thumbnail:hover .cover { opacity: 1; }

/* pagination */
.pagination > li > a {
  color: var(--color-subtext);
  border: 0 none;
  font-size: 1.25rem;
  font-family: Georgia, serif;
}

.pagination > li > a:hover { color: var(--color-text); background: none; }
.pagination > li.active > a { color: var(--color-text); background: none; }
.pagination > li.active > a:hover { color: var(--color-text); background: none; }

/* chips */
.chiprow {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1rem;
}

.chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-subtext);
  transition: all 0.2s ease;
}

/* .chip:hover { background-color: var(--color-bg); transform: translateY(-1px); } */

/* Reveal only for dynamically-added cards */
.card.reveal { 
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease;
}
.card.reveal.in {
  opacity: 1;
  transform: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .card.reveal { transition: none; }
}

.projects-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 992px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
}
/* Small hover lift (keep your existing .card-hover if you like) */
.projects-grid .card { transition: transform .15s ease, box-shadow .15s ease; }
.projects-grid .card:hover { transform: translateY(-3px); }

/* glide */
.glide__slides { display: flex; gap: 2rem; padding-bottom: 2rem; }
.glide__slide { display: flex; justify-content: center; align-items: stretch; padding: 1rem 0; }

.card {
  width: 100%; max-width: 350px; margin: 0 auto; border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: none;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column; min-height: 390px;
}

.card-projects {
  min-height: 250px; /* or whatever new value you want */
}

.card, .card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.18); transform: translateY(-4px) scale(1.03); }

.card-body { display: flex; flex-direction: column; height: 100%; }
.card-body { flex: 1 1 auto; }

.card-text {
  font-size: 0.85rem;
  color: var(--color-subtext);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
  text-align-last: left;
}

.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.card-subtitle { font-size: 0.95rem; color: var(--color-subtext); margin-bottom: 1rem; }

.card-link {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 500;
  margin-top: auto; display: inline-block;
}

.glide__arrow {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 1.5rem;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  margin: 0 0.5rem;
}

.glide__arrow:hover {
  background: var(--color-accent);
  color: var(--color-button-text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.glide__bullets { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }

.glide__bullet {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--color-border); border: none; transition: background 0.2s; cursor: pointer;
}
.glide__bullet:focus { outline: 2px solid var(--color-accent); }
.glide__bullet--active { background: var(--color-accent); }

/* Responsive tweaks */
@media (max-width: 576px) {
  .card-body { padding: 1rem; }
  .card { max-width: 95vw; }
  .glide__slides { gap: 1rem; }
}

/*********************************************************************
                                 BLOG
**********************************************************************/
.section-title, .entry-title {
  display: block; width: 100%; overflow: hidden;
  margin: 0px 0 25px; text-align: center;
  font-weight: 300; text-transform: uppercase;
  font-size: 2.25rem; letter-spacing: 1px;
}

.section-title a, .entry-title a { color: var(--color-text); }

.section-title span, .entry-title span { display: inline-block; position: relative; }

.section-title span:before, .entry-title span:before,
.section-title span:after, .entry-title span:after {
  content: ""; position: absolute; height: 4px; top: .53em; width: 400%;
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
}

.section-title span:before, .entry-title span:before { right: 100%; margin-right: 45px; }
.section-title span:after, .entry-title span:after { left: 100%; margin-left: 45px; }

.entry-header .entry-meta {
  text-align: center;
  font-family: Georgia, serif;
  font-size: 1.125rem;
  font-style: italic;
  font-weight: normal;
  color: var(--color-muted);
  margin: 0 0 15px 0;
}

.entry-header .entry-meta a { color: var(--color-muted); }

.entry-content { margin: 0 0 60px 0; }

.entry-content h2 {
  line-height: 1.2; font-size: 1.875rem; padding-top: 20px; margin-bottom: 20px;
}

.meta-nav, .more-link {
  font-family: Georgia, serif; font-style: italic; font-weight: bold;
  color: var(--color-subtext); text-decoration: none;
}

.meta-nav:hover, .more-link:hover { color: var(--color-text); text-decoration: underline; }

.more-link { display: block; width: 100%; text-align: right; }

/* Posts navigation */
#nav-below { position: fixed; top: 48%; }

#nav-below .meta-nav {
  display: block; padding: 27px 7px;
  background: var(--color-subtext); color: var(--color-button-text);
  border-radius: 3px; font-family: var(--font-family-base);
  font-style: normal; font-weight: normal; text-decoration: none; opacity: 0.2;
}

#nav-below .meta-nav:hover { text-decoration: none; color: var(--color-text); }

#nav-below .nav-next { position: fixed; right: -3px; }
#nav-below .nav-previous { position: fixed; left: -3px; }

#nav-below b { display: none; }

footer.entry-meta {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 0 0 35px 0; padding: 2px 0;
  color: var(--color-subtext);
  font-size: 0.75rem;
}

footer.entry-meta a { color: var(--color-text); }

footer.entry-meta .meta-in {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}

.page-header { padding-bottom: 0; margin: 0; border-bottom: none; text-align: left; }
.page-header .page-title { margin-top: 0; margin-bottom: 30px; }

/*********************************************************************
                                COMMENTS
**********************************************************************/
#comments { font-size: 0.8125rem; }
#comments .comments-title { margin: 0 0 5px 0; }
#comments .leave-comment { display: block; margin: 0 0 40px 0; }
#comments ul, #comments ol { margin: 0; padding: 0; }
#comments .comment { margin: 0; padding: 0; list-style: none; clear: both; }
#comments .comments-title { text-shadow: none; margin-bottom: 0; }

#comments .avatar {
  float: left; width: 70px; height: 70px; margin-bottom: 30px;
  border: 5px solid var(--color-border); border-radius: 50%;
}

#comments .children { margin: 0 0 0 90px; }
#comments .comment-meta { margin: 0 0 0 90px; }
#comments .comment-meta a { color: var(--color-text); }
#comments .comment-meta a:hover { color: var(--color-accent); }
#comments .comment-meta .author { margin: 0 20px 0 0; font-weight: bold; }
#comments .comment-meta .date { margin: 0 20px 0 0; }
#comments .comment-meta .date a { color: var(--color-subtext); }
#comments .comment-meta .reply { float: right; }
#comments .comment-body { margin: 0 0 35px 90px; }

.comment-navigation { width: 100%; border-top: 1px solid var(--color-border); padding: 2px 0 0 0; }
.comment-navigation .nav-content { border-top: 1px solid var(--color-border); width: 100%; padding: 10px 0 0 0; }
.comment-navigation .nav-previous { float: left; width: 50%; }
.comment-navigation .nav-next { float: right; width: 50%; text-align: right; }

#respond { margin: 55px 0 0 0; }

/*********************************************************************
                                FOOTER
**********************************************************************/
#footer {
  background: var(--color-surface-dark);
  padding: 30px 0 0 0;
  font-size: 12px;
  color: var(--color-subtext-inverse);
}

#footer a { color: var(--color-subtext-inverse); }
#footer a:hover { color: var(--color-text-inverse); }

#footer h3.widget-title {
  font-size: 0.9375rem; text-transform: uppercase;
  color: var(--color-subtext-inverse); margin: 0 0 20px;
}

#underfooter {
  background: var(--color-surface-darker);
  padding: 15px 0;
  color: #777; /* slight contrast on darker strip */
  font-size: 12px;
}

#underfooter a { color: #aaa; }
#underfooter a:hover { color: var(--color-text-inverse); }
#underfooter p { margin: 0; }

.follow-me-icons { font-size: 30px; }
.follow-me-icons i { float: left; margin: 0 10px 0 0; }

/* Max page width */
@media (min-width: 1200px) {
  .container { max-width: 1080px; }
}

/* Contact Form Styling */
.contact-form-wrapper {
  max-width: 600px; margin: 0 auto; padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form-wrapper h3 {
  color: var(--color-text);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-form .form-floating > .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  color: var(--color-text);
}

.contact-form .form-floating > .form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(198, 156, 109, 0.15);
  background: var(--color-surface);
}

.contact-form .form-floating > label {
  color: var(--color-subtext);
  font-weight: 500;
}

.contact-form .btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(198, 156, 109, 0.3);
  color: var(--color-button-text);
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 156, 109, 0.4);
  background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
}

.contact-form .btn-primary:active { transform: translateY(0); }

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-form-wrapper { padding: 1.5rem; margin: 1rem; }
  .contact-form-wrapper h3 { font-size: 1.3rem; }
  .contact-form .btn-lg { width: 100%; }
}

/* Dark mode support (respect system preference) */
/* @media (prefers-color-scheme: dark) {
  .contact-form-wrapper {
    background: rgba(33, 37, 41, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .contact-form-wrapper h3 { color: var(--color-text-inverse); }

  .contact-form .form-floating > .form-control {
    background: rgba(52, 58, 64, 0.9);
    border-color: #495057;
    color: var(--color-text-inverse);
  }

  .contact-form .form-floating > .form-control:focus {
    background: #495057;
    border-color: var(--color-accent);
    color: var(--color-text-inverse);
  }

  .contact-form .form-floating > label { color: #adb5bd; }
} */

.post-image { border-radius: 12px; display: block; object-fit: cover; }

.my-approach-list {
  list-style-position: inside;
  padding-left: 1.5rem;   /* moves both bullet + text together */
  margin: 0;  
}
.my-approach-list li {
  margin-bottom: 0.75rem;
  font-size: 15px; 
  text-align: justify;
  padding-left: 1.5rem
}

