body {
    font-family: 'LibreFranklin', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    margin: 0; /* ✅ Consistent alignment across all pages */
    min-height: 100vh;
    padding-bottom: 60px; /* from styles.css, to avoid overlap with nav arrows */
}

@font-face {
    font-family: 'LibreFranklin';
    src: url('../fonts/LibreFranklin-Regular.woff2') format('woff2'),
         url('../fonts/LibreFranklin-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LibreFranklin';
    src: url('../fonts/LibreFranklin-SemiBold.woff2') format('woff2'),
         url('../fonts/LibreFranklin-SemiBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}



.bold {
    font-weight: 700;
}



/*---------------------------------------
    Typorgraphy              
-----------------------------------------*/

h1,h2,h3,h4,h5,h6 {
  font-style: normal;
  font-weight: regular;
  letter-spacing: 0.5px;
}

h1 {
    font-size: 62px;
    padding-bottom: 14px;
    margin-bottom: 0px;
}

h2 {
  font-size: 26px;
  line-height: 34px;
}

h3 {
  font-size: 16px;
}

h4 {
  color: #000;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.2px;
  line-height: 28px;
}

p {
    color: #000;
    font-size: 15px;
    font-weight: regular;
    line-height: 26px;
    letter-spacing: 0.2px;
}

strong {
  font-weight: bold;
}

.btn-success:focus {
  background-color: #000;
  border-color: transparent;
}





/*---------------------------------------
    General               
-----------------------------------------*/



html{
  overflow-y: scroll;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #000;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}
a:hover, a:active, a:focus {
  color: #ed1b2f;
  outline: none;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#portfolio,
#about,
#resume,
#contact,
#single-project,
#blog-single-post {
  padding-top: 80px;
  padding-bottom: 120px;
}

.section-title {
  position: relative;
  padding-bottom: 62px;
  text-align: center;
}

.section-title h3 {
  color: #000;
  font-weight: bold;
  letter-spacing: 4px;
}


/*---------------------------------------
    Preloader section              
-----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.sk-spinner-wordpress.sk-spinner {
  background-color: #000;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  position: relative;
  -webkit-animation: sk-innerCircle 1s linear infinite;
  animation: sk-innerCircle 1s linear infinite; 
}

.sk-spinner-wordpress .sk-inner-circle {
  display: block;
  background-color: #ffffff;
  width: 16px;
  height: 16px;
  position: absolute;
  border-radius: 8px;
  top: 5px;
  left: 5px; 
}

@-webkit-keyframes sk-innerCircle {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0); }

  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@keyframes sk-innerCircle {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0); }

  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }


/*---------------------------------------
    Main Navigation             
-----------------------------------------*/

.navbar-default {
    background: #ffffff;
    padding: 18px 0;
    border: none;
    margin-top: 62px;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    border-color: transparent;
}

.navbar-default .navbar-brand {
    padding-top: 6px;
}

.navbar-default .navbar-brand .fa {
    color: #000;
    font-size: 42px;
}

/* Logo wrapper */
.navbar-logo {
    text-align: left;
    padding-top: 10px;
}

/* Nav links wrapper */
.navbar-links {
    padding-top: 10px;
    text-align: left;
}

/* Individual links */
.navbar-links a {
    display: inline-block;
    margin-right: 8px;
    padding: 0 0px;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    font-family: 'LibreFranklin', Arial, sans-serif;
    transition: all 0.4s ease-in-out;
}

/* Hover and active states */
.navbar-links a:hover,
.navbar-links .active,
.navbar-links .active a {
    color: #ed1b2f !important;
    background-color: transparent;
    text-decoration: none;
}

/* Mobile layout: stack links */
@media (max-width: 768px) {
    .navbar-links {
        padding-top: 10px;
    }

.navbar-links a {
    display: inline-block;
    margin-right: 8px; /* reduced from 22px */
    font-size: 16px;
    color: #000;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

}

/* Hide hamburger button */
.navbar-default .navbar-toggle {
    border: none;
    padding-top: 10px;
    display: none;
}

.navbar-default .navbar-toggle .icon-bar {
    background: #000;
    border-color: transparent;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: transparent;
}


/*---------------------------------------
    Home section              
-----------------------------------------*/

#home {
    background-size: cover;
    background-position: center center;
    display: -webkit-box;
    display: -webkit-flex;
     display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
     align-items: center;
    position: relative;
    text-align: center;
    padding-top: 0px;
    padding-bottom: 0px;
}

#home hr {
  width: 82px;
  margin-top: 0px;
}



/*---------------------------------------
   About section              
-----------------------------------------*/

#about .text-center {
  padding-bottom: 42px;
}

#about .col-md-8 {
  padding-left: 0px;
}

#about .col-md-8 img {
  padding-right: 22px;
  padding-bottom: 22px;
}

