.site-title { font-family: 'Roboto'; }

.nav-menu, .entry-meta, .owl-nav, label, .page-links, .navigation, .entry-title i, .site-info, .filters { font-family: 'Jost'; }

.widget-title { font-family: 'TeXGyreAdventor', sans-serif; }

h1, .entry-title, .footer-subscribe h3, .widget_categories ul li, .widget_recent_entries ul li a, .widget_pages ul li, .widget_nav_menu ul li, .widget_archive ul li, .widget_most_recommended_posts ul li a, .widget_calendar table caption, .tptn_title, .nav-single a, .widget_recent_comments ul li, .widget_product_categories ul li, .widget_meta ul li, .widget_rss ul a.rsswidget { font-family: 'Roboto Slab'; }

h2, h3, h4, h5, h6, blockquote, .tab-titles { font-family: 'Jost'; }

.slider-box .entry-title { font-family: 'Now', sans-serif; }

body { font-family: 'Jost'; }

.link-box .entry-title { font-family: 'Now', sans-serif; }

.button, button, html .elementor-button, html .ekit-wid-con .elementskit-btn, html .ekit-wid-con .ekit_creative_button, .more-link { font-family: 'Roboto'; }

.top-bar { font-family: 'Roboto'; }

@media screen and (min-width: 992px) { .site-header .site-title { font-size: 28px; } }

@media screen and (min-width: 992px) { .is-header-smaller .site-header.clone .site-title { font-size: 24px; } }

@media screen and (max-width: 991px) { .site-header .site-title { font-size: 24px; } }

@media screen and (min-width: 992px) { .site-description { font-size: 11px; } }

@media screen and (min-width: 992px) { h1 { font-size: 98px; } }

@media screen and (min-width: 992px) { html { font-size: 17px; } }

@media screen and (max-width: 991px) { html { font-size: 16px; } }

@media screen and (min-width: 992px) { .nav-menu > ul { font-size: 14px; } }

@media screen and (min-width: 992px) { .blog-stream .entry-content { font-size: 16px; } }

@media screen and (min-width: 992px) { .blog-stream.blog-small .entry-content { font-size: 15px; } }

.widget-title { font-size: 13px; }

@media screen and (min-width: 992px) { .nav-menu ul ul { font-size: 14px; } }

.top-bar { font-size: 14px; }

.site-footer .site-info { font-size: 12px; }

.site-title { font-weight: 700; }

h1, .entry-title, .footer-subscribe h3 { font-weight: 700; }

h2, h3, h4, h5, h6, blockquote, .comment-meta .fn { font-weight: 400; }

.slider-box .entry-title { font-weight: 700; }

.widget-title { font-weight: 700; }

@media screen and (min-width: 992px) { .nav-menu > ul { font-weight: 500; } }

@media screen and (min-width: 992px) { .nav-menu ul ul { font-weight: 600; } }

.link-box .entry-title { font-weight: 700; }

.top-bar { font-weight: 500; }

.site-footer .site-info { font-weight: 600; }

.entry-meta { font-weight: 700; }

@media screen and (min-width: 992px) { .nav-menu ul ul { letter-spacing: 0px; } }

.widget-title { letter-spacing: 3px; }

.site-footer .site-info { letter-spacing: 5px; }

h2, h3, h4, h5, h6, blockquote, .comment-meta .fn { text-transform: none; }

@media screen and (min-width: 992px) { html { line-height: 2.1; } }

.header-wrap:after { bottom: -1px; }

@media screen and (min-width: 992px) { .site-title img { max-height: 98px; } }

@media screen and (min-width: 992px) { .is-header-smaller .site-header.clone .site-title img { max-height: 68px; } }

.top-bar { line-height: 38px; }

@media screen and (min-width: 992px) { .site-branding-wrap { padding: 0px 0; } }

@media screen and (min-width: 992px) { .site { margin-top: 0px; margin-bottom: 0px; } }

.layout-medium, .is-header-row .header-wrap-inner, .is-header-small .header-wrap-inner, .is-menu-bar.is-menu-fixed-bg .menu-wrap, .is-header-fixed-width .header-wrap, .is-header-fixed-width.is-menu-bar .site-navigation, .is-header-float-box:not(.is-header-float-box-menu) .site-header:not(.clone) .header-wrap, .is-header-float-box.is-menu-bar .site-header:not(.clone) .site-navigation:not(.clone), .is-body-boxed .site, .is-body-boxed .header-wrap, .is-body-boxed.is-menu-bar .site-navigation, .is-body-boxed:not(.is-menu-bar) .site-header, .is-middle-boxed .site-main, .intro-content, .is-footer-boxed .site-footer, .is-content-boxed .site-main .layout-fixed, .top-bar .top-bar-wrap, .is-top-bar-fixed .top-bar, .is-top-bar-fixed-bg .top-bar, .is-menu-bottom.is-menu-bottom-overflow .site-header:not(.clone) .site-navigation:not(.clone) .menu-wrap, .site-branding-wrap, .is-header-border-fixed .header-wrap:after, .is-header-border-fixed .menu-wrap:after, html .tutor-container, html .lp-content-area, html .learn-press-breadcrumb { max-width: 1240px; margin-left: auto; margin-right: auto; }

.layout-fixed, .blog-list, .blog-regular, .is-content-boxed .single .site-content, .is-content-boxed .page .site-content { max-width: 800px; }

@media screen and (min-width: 992px) {

    .is-header-small .header-wrap, .is-menu-bar .nav-menu > ul > li, .is-header-vertical .nav-menu > ul > li { line-height: 90px; }

    .is-header-small .site-branding { max-height: 90px; }

}

