/*
Theme Name: Ron Elementor Theme
Author: Md. Akhtaruzzaman Rony
Description: A minimal blank canvas for Elementor with Custom Slider.
Version: 1.0
Text Domain: ron-elementor
*/

body {
    margin: 0;
    padding: 0;
    font-family:Roboto;
}
header.ron-main-header {
    background: #0f0f0f69;
    position: relative;
    z-index: 3;
}
/* --- Desktop Header & Menu --- */
.ron-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 20px;
}

.ron-logo { flex: 0 0 25%; }
.ron-logo img { max-height: 70px; width: auto; display: block; }

.ron-primary-menu-list {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ron-primary-menu-list li { position: relative; }
.ron-primary-menu-list li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
    text-transform: uppercase;
    font-size: 14px;letter-spacing:2px;
}
.ron-primary-menu-list li a:hover{color:#feb140;}
/* Desktop Submenu */
.ron-primary-menu-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #272264;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    list-style: none;
    padding: 15px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 999;
}
.ron-primary-menu-list .sub-menu li a{text-transform:Capitalize;}
/* Ensure the parent li is the anchor */
.ron-primary-menu-list li {
    position: relative;
}
/* First level submenu (drops down) */
.ron-primary-menu-list > li > .sub-menu {
    top: 100%;
    left: 0;
}
/* Second level and deeper submenus (fly out to the right) */
.ron-primary-menu-list .sub-menu .sub-menu {
    top: 0;
    left: 100%; /* Position it to the right of the parent */
    margin-top: -15px; /* Aligns with the top padding of the parent submenu */
    transform: translateX(15px); /* Slide from left to right animation */
}

/* Show the nested submenu on hover of its parent li */
.ron-primary-menu-list .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Add a right arrow for items that have a "right-side" submenu */
.ron-primary-menu-list .sub-menu .menu-item-has-children > a .ron-sub-indicator {
    margin-left: auto;
    transform: rotate(-90deg); /* Point the arrow to the right */
}

/* Rotate arrow back down when hovering deeper levels */
.ron-primary-menu-list .sub-menu .menu-item-has-children:hover > a .ron-sub-indicator {
    transform: rotate(0deg); 
}

/* Handle edge case: If the menu is on the far right of the screen, 
   the submenu should fly out to the LEFT instead */
.ron-primary-menu-list li:last-child .sub-menu .sub-menu {
    left: auto;
    right: 100%;
    transform: translateX(-15px);
}
.ron-primary-menu-list li:last-child .sub-menu li:hover > .sub-menu {
    transform: translateX(0);
}
.ron-primary-menu-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ron-primary-menu-list .sub-menu li a {
    padding: 8px 25px;
    font-size: 14px;
}

/* --- Mobile Fly-out (Max 768px) --- */
.ron-mobile-toggle, .ron-mobile-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .ron-mobile-toggle { display: block; }
    
    .ron-nav {
        position: fixed;
        top: 0;
        right: -320px; /* Hidden state */
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 10000;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 80px 0 40px 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .ron-nav.ron-is-active { right: 0; }

    .ron-mobile-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .ron-mobile-close .dashicons { font-size: 32px; color: #333; }

    .ron-primary-menu-list {
        flex-direction: column;
        gap: 0;
        padding: 0 25px;
    }

    .ron-primary-menu-list li a {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        justify-content: space-between;
    }

    /* Mobile Submenu */
    .ron-primary-menu-list .sub-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #fcfcfc;
        padding-left: 20px;
    }

    .ron-sub-open > .sub-menu { display: block; }
}

/* Overlay Background */
.ron-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.ron-menu-overlay.ron-is-active { opacity: 1; visibility: visible; }
/* Slider Wrapper - Fixed Height is mandatory for absolute children */
/* Slider Wrapper */
.ron-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    margin-top: -100px;
}

.ron-slider-container {
    display: block;
    width: 100%;
    line-height: 0; /* Removes bottom gap in some browsers */
}

/* Individual Slide */
.ron-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Fill the space created by the first image */
    opacity: 0;
    z-index: 1;
    /* Duration for the fade out */
    transition: opacity 2s ease-in-out; 
}

/* Active Slide - The one coming in */
/* ZOOM IN: This plays when the 'ron-active' class is ADDED */
.ron-slide.ron-active {
    position: relative; /* This 'pushes' the height of the wrapper */
    opacity: 1;
    z-index: 2;
}

/* Smooth Zoom Animation - Slowed down for elegance */
/* ZOOM OUT: This plays when the 'ron-active' class is REMOVED */
.ron-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transform: scale(1);
    animation: ronZoomOut 5s ease-in-out forwards;
}

