/*!
Theme Name: Techco
Theme URI: https://wp.xpressbuddy.com/techco/
Author: XpressBuddy
Author URI: https://xpressbuddy.com/
Description: Techco is a WordPress theme for IT Solutions & Business company
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techco
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@font-face {
    font-family: 'Axiforma Regular';
    src: url('https://yourwebsite.com/wp-content/uploads/2025/03/axiforma-regular.woff2') format('woff2'),
         url('https://yourwebsite.com/wp-content/uploads/2025/03/axiforma-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Apply font to all elements */
body, h1, h2, h3, h4, h5, h6, p, {
    font-family: 'Axiforma Regular', sans-serif;
}
/* ✅ Apply Font Globally */
/* body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, textarea, select, label, strong, em, b, i, th, td, li, ul, ol {
    font-family: 'Axiforma Regular', sans-serif !important;
} */
/* Or apply font to specific elements */
/* .mega-custom-icon {
    font-family: 'Axiforma Regular', sans-serif;
} */
.elementor-widget-heading h2, 
.elementor-widget-text-editor p, 
.elementor-button {
    font-family: 'Axiforma Regular', sans-serif;
}
.fa-arrow-up-right::before {
    content: "\e09f";
    display:none !important;
}



/* Tab Filter Styles */
.event-tab-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.event-tab {
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #f0f0f0;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.event-tab:hover {
    background-color: #0044eb;
    color: #fff;
}

.active-tab {
    background-color: #0044eb;
    color: #fff;
}

/* Grid Container */
.custom-events-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile default: 1 column */
    gap: 25px;
    padding: 0 10px;
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .custom-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 3 columns */
@media (min-width: 1024px) {
    .custom-events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Event Card */
.event-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-thumb {
    width: 100%;
    height: 200px; /* or any height you prefer */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures image covers area proportionally */
    border-radius: 8px;
}

.event-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #0073aa;
}

.event-title a {
    text-decoration: none;
    color: inherit;
}

.event-excerpt {
    font-size: 0.95rem;
    color: #555;
}


/* 18-05-2025 Start Code Here */
/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Modal Box */
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}


#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item.mega-toggle-on > a.mega-menu-link, #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover{
    background: #e3f0ff !important;
}
#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover{
   background: #e3f0ff !important; 
}
/*#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link{
    background: #e3f0ff !important;
}
#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item.mega-toggle-on > a.mega-menu-link, #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover, #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:focus {
    background: #e3f0ff !important;
    font-weight: normal;
    text-decoration: none;
    color: #666;
}*/


/* Case Studies Page Design */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.case-content {
    padding: 20px;
    flex-grow: 1;
}

.case-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #0073aa;
}

.case-excerpt {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.case-link {
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
}