@media screen and (min-width: 992px) {

    .is-header-small.is-header-smaller .site-header.clone .header-wrap, .is-header-row.is-header-smaller .site-header.clone .nav-menu > ul > li, .is-menu-bar.is-header-smaller .site-navigation.clone .nav-menu > ul > li, .is-menu-bar.is-header-smaller .site-header.clone .site-navigation .nav-menu > ul > li { line-height: 60px; }

    .is-header-small.is-header-smaller .site-header.clone .site-branding { max-height: 60px; }

}

a { color: #a6192e; }

a:hover { color: #a6192e; }

.site-header .header-wrap { background-color: #ffffff; }

html:not(.is-menu-bottom) .site-header .header-bg-shape { color: #ffffff; }

.header-wrap:after { opacity: 0; }

.is-menu-bar .menu-wrap:after { opacity: 0.88; }

.site-header .menu-wrap { background-color: #4a4a4a; }

html.is-menu-bottom .site-header .header-bg-shape { color: #4a4a4a; }

.site-header .menu-wrap { background: linear-gradient(90deg, #4a4a4a 30%, #dd3333 100%); }

@media screen and (min-width: 992px) { .nav-menu > ul > li.current-menu-item > a { color: #ffffff !important; } }

@media screen and (min-width: 992px) { .nav-menu li.current-menu-item > a .link-text:before { background-color: #000000 !important; border-color: #000000 !important; } }

@media screen and (min-width: 992px) { html .nav-menu > ul > li > a:hover, .nav-menu > ul > li.has-submenu:hover > a { color: #4a4a4a; } }

@media screen and (min-width: 992px) { html.loaded .nav-menu ul li a .link-text:before, .nav-menu li.has-submenu:hover > a .link-text:before { background-color: #ffffff; border-color: #ffffff; } }

h1, h2, h3, h4, h5, h6, blockquote, .tab-titles { color: #4a4a4a; }

body { color: #4a4a4a; }

body { background: #ffffff; }

.site .footer-subscribe { background: #ebe6da; }

.site-footer .site-info { color: #353535; }

.button.is-primary { color: #a6192e; }

.button.is-primary.is-shadow, .button.is-primary.is-solid, .button.is-primary.is-solid-light, html .elementor-button, html .ekit-wid-con .elementskit-btn { background-color: #a6192e; }

.button.is-primary.is-shadow { box-shadow: 0px 18px 23px -6px #a6192e; }

.button.is-primary:hover { color: #dd1111; }

.button.is-primary.is-shadow:hover, .button.is-primary.is-solid:hover, .button.is-primary.is-solid-light:hover, .button.is-primary.is-shift:after, .button.is-primary.is-circle:before, html .elementor-button:hover, html .ekit-wid-con .elementskit-btn:hover { background-color: #dd1111; }

.button.is-primary.is-shadow:hover { box-shadow: 0px 2px 10px -5px #dd1111; }

.top-bar, .top-bar select option { background-color: #ffffff; }

.header-wrap:after { color: #222222; }

.is-menu-bar .menu-wrap:after { color: #ffffff; }

.guide-menu-item {
    font-size: 15px;
    line-height: 18px;
    text-align: center;
}

.guide-menu-item-active {
    color: #4A4A4A;
}

.guide-menu-item:hover {
    color: #000000;
}

.guide-section {
    padding-left: 10px;
    padding-right: 10px;
}

.guide-section p {
    line-height: 24px;
    font-size: 16px;
    margin-bottom: 12px;
}

.guide-section h3 {
    font-weight: 600;
}

.guide-section ul,ol {
    line-height: 26px;
    font-size: 16px;
}

.timeline-menu {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.timeline-menu::before {
    content: "";
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    height: 3px;
    background: #a6192e;
    z-index: 0;
}

.timeline-menu-item {
    position: relative;
    text-align: center;
    flex: 1;
}

.timeline-menu-item > button {
    background: #a6192e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.timeline-menu-item:hover > button {
    background: #4A4A4A;
    color: white;
}

.timeline-menu-item-active > button {
    background: #4A4A4A;
    color: white;
}

.timeline-menu-item:hover > span {
    color: #a6192e;
}

.timeline-menu-item > span {
    display: block;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
    height: 40px;
}

.timeline-dropdown {
    display: none;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 6px;
    min-width: 250px;
    padding: 0;
    z-index: 2;
}

.timeline-dropdown a {
    display: block;
    padding: 10px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    line-height: 1.3;
}

.timeline-dropdown a:hover {
    background-color: #f0f0f0;
    color: #a6192e;
}

.timeline-menu-item:hover .timeline-dropdown {
    display: block;
}

.oe-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 20px !important;
    position: relative;
    padding-top: 50px !important;
}

.qodef-m-title {
    font-family: 'Outfit', sans-serif !important;
}

.bdt-main-title, .bdt-title-tag {
    font-family: 'Outfit', sans-serif !important;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.5);
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s;
}

/* Close Button */
.close {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}
.close:hover {
    color: #000;
}

/* Simple animation */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* CV styling */
.cv-header {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}
.cv-section {
    margin-bottom: 12px;
    margin-left: 12px;
    margin-right: 12px;
}
.cv-section h3 {
    margin: 5px 0;
    font-size: 18px;
    color: #a6192e;
}
.cv-section p {
    margin: 2px 0;
    font-size: 16px;
    color: #555;
    line-height: 26px;
    text-align: justify;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .modal-content {
        margin: 10% auto;
        padding: 15px;
        width: 95%;
        font-size: 15px;
    }
    .cv-header {
        font-size: 20px;
    }
    .cv-section h3 {
        font-size: 15px;
    }
    .cv-section p {
        font-size: 13px;
    }
    .close {
        font-size: 32px; /* Bigger close button for tap */
    }
}