#about hr {
  width: 100px;
  margin-top: 42px;
  margin-bottom: 42px;
}

#about ul {
  padding-left: 22px;
}

#about ul li {
  color: #000;
  font-size: 16px;
  font-weight: bold;
  padding-top: 2px;
  padding-bottom: 2px;
}



/*---------------------------------------
   Portfolio section              
-----------------------------------------*/

#portfolio small {
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: capitalize;
}

#portfolio .portfolio-thumb {
  position: relative;
  padding: 0;
  margin-top: 32px;
}

#portfolio .portfolio-thumb .portfolio-overlay {
  position: absolute;
  background: #ffffff;
  color: #2e2e2e;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: top;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

#portfolio .portfolio-item {
    position: absolute;
    top:50%;
    left: 50%;
    -webkit-transform:translate(-50%,-50%);
      -ms-transform:translate(-50%,-50%);
          transform:translate(-50%,-50%);
}

#portfolio .portfolio-thumb:hover .portfolio-overlay {
  opacity: 0.9;
}

#portfolio .text-center {
  padding-top: 62px;
}



/*---------------------------------------
   Single Project section              
-----------------------------------------*/

#single-project {
  text-align: center;
}

#single-project .col-md-12,
#single-project .col-md-6,
#single-project .col-md-4 {
  padding-left: 0px;
  padding-bottom: 22px;
}

#single-project .col-md-12 {
  padding-top: 42px;
}

#single-project .text-center strong {
  display: block;
  padding-top: 12px;
}

#single-project a {
  color: #000;
  font-weight: bold;
  letter-spacing: 1px;
  padding-left: 14px;
}



/*---------------------------------------
   Contact section              
-----------------------------------------*/

#contact .col-md-6,
#contact .col-md-12 {
  padding-left: 0px;
}

#contact .form-control {
  border: 1px solid #2e2e2e;
  box-shadow: none;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: all 0.4s ease-in-out;
}

#contact .form-control:hover {
  border-color: #000;
}

#contact input,
#contact select {
  height: 50px;
}

#contact input[type="submit"] {
  background: #000;
  border-radius: 100px;
  border: none;
  color: #ffffff;
  font-weight: bold;
  transition: all 0.4s ease-in-out;
}

#contact input[type="submit"]:hover {
  background: #000;
}



/*---------------------------------------
   Blog section              
-----------------------------------------*/

.blog-post-thumb {
  border-bottom: 1px solid #ffffff;
  padding-top: 32px;
  padding-bottom: 62px;
  margin-bottom: 32px;
}

.blog-post-thumb:last-child {
  border-bottom: 0px;
  padding-bottom: 32px;
  margin-bottom: 0px;
}

.blog-post-image {
  padding-bottom: 18px;
  width: 100%;
}

.blog-post-title a {
  color: #000;
}

.blog-post-title a:hover {
  color: #000;
}

.blog-post-format {
  padding-bottom: 22px;
}

.blog-post-format span {
  letter-spacing: 0.5px;
  padding-right: 12px;
}

.blog-post-format span a {
  color: #000;
}

.blog-post-format span img {
  display: inline-block;
  width: 42px;
  margin-right: 4px;
}

.blog-post-des blockquote {
  margin: 22px;
}