.ron-slide.ron-active img {
    animation: ronZoomIn 5s ease-in-out forwards;
}
/* Animation Keyframes */
@keyframes ronZoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

@keyframes ronZoomOut {
    from { transform: scale(1.15); }
    to { transform: scale(1); }
}

/* Navigation Arrows */
.ron-slider-nav {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.ron-slider-nav span {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 50%;
    transition: 0.3s;
    user-select: none;
}

.ron-slider-nav span:hover {
    background: rgba(0,0,0,0.7);
}

.ron-prev { left: 20px; }
.ron-next { right: 20px; }

/* Dashicons support */
.dashicons {
    font-family: dashicons;
    display: inline-block;
    line-height: 1;
}

@media (max-width: 768px) {
.ron-slider-wrapper {margin-top:0px;}
header.ron-main-header{background:#272264;z-index:inherit;}
.ron-primary-menu-list li a{color:#000;}
.dashicons-menu::before {color: #fff;font-size: 32px;}
}
/* Main Footer Styles */
.ron-site-footer {
    background-color: #272264;
    color: #ffffff;
    padding-top: 60px;
    margin-top: 40px;
}
.ron_footer_col, .ron_footer_copy{padding:0 5%;}
/* 4 Column Grid */
.ron-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}

/* Widget Styles */
.ron-widget-title {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.ron-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #0073aa; /* Accent color */
}

.ron-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ron-footer-column ul li {
    margin-bottom: 10px;
}
.ron-footer-column ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.ron-footer-column ul li a:hover {
    color: #f7941d;
}

/* Bottom Footer Bar */
.ron-footer-bottom {
    background-color: #272264;
    padding: 10px 0;
    border-top: 1px solid #666;
    font-size: 14px;
    color: #f1f1f1;
}

.ron-footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ron-footer-info a{text-decoration:none;color:#f7941d;}
.ron-footer-info a:hover{color:#fff;}
/* Responsive Grid */
@media (max-width: 992px) {
    .ron-footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 600px) {
    .ron-footer-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .ron-footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Inner Banner Styles */
.ron-inner-banner {
    position: relative;
    width: 100%;
    min-height: 350px; /* Standard inner banner height */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
    margin-top:-100px;
}

/* Dark Overlay for text readability */
.ron-inner-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.ron-inner-banner .ron-container {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.ron-page-title {
    font-size: 34px;
    margin: 0;
    text-transform: capitalize;
    font-weight: 700;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .ron-inner-banner { height: 250px;  margin-top:0px;}
    .ron-page-title { font-size: 30px; }
  
}
.ron-breadcrumbs {
    margin-top: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.ron-breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.ron-breadcrumbs a:hover {
    color: #f7941d; /* Your primary blue color */
    text-decoration: none;
}

.ron-sep {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.5);
}

.ron-current {
    color: #acaaaa; /* Highlight current page */
    font-weight: 600;
}

/*NOTICES*/
/* Wrapper and Header */
.ron-notice-wrapper {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}

.ron-notice-header {
    display: flex;
    background: #f4f4f4;
    padding: 12px 20px;
    font-weight: bold;
    border-bottom: 2px solid #0073aa;
    color: #333;
    text-transform: uppercase;
    font-size: 13px;
}

/* Column Widths */
.ron-h-date, .ron-notice-date { flex: 0 0 150px; }
.ron-h-title, .ron-notice-title-box { flex: 1; padding: 0 15px; }
.ron-h-file, .ron-notice-file-box { flex: 0 0 140px; text-align: center; }

/* Item Styling */
.ron-notice-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.ron-notice-item:last-child { border-bottom: none; }
.ron-notice-item:hover { background: #f9f9f9; }

/* Title Styling */
.ron-notice-title-box a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.2s;
}
.ron-notice-title-box a:hover { color: #0073aa; }

/* Date Styling */
.ron-notice-date {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Download Button */
.ron-notice-download {
    background: #0073aa;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ron-notice-download:hover { background: #005a87; }

.ron-no-file { font-size: 12px; color: #ccc; font-style: italic; }

/* Mobile Responsive */
@media (max-width: 600px) {
    .ron-notice-header { display: none; } /* Hide header on mobile */
    .ron-notice-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .ron-notice-date, .ron-notice-title-box, .ron-notice-file-box {
        flex: 1;
        width: 100%;
        text-align: left;
        padding: 0;
    }
}

/**Notice single/
.ron-notice-single {
    padding: 60px 0;
    background: #f9f9f9;
}

.ron-notice-full-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
}

.ron-notice-meta {
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.ron-notice-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ron-notice-main-title {
    font-size: 32px;
    color: #222;
    margin-bottom: 30px;
    line-height: 1.3;
}

.ron-notice-content {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

/* Download Section */
.ron-notice-download-section {
    background: #f0f7ff;
    border: 1px dashed #0073aa;
    padding: 25px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ron-download-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ron-download-info .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #0073aa;
}

.ron-download-info div strong {
    display: block;
    font-size: 18px;
    color: #333;
}

.ron-btn-download-large {
    background: #0073aa;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.ron-btn-download-large:hover {
    background: #005a87;
    transform: translateY(-2px);
}

.ron-notice-footer-nav {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.ron-back-link {
    text-decoration: none;
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
}

.ron-back-link:hover { color: #0073aa; }

@media (max-width: 768px) {
    .ron-notice-download-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Layout Grid */
.ron-notice-single-layout { padding: 0; background: #f4f7f6; }
.ron-notice-single-layout .ron-container, .ron-post-single-layout .ron-container, .ron-notice-archive .ron-container, .ron-post-archive-layout .ron-container {
    margin: 0 auto;
    padding: 2% 5%;
}

.ron-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.ron-content-area {
    flex: 0 0 calc(75% - 30px);
    max-width: calc(75% - 30px);
}

.ron-sidebar-area {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Sidebar Styling */
.ron-sidebar-area .widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ron-sidebar-notice-list li, .widget.widget_recent_entries li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
   
}
.ron-sidebar-notice-list li a, .ron-sidebar-area a{text-decoration:none;}
.ron-sidebar-date, .widget.widget_recent_entries .post-date {
    display: block;
    color: #0073aa;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 4px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .ron-content-area, .ron-sidebar-area {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* Layout Wrapper for both Posts and Notices */
.ron-post-single-layout, .ron-notice-single-layout { 
    padding: 30px 0px; 
    background: #f4f7f6; 
}

/* Shareable Card Style */
.ron-post-full-card, .ron-notice-full-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* Meta Info */
.ron-post-meta {
    display: flex;
    gap: 20px;
    margin: 15px 0 25px;
    font-size: 13px;
    color: #777;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.ron-post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Featured Image in Post */
.ron-post-featured-image {
    margin-bottom: 30px;
}

.ron-post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Content Typography */
.ron-post-content {
    line-height: 1.8;
    font-size: 16px;
    color: #444;
}

.ron-post-main-title {
    font-size: 36px;
    margin: 0;
    color: #222;
}

/* Footer Tags */
.ron-post-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-style: italic;
    font-size: 14px;
}
/* Archive Header */
.ron-archive-header {
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 3px solid #0073aa;
}

.ron-archive-title {
    font-size: 28px;
    color: #333;
    margin: 0;
}

.ron-archive-desc {
    margin-top: 10px;
    color: #666;
    font-size: 16px;
}

/* Pagination Styling */
.ron-pagination {
    padding: 30px 20px;
    text-align: center;
}

.ron-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.ron-pagination a, .ron-pagination .current {
    padding: 8px 16px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: 0.3s;
}

.ron-pagination a:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.ron-pagination .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.ron-not-found {
    padding: 40px;
    text-align: center;
    color: #999;
}
/* Archive Layout */
.ron-post-archive-layout {
    padding: 60px 0;
    background: #f4f7f6;
}

/* Individual Blog Card */
.ron-blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    display: flex; /* Horizontal layout for desktop */
    transition: transform 0.3s ease;
}

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

.ron-blog-thumb {
    flex: 0 0 35%; /* Image takes 35% */
    max-width: 35%;
}

.ron-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ron-blog-details {
    padding: 25px;
    flex: 1;
}

.ron-blog-title {
    font-size: 24px;
    margin: 10px 0;
}

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

.ron-blog-title a:hover {
    color: #0073aa;
}

.ron-blog-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Read More Button */
.ron-read-more {
    text-decoration: none;
    color: #0073aa;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ron-read-more:hover {
    gap: 10px;
}

/* Responsive Fix for Blog Cards */
@media (max-width: 768px) {
    .ron-blog-card {
        flex-direction: column; /* Stack on mobile */
    }
    .ron-blog-thumb {
        max-width: 100%;
        flex: 0 0 100%;
    }
}
table {
    margin: 0 0 1.5em;
    width: 100%;
}
table {
  border-collapse: collapse;  overflow-x:auto;
}
table, th, td {
  border: 1px solid #ddd;
}
table tr:nth-child(even) {background-color: #f2f2f2;}
table tr:hover {background-color: #f5f5f5;}
table th, table td {padding: 10px;text-align: left;}
.table td, .table th {vertical-align: middle;}
strong{font-weight:700;}