/* ========================= */
/* Reset links and basic styling */
/* ========================= */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #0073e6;
}

/* ========================= */
/* Main Menu - Desktop */
/* ========================= */
.navmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navmenu ul li {
    position: relative;
    display: inline-block; /* horizontal menu */
}

.navmenu ul li a {
    display: inline-block;
    padding: 12px 18px;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Hover effect */
.navmenu ul li a:hover {
    color: #fff;
    background: linear-gradient(135deg, #ff3c3c, #ff7b00);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(255,60,60,0.4);
    transform: translateY(-2px);
}

/* Submenu - Desktop */
.navmenu ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #111;
    padding: 10px 0;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0px 8px 25px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    z-index: 999;
}

.navmenu ul ul li {
    display: block;
}

.navmenu ul ul li a {
    display: block;
    padding: 10px 18px;
    color: #eee;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.navmenu ul ul li a:hover {
    background: linear-gradient(135deg, #ff3c3c, #ff7b00);
    color: #fff;
    padding-left: 24px;
}

.navmenu ul li:hover > ul {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown arrow */
.menu-item-has-children > a::after {
    content: " ▼";
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* ========================= */
/* Mobile Menu (≤991px) */
/* ========================= */
.navmenu .mobile-nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #222;
}

@media (max-width: 991px) {
    .navmenu ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #111;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
        border-radius: 0 0 8px 8px;
        z-index: 999;
    }

    .navmenu ul li {
        display: block;
        width: 100%;
    }

    .navmenu ul li a {
        display: block;
        padding: 12px 18px;
        color: #fff;
        font-weight: 600;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: background 0.3s ease;
        text-decoration: none;
    }

    .navmenu ul li a:hover {
        background: linear-gradient(135deg, #e74c3c, #ff8c42);
        color: #fff;
    }

    .navmenu .mobile-nav-toggle {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: #fff;
    }

    .navmenu.active ul {
        display: flex;
    }

    /* Submenu mobile */
    .navmenu ul ul {
        display: none;
        position: static;
        background: #222;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .navmenu ul ul li a {
        padding-left: 35px;
        font-size: 15px;
        color: #ddd;
    }

    .navmenu ul ul li a:hover {
        background: linear-gradient(135deg, #e74c3c, #ff8c42);
        color: #fff;
    }

    .navmenu ul li.active > ul {
        display: block;
    }

    .menu-item-has-children > a::after {
        content: " ▼";
        float: right;
        margin-right: 15px;
        font-size: 0.8em;
    }
}

/* ========================= */
/* Archive / Blog Grid */
/* ========================= */
.archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.archive-header .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.archive-header .archive-description {
    font-size: 1.1rem;
    color: #666;
}

.archive-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.archive-posts article {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.archive-posts article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.entry-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.entry-title a {
    color: #222;
    text-decoration: none;
}

.entry-title a:hover {
    color: #0073e6;
}

.entry-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

.entry-meta span {
    margin-right: 10px;
}

.entry-summary {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.pagination a:hover,
.pagination .current {
    background: #0073e6;
    color: #fff;
    border-color: #0073e6;
}

@media (max-width: 768px) {
    .archive-posts {
        grid-template-columns: 1fr;
    }
}

/* ========================= */
/* Blog Details / Single Post */
/* ========================= */
.blog-details .container {
    /*max-width: 900px;*/
    /*margin: 0 auto;*/
    padding: 40px 20px;
}

.blog-details .post-img {
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.blog-details .single-post-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog-details .title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
    text-align: center;
}

.blog-details .meta-top ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin-bottom: 30px;
    color: #777;
    font-size: 0.9rem;
}

.blog-details .meta-top li i {
    margin-right: 5px;
    color: #0073e6;
}

.blog-details .content {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.blog-details .content blockquote {
    border-left: 4px solid #0073e6;
    padding-left: 15px;
    font-style: italic;
    margin: 20px 0;
}

.blog-details .meta-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.blog-details .meta-bottom ul {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.blog-details .meta-bottom li a {
    text-decoration: none;
    color: #0073e6;
}

.blog-details .meta-bottom i {
    margin-right: 5px;
    color: #0073e6;
}

@media (max-width: 768px) {
    .blog-details .meta-top ul {
        flex-direction: column;
        gap: 10px;
    }

    .blog-details .meta-bottom {
        flex-direction: column;
        gap: 10px;
    }
}



/* ========================= */
/* Post Date Badge / Category Badge */
/* ========================= */
.post-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff5e57;
    color: #fff;
    text-align: center;
    padding: 5px 8px;
    border-radius: 6px;
    font-family: 'Arial', sans-serif;
}

.post-date-badge .day {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}

.post-date-badge .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.post-category a.category-link {
    background: #f0f0f0;
    padding: 2px 8px;
    margin-left: 5px;
    border-radius: 5px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #333;
}

.post-category a.category-link:hover {
    background: #0073e6;
    color: #fff;
}




/* ========================= */
/* Blog Archive Grid Styling */
/* ========================= */
.blog-posts-2 .container {
  max-width: 1200px;
}

.blog-posts-2 article {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-posts-2 article:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Featured Image */
.blog-posts-2 .post-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.blog-posts-2 .post-img img {
  width: 100%;
  transition: transform 0.4s ease;
}

.blog-posts-2 article:hover .post-img img {
  transform: scale(1.05);
}

/* Date Badge on Image */
.blog-posts-2 .post-img .post-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff5e57;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.85rem;
  line-height: 1.2;
}

.blog-posts-2 .post-img .post-date span {
  display: block;
  line-height: 1;
}

.blog-posts-2 .post-img .post-date .day {
  font-size: 1.2rem;
}

.blog-posts-2 .post-img .post-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Post Meta (Author + Categories) */
.blog-posts-2 .meta {
  font-size: 0.9rem;
  color: #777;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #f1f1f1;
}

.blog-posts-2 .meta i {
  font-size: 0.9rem;
  color: #0073e6;
}

.blog-posts-2 .meta .author {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Categories after Author */
.blog-posts-2 .meta .categories {
  display: flex;
  gap: 5px;
}

.blog-posts-2 .meta .categories a {
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 5px;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-posts-2 .meta .categories a:hover {
  background: #0073e6;
  color: #fff;
}

/* Post Content */
.blog-posts-2 .post-content {
  padding: 18px;
  flex-grow: 1;
}

.blog-posts-2 .post-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-posts-2 .post-title a,
.blog-posts-2 .post-title {
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-posts-2 .post-title:hover {
  color: #0073e6;
}

/* Read More Link */
.blog-posts-2 .readmore {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  font-weight: 600;
  color: #0073e6;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-posts-2 .readmore:hover {
  color: #fff;
  background: linear-gradient(135deg, #ff3c3c, #ff7b00);
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(255, 60, 60, 0.4);
}

.blog-posts-2 .readmore i {
  margin-left: 6px;
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.blog-posts-2 .readmore:hover i {
  transform: translateX(3px);
}

/* ========================= */
/* Pagination Styling */
/* ========================= */
.blog-pagination .page-numbers {
  padding: 8px 15px;
  border: 1px solid #ddd;
  margin: 0 5px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: #0073e6;
  color: #fff;
  border-color: #0073e6;
}

/* ========================= */
/* Call to Action Section */
/* ========================= */
.call-to-action {
  padding: 60px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0073e6, #00b3ff);
  color: #fff;
  text-align: center;
}

.call-to-action h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.call-to-action p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.call-to-action .form-subscribe {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 10px;
}

.call-to-action input[type="email"] {
  flex: 1;
  padding: 12px 15px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

.call-to-action input[type="submit"] {
  background: #ff5e57;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  padding: 12px 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.call-to-action input[type="submit"]:hover {
  background: #e74c3c;
}

@media (max-width: 768px) {
  .call-to-action .form-subscribe {
    flex-direction: column;
  }
}

#hero {
  position: relative;
  min-height: 80vh; /* adjust height */
  display: flex;
  align-items: center;       /* vertical center */
  justify-content: center;   /* horizontal center */
  color: #fff;
  text-align: center;
}

#hero .hero-overlay {
  position: absolute;
  inset: 0; /* shorthand for top/right/bottom/left:0 */
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

#hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;         
  display: flex;
  flex-direction: column;
  align-items: center;      
  justify-content: center;   
}

#hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

#hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.navmenu ul li:last-child > ul {
    left: auto;
    right: 0; 
}

.fitso-logo{
  padding: 4px;
}

.navmenu ul li:last-child > a {
    padding-right: 18px; /* ensure last item has same right padding */
}

.about.section, 
.about.section * {
    opacity: 1 !important;
}

html:not(.no-js) [data-aos^="fade"],
html:not(.no-js) [data-aos^="fade"].aos-init,
html:not(.no-js) [data-aos^="fade"].aos-animate {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}


.post-img {
    height: 250px; /* fixed height for all images */
    overflow: hidden;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures image covers the area without distortion */
}

.post-content {
    flex-grow: 1; /* takes remaining space */
    display: flex;
    flex-direction: column;
}

.readmore {
    margin-top: auto; /* sticks at bottom */
    text-decoration: none;
    font-weight: 500;
    color: #0073e6;
}

.readmore i {
    transition: transform 0.3s;
}

.readmore:hover i {
    transform: translateX(4px);
}


/* Kill the theme's form border + background */
.search-widget form {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  position: relative !important;
}

/* Style input with its own border */
.search-widget form input[type=text],
.search-widget form input[type=search] {
  border: 1px solid #ccc !important;
  border-radius: 6px 0 0 6px !important;
  padding: 10px 14px !important;
  width: calc(100% - 100px) !important; /* leave space for button */
  background: #fff !important;
  color: #000 !important;
}

/* Style button flush with input */
.search-widget form button {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid #0073aa !important;
  border-left: none !important;
  border-radius: 0 6px 6px 0 !important;
  background: #0073aa !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: normal !important;
  cursor: pointer !important;
}

.search-widget form button:hover {
  background: #005f8d !important;
}