.blog-post-des .btn {
  border-radius: 100px;
  color: #000;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 14px 28px;
  margin-top: 26px;
  transition: all 0.4s ease-in-out;
}

.blog-post-des .btn:hover {
  background: #000;
  border-color: transparent;
  color: #ffffff;
}

.blog-author {
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  padding-top: 32px;
  padding-bottom: 32px;
  margin-top: 42px;
  margin-bottom: 42px;
}

.blog-author .media img {
  display: inline-block;
  width: 90px;
  margin-right: 12px;
}

.blog-author .media a,
.blog-comment .media h3 {
  color: #444;
  font-size: 18px;
  letter-spacing: 1px;
}

.blog-comment {
  border-bottom: 1px solid #ffffff;
  padding-bottom: 32px;
  margin-bottom: 42px;
}

.blog-comment .media:nth-child(3) {
  padding-top: 18px;
}

.blog-comment .media img {
  width: 80px;
  margin-right: 12px;
}

.blog-comment .media h3 {
  display: inline-block;
  padding-right: 14px;
}

.blog-comment h3,
.blog-comment-form h3 {
  padding-bottom: 18px;
}

.blog-comment-form .col-md-4 {
  padding-left: 0px;
}

.blog-comment-form .form-control {
  box-shadow: none;
  border: 1px solid #ffffff;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: all 0.4s ease-in-out;
}

.blog-comment-form .form-control:hover {
  border-color: #000;
}

.blog-comment-form input {
  height: 45px;
}

.blog-comment-form input[type="submit"] {
  background: #222;
  border-radius: 100px;
  border: none;
  color: #ffffff;
  font-weight: bold;
  transition: all 0.4s ease-in-out;
}

.blog-comment-form input[type="submit"]:hover {
  background: #000;
  border-color: transparent;
}



/*---------------------------------------
   Blog Single Post section              
-----------------------------------------*/

#blog-single-post .blog-post-des h3 {
  padding-top: 16px;
}



/*---------------------------------------
   Footer section              
-----------------------------------------*/

footer {
    border-top: 1px solid #ffffff;
    padding: 100px 0px;
    position: relative;
}

footer .col-md-3 .fa {
  font-size: 42px;
}

footer a {
  color: #000;
}

footer hr {
  border-color: #ffffff;
  margin-top: 42px;
  margin-bottom: 22px;
}

footer .footer-copyright {
  padding-top: 16px;
}


/*---------------------------------------
   Social icon             
-----------------------------------------*/

.social-icon {
    position: relative;
    padding: 0;
    margin: 0;
    text-align: center;
}

.social-icon li {
    display: inline-block;
    list-style: none;
}

.social-icon li a {
    color: #000;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    text-align: center;
    vertical-align: middle;
    position: relative;
    margin: 22px 12px 10px 12px;
}

.social-icon li a:hover {
    color: #000;
    transform: scale(1.1);
}



/*---------------------------------------
   Mobile Responsive         
-----------------------------------------*/


@media (max-width: 767px) {

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 26px;
    line-height: 48px;
  }

  h3 {
    font-size: 22px;
  }

  .section-title h2 {
    font-size: 22px;
    line-height: 35px;
  }

  .navbar-default {
    margin-top: 0px;
    text-align: center;
  }

  #about .col-md-8 img {
    padding-right: 0px;
  }

  #blog-single-post .blog-post-title h2 {
    font-size: 29px;
    line-height: 40px;
  }

  footer {
    text-align: center;
  }

  footer .col-md-4 {
    padding-top: 42px;
  }

}


/* styles.css */

/* Prevent content from being hidden under fixed nav */


/* Main content area */
.content {
  padding: 20px;
}

/* Navigation bar */
.arrow-nav-bar {
  position: relative;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 0px;
}

/* Minimal arrow style */
.arrow-nav {
  font-size: 2em;
  text-decoration: none;
  color: #000;
  margin: 0 30px;
  transition: color 0.3s;
}

/* Hover color */
.arrow-nav:hover {
  color: #ed1b2f;
}

input[type="submit"] {
  background-color: #000;
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #ed1b2f; !important;
  cursor: pointer;
}
