/* edits2026.css - Modern Visual Enhancements for 2026 */

/* --- 1. Base Enhancements --- */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f8f9fa !important; /* Soften the main background slightly */
}

/* --- 2. Glassmorphism Navbar --- */
.navbar-area {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}
.navbar-area.is-sticky {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}
.main-nav {
    background-color: transparent !important;
}

/* Nav Links hover animations */
.navbar-area .main-nav nav .navbar-nav .nav-item a {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 600;
}
.navbar-area .main-nav nav .navbar-nav .nav-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(90deg, #eb6408, #ff8c3a);
    border-radius: 3px;
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.navbar-area .main-nav nav .navbar-nav .nav-item a:hover::after,
.navbar-area .main-nav nav .navbar-nav .nav-item a.active::after {
    width: 80%;
}
.navbar-area .main-nav nav .navbar-nav .nav-item a:hover,
.navbar-area .main-nav nav .navbar-nav .nav-item a.active {
    text-decoration: none !important;
    color: #eb6408 !important;
    transform: translateY(-2px);
}

/* Dropdown styling */
.navbar-area .main-nav nav .navbar-nav .nav-item .dropdown-menu {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 10px 0;
    animation: dropdownFade 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.navbar-area .main-nav nav .navbar-nav .nav-item .dropdown-menu li a {
    transition: all 0.3s ease;
    padding: 12px 25px;
}
.navbar-area .main-nav nav .navbar-nav .nav-item .dropdown-menu li a:hover {
    background-color: rgba(235, 100, 8, 0.08);
    color: #eb6408 !important;
    padding-right: 30px;
}
[dir="ltr"] .navbar-area .main-nav nav .navbar-nav .nav-item .dropdown-menu li a:hover {
    padding-right: 25px;
    padding-left: 30px;
}
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- 3. Buttons Modernization --- */
.default-btn, .btn-info {
    border-radius: 50px !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(235, 100, 8, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    background: linear-gradient(135deg, #eb6408, #ff8c3a) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.default-btn::before, .btn-info::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #ff8c3a, #eb6408);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}
.default-btn:hover::before, .btn-info:hover::before {
    opacity: 1;
}
.default-btn:hover, .btn-info:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(235, 100, 8, 0.45);
}
.btn-info {
    background: linear-gradient(135deg, #074771, #1a8edb) !important;
    box-shadow: 0 8px 25px rgba(7, 71, 113, 0.3);
}
.btn-info::before {
    background: linear-gradient(135deg, #1a8edb, #074771);
}
.btn-info:hover {
    box-shadow: 0 15px 35px rgba(7, 71, 113, 0.45);
}

/* --- 4. Cards & Images (Rounded and Soft Shadows) --- */
.imgContainer, .imgContainer2, .imgProductContainer, .imgProductContainerSm, .single-blog, .card, .owl-item img {
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.single-blog {
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.single-blog:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Redesign for Speakers (single-team) */
.single-team {
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    text-align: center;
    border-radius: 24px !important;
    display: block;
    margin-bottom: 40px;
    padding: 30px 20px; /* Space inside the card */
    transition: all 0.4s ease;
}
.single-team:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
.single-team img {
    width: 160px !important;
    height: 160px !important;
    object-fit: cover;
    border-radius: 50% !important; /* Circular Image */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Subtle shadow on image */
    border: 4px solid #fff; /* White border to separate from background if needed */
    margin: 0 auto;
    transition: all 0.4s ease;
}
.single-team:hover img {
    box-shadow: 0 15px 35px rgba(7, 71, 113, 0.2);
    transform: scale(1.05);
}
.single-team .team-content {
    border-radius: 30px !important; /* Pill shape */
    background: linear-gradient(135deg, #074771, #1a8edb) !important;
    box-shadow: 0 8px 20px rgba(7, 71, 113, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    margin-top: 25px !important; /* Space between image and badge */
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 65px;
    width: 90%;
    padding: 10px 15px !important;
}
.single-team:hover .team-content {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(7, 71, 113, 0.3);
}
.single-team .team-content * {
    color: #ffffff !important;
    font-weight: bold;
    font-size: 15px !important;
    margin: 0;
}

/* --- 5. Inputs & Forms --- */
input[type="text"], input[type="email"], textarea, .form-control {
    border-radius: 16px;
    border: 2px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) inset;
    transition: all 0.3s ease;
    padding: 15px 20px;
    background-color: #fdfdfd;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus, .form-control:focus {
    border-color: #eb6408;
    background-color: #fff;
    box-shadow: 0 0 0 5px rgba(235, 100, 8, 0.15);
    outline: none;
}

/* --- 6. Top Header & Section Titles --- */
.top-header.top-header-four {
    background: linear-gradient(135deg, #eb6408, #ff8e3e) !important;
}
.page-title-area {
    background: linear-gradient(135deg, #eb6408, #ff8e3e) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding-top: 150px !important; /* ensure spacing under the navbar */
}

.section-title {
    margin-bottom: 50px;
}
.section-title h2 {
    font-weight: 900;
    background: linear-gradient(90deg, #074771, #eb6408);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* The big blue rectangles used for titles in the screenshots */
.container > .row > .col-12 > div[style*="background-color"],
div[style*="background-color: #074771"], 
div[style*="background-color:#074771"],
div[style*="background-color: #074771;"],
div[style*="background-color: rgb(7, 71, 113)"],
h1.bg-info, h2.bg-info, h3.bg-info {
    border-radius: 20px !important;
    background: linear-gradient(135deg, #074771, #1a8edb) !important;
    box-shadow: 0 15px 35px rgba(7, 71, 113, 0.25) !important;
    border: none !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    padding: 15px !important;
    font-weight: bold;
    letter-spacing: 0.5px;
}
div[style*="background-color: #074771"]:hover,
div[style*="background-color:#074771"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(7, 71, 113, 0.4) !important;
}

/* Make images inside sections pop more */
.container img {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.container img:hover {
    transform: scale(1.02);
}

/* Green section fix */
div[style*="background-color: #019c3c"],
div[style*="background-color:#019c3c"] {
    background: linear-gradient(135deg, #019c3c, #1ddb6f) !important;
    border-radius: 30px !important;
    box-shadow: 0 15px 40px rgba(1, 156, 60, 0.2) !important;
    margin: 20px 0;
    padding: 40px 20px !important;
}

/* --- 7. Footer Redesign --- */
.footer-area {
    position: relative;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: 60px;
    background: transparent !important; /* Hide old background image */
}
.footer-area::before {
    background: linear-gradient(135deg, #074771, #149298) !important;
    opacity: 0.98;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
}
.single-footer-widget h3 {
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}
.single-footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, #eb6408, #ff8c3a);
    border-radius: 5px;
}
[dir="ltr"] .single-footer-widget h3::after {
    right: auto;
    left: 0;
}
.copy-right-area {
    background: linear-gradient(135deg, #df5b04, #ff8027) !important;
    border-top: none !important;
}

/* Scroll to top button */
.go-top {
    border-radius: 50% !important;
    box-shadow: 0 10px 30px rgba(235, 100, 8, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #eb6408, #ff8c3a) !important;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.go-top:hover {
    transform: translateY(-12px) scale(1.2);
    box-shadow: 0 15px 40px rgba(235, 100, 8, 0.6);
}

/* Social icons modern look */
.single-footer-widget .social-icon li a {
    width: 45px !important;
    height: 45px !important;
    line-height: 45px !important;
    border-radius: 50% !important;
    background-color: rgba(255,255,255,0.15) !important;
    transition: all 0.3s ease !important;
    text-align: center;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden !important; /* Prevent square background slide-ins */
}
.single-footer-widget .social-icon li a::before,
.single-footer-widget .social-icon li a::after {
    display: none !important; /* Kill original template hover shapes */
}
.single-footer-widget .social-icon li a:hover {
    background-color: #eb6408 !important;
    transform: translateY(-5px) !important; /* Simple elegant lift, no spinning */
    box-shadow: 0 10px 20px rgba(235, 100, 8, 0.4) !important;
    border-radius: 50% !important; /* Ensure it stays a circle */
}
.single-footer-widget .social-icon li a i {
    color: #fff !important;
    transition: transform 0.3s ease !important;
    line-height: 45px !important;
    position: relative;
    z-index: 2;
}
.single-footer-widget .social-icon li a:hover i {
    transform: scale(1.1) !important;
}

/* Animated Odometer adjustments */
.odometer-digit {
    background: linear-gradient(180deg, #074771, #253F8E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- 8. Homepage Speakers & Committees Carousel Sync --- */
.partner-item .single-safety {
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    text-align: center;
    border-radius: 24px !important;
    display: block;
    margin: 10px 5px 20px 5px !important; /* Reduced spacing between carousel items */
    padding: 20px 15px !important; /* Reduced internal padding */
    transition: all 0.4s ease;
    border: none !important;
}
.partner-item .single-safety::before,
.partner-item .single-safety::after,
.partner-item .overly-one::before,
.partner-item .overly-one::after,
.partner-item .overly-two::before,
.partner-item .overly-two::after {
    display: none !important; /* Remove ALL the weird lines on hover (top, right, bottom, left) */
}
.partner-item .single-safety:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
.partner-item .single-safety .imgContainer2 {
    height: auto !important;
    border-radius: 0 !important;
    overflow: visible !important;
}
.partner-item .single-safety img {
    width: 160px !important;
    height: 160px !important;
    object-fit: cover;
    border-radius: 50% !important; /* Circular Image */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 4px solid #fff;
    margin: 0 auto;
    transition: all 0.4s ease;
}
.partner-item .single-safety:hover img {
    box-shadow: 0 15px 35px rgba(7, 71, 113, 0.2);
    transform: scale(1.05);
}
.partner-item .single-safety h3 {
    border-radius: 30px !important;
    background: linear-gradient(135deg, #074771, #1a8edb) !important;
    box-shadow: 0 8px 20px rgba(7, 71, 113, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    margin-top: 25px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 65px;
    width: 95%;
    padding: 10px 15px !important;
    color: #ffffff !important;
    font-weight: bold;
    font-size: 14px !important;
    line-height: 1.4;
}
.partner-item .single-safety:hover h3 {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(7, 71, 113, 0.3);
}
.partner-item .single-safety p {
    color: #555;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
}

/* --- 9. Rectangular Carousel Overrides --- */
/* For Activities, Program, and States Program where images should be natural */
.rectangular-carousel .partner-item .single-safety img {
    width: 100% !important;
    height: auto !important;
    max-height: 250px;
    object-fit: cover;
    border-radius: 16px !important;
    border: none !important;
}

/* --- 10. Partners Carousel Overrides --- */
/* For Success Partners logos */
.partners-carousel .partner-item .single-safety {
    padding: 20px 15px !important;
    border-radius: 16px !important;
}
.partners-carousel .partner-item .single-safety img {
    width: 100% !important;
    height: 120px !important;
    object-fit: contain !important; /* Keep logos fully visible */
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}
.partners-carousel .partner-item .single-safety:hover img {
    transform: scale(1.05);
    box-shadow: none !important;
}

/* --- 11. Contact Us Section Overrides --- */
.challenges-area3::before {
    background: linear-gradient(135deg, #074771, #1a8edb) !important;
    opacity: 0.95 !important;
}
.challenges-area3 .section-title h2 {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
}

/* --- 12. Detail Pages Overrides (Activities, Program, States) --- */
.rectangular-cards-page .single-team {
    background-color: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    padding: 20px;
    transition: all 0.4s ease;
}
.rectangular-cards-page .single-team:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
.rectangular-cards-page .single-team img {
    width: 100% !important;
    height: auto !important;
    max-height: 400px;
    object-fit: contain;
    border-radius: 16px !important;
    border: none !important;
    box-shadow: none !important;
}

/* --- 13. Modern Committees Table --- */
.modern-committee-table {
    border-collapse: separate !important;
    border-spacing: 0 15px !important;
    background-color: transparent !important;
    width: 100%;
}
.modern-committee-table th, .modern-committee-table td {
    border: none !important;
    background-color: #ffffff;
    vertical-align: middle !important;
    padding: 15px 25px !important;
    line-height: normal !important; 
}
.modern-committee-table tr th:first-child, .modern-committee-table tr td:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.modern-committee-table tr th:last-child, .modern-committee-table tr td:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
.modern-committee-table tr {
    box-shadow: 0 8px 25px rgba(0,0,0,0.04) !important;
    transition: all 0.4s ease;
}
.modern-committee-table tr:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 35px rgba(7, 71, 113, 0.12) !important;
}
.modern-committee-table img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
    border-radius: 50% !important;
    border: 3px solid #f0f4f8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.modern-committee-table th:nth-child(2) a {
    font-size: 18px;
    font-weight: 700;
    color: #074771;
    text-decoration: none;
    transition: color 0.3s ease;
}
.modern-committee-table th:nth-child(2) a:hover {
    color: #1a8edb;
}
.modern-committee-table th:last-child {
    text-align: right;
}
.modern-committee-table .role-badge {
    background: linear-gradient(135deg, #074771, #1a8edb);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(7, 71, 113, 0.2);
}

/* RTL Support for Committees Table */
html[dir="rtl"] .modern-committee-table tr th:first-child, 
html[dir="rtl"] .modern-committee-table tr td:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
html[dir="rtl"] .modern-committee-table tr th:last-child, 
html[dir="rtl"] .modern-committee-table tr td:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    text-align: left;
}

/* --- 14. Modern Profile Page (Speaker & Committee Member) --- */
.modern-profile-page .blog-details-content {
    background: #ffffff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    text-align: center;
}
.modern-profile-page .blog-details-img {
    margin-bottom: 30px;
}
.modern-profile-page .blog-details-img img {
    width: 250px !important;
    height: 250px !important;
    object-fit: cover;
    border-radius: 50% !important;
    border: 8px solid #f0f4f8;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin: 0 auto;
}
.modern-profile-page .news-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: #074771;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}
.modern-profile-page .news-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #074771, #1a8edb);
    border-radius: 2px;
}
.modern-profile-page .news-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* Sessions Sidebar */
.modern-profile-page .widget-sidebar .sidebar-widget {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.modern-profile-page .widget-sidebar .widget-title {
    font-size: 24px;
    font-weight: 700;
    color: #074771;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #e5e5e5;
}
.modern-profile-page .recent-post ul li {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    border: none !important;
    border-bottom: 4px solid #1a8edb !important; 
    transition: all 0.4s ease;
    display: block;
}
.modern-profile-page .recent-post ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(7, 71, 113, 0.1);
}
.modern-profile-page .recent-post ul li a {
    font-size: 18px;
    font-weight: 700;
    color: #074771 !important;
    margin-bottom: 15px;
    display: block;
}
.modern-profile-page .recent-post ul li span {
    font-size: 14px;
    color: #777;
    display: block;
    line-height: 2;
}
.modern-profile-page .recent-post ul li span i {
    color: #1a8edb;
    font-size: 16px;
}

/* --- 15. Top Header & Breadcrumbs Redesign --- */
.top-header {
    background: linear-gradient(90deg, #074771, #1a8edb) !important;
    border-bottom: none !important;
}

.page-title-area {
    background: linear-gradient(135deg, #074771, #149298) !important;
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
}
.page-title-area::before, .page-title-area::after {
    display: none !important; /* Hide old orange overlays/patterns if they exist */
}

/* Breadcrumb styling */
.page-title-content {
    text-align: center;
}
.page-title-content ul {
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 12px 30px;
    border-radius: 40px;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0;
}
.page-title-content ul li {
    color: #ffffff;
    font-size: 16px;
    display: inline-block;
}
.page-title-content ul li a {
    color: #e0e6ed;
    transition: all 0.3s;
}
.page-title-content ul li a:hover {
    color: #1ddb6f; /* Fresh green on hover */
}

/* Distinct color for the current page */
.page-title-content ul li.active {
    color: #1ddb6f !important; /* Stand out green for the active page */
    font-weight: 700;
}

.single-footer-widget .social-icon li a i{
    width:48px !important; height:48px !important;
}