/*
Theme Name: Masheed Oman
Theme URI: https://wordpress.org/themes/masheed/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 4.5
Tested up to: 6.9
Requires at least: 3.6
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, footer-widgets, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready, block-patterns
Text Domain: masheed

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 *   4.1 - Site Header
 *   4.2 - Navigation
 * 5.0 - Content
 *   5.1 - Entry Header
 *   5.2 - Entry Meta
 *   5.3 - Entry Content
 *   5.4 - Galleries
 *   5.5 - Post Formats
 *   5.6 - Attachments
 *   5.7 - Post/Paging Navigation
 *   5.8 - Author Bio
 *   5.9 - Archives
 *   5.10 - Search Results/No posts
 *   5.11 - 404
 *   5.12 - Comments
 *   5.13 - Multisite
 * 6.0 - Sidebar
 *   6.1 - Widgets
 * 7.0 - Footer
 * 8.0 - Media Queries
 * 9.0 - Print
 * ----------------------------------------------------------------------------
 */


/**
 * 1.0 Reset
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
 */

.breadcrumb-container.theme1 a{
	font-size:15px !important;
	line-height :0 !important;
	padding:0px !important;
}
.breadcrumb-container.theme1 ol{
	padding-left:0px !important;
}
header .mainSection .wrapper .nav ul li.current_page_item a{
	color:var(--clr-primary-500) !important;
}
header#topHead.background .nav ul li.current_page_item a a {
	color:var(--clr-primary-500) !important;
}

    .cert-section {
      padding: 100px 0 120px;
      background: #fdfdfe;
      position: relative;
    }

    /* Subtle Dot Grid Background */
    .cert-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(#d1d1e0 1px, transparent 1px);
      background-size: 32px 32px;
      opacity: 0.4;
      pointer-events: none;
    }

   
    /* Section Heading Refinement */
    .cert-section-heading {
      text-align: center;
      margin-bottom: 70px;
      position: relative;
      z-index: 2;
    }

    .cert-section-heading h2 {
      color: #0c0b24;
      font-family: var(--ff-primary-bold, sans-serif);
      font-size: clamp(2rem, 4vw, 3rem);
      margin-bottom: 20px;
      letter-spacing: -1px;
    }

    .cert-section-heading p {
      color: #6c757d;
      font-size: 17px;
      max-width: 650px;
      margin: 0 auto;
      line-height: 1.6;
    }

    .cert-section-heading .heading-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #fff;
      border: 1px solid rgba(51, 46, 132, 0.15);
      color: var(--clr-primary-500, #332e84);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 2px;
      text-transform: uppercase;
      padding: 8px 20px;
      border-radius: 50px;
      margin-bottom: 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    }

    /* ===== PREMIUM CARD ===== */
    .cert-card {
      position: relative;
      
      overflow: hidden;
      height: 400px;
      cursor: pointer;
      background: #fff;
      border: 5px solid rgba(0,0,0,0.1);
      box-shadow: 0 15px 35px rgba(0,0,0,0.04);
      transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    }

    .cert-card:hover {
      transform: translateY(-12px) scale(1.02);
      box-shadow: 0 40px 80px rgba(51, 46, 132, 0.12);
      border-color: rgba(51, 46, 132, 0.1);
    }

    /* Background image with high-end transition */
    .cert-img-bg {
      position: absolute;
      inset: 0;
      background-size: contain;
    background-repeat: no-repeat;
    background-color: #eee;
      background-position: center center;
      transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
      z-index: 0;
    }

    .cert-card:hover .cert-img-bg {
      transform: scale(1.1);
    }

    /* Sophisticated Tint */
    .cert-tint {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 60%,
        rgba(255,255,255,0.7) 100%
      );
      z-index: 1;
    }

    /* Floating Category Badge */
    .cert-cat-badge {
      position: absolute;
      top: 24px;
      left: 24px;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(10px);
      border: 1px solid #fff;
      color: #1a1a2e;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 7px 16px;
      border-radius: 50px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
    }

    .cert-cat-badge i {
      color: #d4af37; /* Gold accent for the checkmark */
      font-size: 13px;
    }

    .cert-card:hover .cert-cat-badge {
      background: var(--clr-primary-500, #332e84);
      color: #fff;
      transform: translateX(5px);
    }

    /* Reveal Panel – SLEEK CENTERED OVERLAY */
    .cert-reveal {
      position: absolute;
      inset: 0;
      z-index: 3;
      padding: 30px;
      background: rgba(51, 46, 132, 0.8); /* Elegant dark glass overlay */
      backdrop-filter: blur(10px) saturate(160%);
      -webkit-backdrop-filter: blur(10px) saturate(160%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
      
    }

    .cert-card:hover .cert-reveal {
      opacity: 1;
    }

    .cert-reveal-peek {
      margin-bottom: 24px;
      text-align: center;
      transform: translateY(20px);
      transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1) 0.05s;
    }

    .cert-card:hover .cert-reveal-peek {
      transform: translateY(0);
    }

    .cert-type-tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: #fff;
      background: rgba(255,255,255,0.12);
      padding: 6px 18px;
      border-radius: 50px;
      border: 1px solid rgba(255,255,255,0.25);
    }

    .cert-name {
      font-size: 15px;
      font-weight: 700;
      color: #0c0b24;
      line-height: 1.4;
      margin: 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Reveal Actions */
    .cert-reveal-actions {
      display: flex;
      gap: 12px;
      transform: translateY(15px);
      transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1) 0.15s;
    }

    .cert-card:hover .cert-reveal-actions {
      transform: translateY(0);
    }

    /* Modern Pill Buttons */
    .btn-view {
      min-width: 150px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 28px;
      background: #fff;
      color: #0c0b24;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 1.5px;
      text-transform: uppercase;
     
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .btn-view:hover {
      background: var(--clr-primary-500, #332e84);
      color: #fff;
      transform: scale(1.05);
      box-shadow: 0 15px 35px rgba(51, 46, 132, 0.4);
    }

    .btn-download {
      width: 48px;
      height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #f8f9fa;
      border: 1px solid rgba(0,0,0,0.06);
      color: #0c0b24;
      border-radius: 50%;
      font-size: 18px;
      text-decoration: none;
      transition: all 0.3s ease;
      flex-shrink: 0;
    }

    .btn-download:hover {
      background: #fff;
      color: var(--clr-primary-500, #332e84);
      border-color: var(--clr-primary-500, #332e84);
      transform: rotate(15deg) scale(1.1);
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    @media (max-width: 1199px) {
      .cert-card { height: 360px; }
    }

    @media (max-width: 768px) {
      .cert-reveal { 
        transform: translateY(0);
        bottom: 8px; left: 8px; right: 8px;
        padding: 16px;
      }
      .cert-reveal-actions { opacity: 1; transform: none; }
      .cert-reveal-peek { margin-bottom: 12px; }
    }

}