/*
 * ROHITH DATA SOLUTIONS - Professional Corporate Styles
 * Minimal overrides - Colors and subtle improvements only
 * Does NOT change layout structure
 */

/* Google Fonts - Professional Corporate Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ============================================
   COLOR SCHEME - Professional Blue
   ============================================ */

/* Update the primary theme color from #233f92 to modern blue */
.iconbox .box-header .box-icon span,
a:hover, a:focus,
.portfolio-filter li a:hover, .portfolio-filter li.active a,
.themesflat-portfolio .item .category-post a,
.color_theme,
.widget ul li a:hover,
.footer-widgets ul li a:hover,
.footer a:hover,
.themesflat-top a:hover,
.themesflat-portfolio .portfolio-container.grid2 .title-post a:hover,
.themesflat-button.no-background, .themesflat-button.blog-list-small,
.show-search a i:hover,
.widget.widget_categories ul li a:hover,
.breadcrumbs span a:hover, .breadcrumbs a:hover,
.comment-list-wrap .comment-reply-link,
.portfolio-single .content-portfolio-detail h3,
.portfolio-single .content-portfolio-detail ul li:before,
.themesflat-list-star li:before, .themesflat-list li:before,
.navigation.posts-navigation .nav-links li a .meta-nav,
.testimonial-sliders.style3 .author-name a,
ul.iconlist .list-title a:hover,
.themesflat_iconbox .iconbox-icon .icon span,
.bottom .copyright a,
.top_bar2 .wrap-header-content ul li i {
    color: #1e40af !important; /* Professional deep blue */
}

#Ellipse_7 circle,
.testimonial-sliders .logo_svg path {
    fill: #1e40af !important;
}

.info-top-right a.appoinment,
.wrap-header-content a.appoinment,
button, input[type=button], input[type=reset], input[type=submit],
.go-top:hover,
.portfolio-filter.filter-2 li a:hover, .portfolio-filter.filter-2 li.active a,
.themesflat-socials li a:hover,
.entry-footer .social-share-article ul li a:hover,
.themesflat-button,
.featured-post.blog-slider .flex-prev, .featured-post.blog-slider .flex-next,
mark, ins,
#themesflat-portfolio-carousel ul.flex-direction-nav li a, .flex-direction-nav li a,
.navigation.posts-navigation .nav-links li a:after,
.title_related_portfolio:after,
.navigation.loadmore a:hover,
.owl-theme .owl-controls .owl-nav [class*=owl-],
.widget.widget_tag_cloud .tagcloud a,
.btn-menu:before, .btn-menu:after, .btn-menu span,
.themesflat_counter.style2 .themesflat_counter-icon .icon,
.widget a.appoinment,
.themesflat_imagebox .imagebox-image:after,
.nav-widget a.appoinment {
    background-color: #1e40af !important;
}

.loading-effect-2 > span, .loading-effect-2 > span:before, .loading-effect-2 > span:after,
textarea:focus, input[type=text]:focus, input[type=password]:focus,
input[type=datetime]:focus, input[type=datetime-local]:focus,
input[type=date]:focus, input[type=month]:focus, input[type=time]:focus,
input[type=week]:focus, input[type=number]:focus, input[type=email]:focus,
input[type=url]:focus, input[type=search]:focus, input[type=tel]:focus,
input[type=color]:focus, select:focus,
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span,
.navigation.loadmore a:hover {
    border-color: #1e40af !important;
}

/* ============================================
   TOP BAR - Professional Dark Blue
   ============================================ */
.themesflat-top {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%) !important;
    border-bottom: 3px solid #0891b2 !important;
}

.themesflat-top ul li {
    color: #ffffff !important;
}

.themesflat-top ul li i {
    color: #22d3ee !important;
}

.themesflat-top a {
    color: #ffffff !important;
}

.themesflat-top a:hover {
    color: #22d3ee !important;
}

.content-right span {
    color: #e0f2fe !important;
}

/* ============================================
   HEADER - Clean White
   ============================================ */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid #e5e7eb !important;
}

#mainnav > ul > li > a {
    color: #374151 !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
}

#mainnav > ul > li > a:hover,
#mainnav > ul > li.current-menu-item > a {
    color: #1e40af !important;
}

/* Submenu */
#mainnav ul.sub-menu {
    background: #ffffff !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
}

#mainnav ul.sub-menu > li {
    border-top: 1px solid #e5e7eb !important;
}

#mainnav ul.sub-menu > li:first-child {
    border-top: 0 !important;
}

#mainnav ul.sub-menu > li > a {
    color: #374151 !important;
    background: transparent !important;
    padding: 10px 20px !important;
}

#mainnav ul.sub-menu > li > a:hover {
    background-color: #f0f9ff !important;
    color: #1e40af !important;
}

/* ============================================
   SECTION BACKGROUNDS - Update Blue
   ============================================ */
.vc_custom_1683871154600,
.vc_custom_1675402017609 {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 50%, #0891b2 100%) !important;
}

/* ============================================
   HEADINGS - Professional Blue
   ============================================ */
.vc_custom_heading[style*="color: #db241a"],
.vc_custom_heading[style*="color:#db241a"] {
    color: #1e40af !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif !important;
}

/* ============================================
   COUNTERS - Clean Look
   ============================================ */
.themesflat_counter .numb-count {
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
}

.themesflat_counter .title {
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
}

.themesflat_counter .counter-link {
    color: #22d3ee !important;
}

.themesflat_counter .counter-link:hover {
    color: #ffffff !important;
}

/* ============================================
   BUTTONS - Professional Rounded
   ============================================ */
.themesflat-button,
.vc_btn3 {
    font-family: 'Inter', sans-serif !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    background: #1e40af !important;
    transition: all 0.3s ease !important;
}

.themesflat-button:hover,
.vc_btn3:hover {
    background: #1e3a8a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3) !important;
}

.vc_btn3-style-modern {
    background: #ffffff !important;
    color: #1e40af !important;
    border: 2px solid #1e40af !important;
}

.vc_btn3-style-modern:hover {
    background: #1e40af !important;
    color: #ffffff !important;
}

/* ============================================
   FOOTER - Original Theme Style (white text fix)
   ============================================ */
.footer-widgets h4,
.footer-widgets .widget-title,
.footer-widget h4 {
    color: #ffffff !important;
    text-align: center !important;
}

.footer-widgets {
    display: flex !important;
    justify-content: space-between;
}

.footer-widgets .col-md-4 {
    flex: 1 !important;
    text-align: center !important;
}

.footer-widgets .col-md-4:last-child {
    margin-left: 30px;
}

.footer-widgets .col-md-4:first-child {
    margin-right: 30px;
}

.footer-widgets .themesflat_information {
    display: inline-block;
    text-align: left;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.go-top {
    background: #1e40af !important;
    border-radius: 8px !important;
}

.go-top:hover {
    background: #1e3a8a !important;
}

/* ============================================
   FORMS - Color and border only, no layout changes
   ============================================ */
/* Hide field labels that WordPress marked as hidden */
.wpforms-label-hide {
    display: none !important;
}
.wpforms-field input,
.wpforms-field textarea {
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.3s ease !important;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus {
    border-color: #1e40af !important;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1) !important;
}

.wpforms-submit,
button[type="submit"].wpforms-submit {
    background: #1e40af !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
}

.wpforms-submit:hover,
button[type="submit"].wpforms-submit:hover {
    background: #1e3a8a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3) !important;
}

.rds-job-label {
    margin: 0 0 16px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
    background: #eff6ff;
    border-radius: 8px;
}

.rds-resume-note {
    margin: 8px 0 16px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #1e3a8a;
    background: #eff6ff;
    border-radius: 8px;
}

.rds-resume-note p {
    margin: 0;
}

.rds-resume-note a {
    font-weight: 600;
    color: #1e40af !important;
    text-decoration: underline;
}

.wpforms-submit:disabled,
button[type="submit"].wpforms-submit:disabled {
    opacity: 0.7 !important;
    cursor: wait !important;
    transform: none !important;
}

.rds-form-status {
    display: none;
    margin: 0 0 12px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    line-height: 1.45;
    border: 1px solid transparent;
}

.rds-form-status--success,
.rds-form-status--error {
    display: block;
}

.rds-form-status--success {
    color: #065f46;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.rds-form-status--error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.rds-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ============================================
   IMAGES - Subtle Improvements
   ============================================ */
.wpb_single_image {
    border-radius: 8px !important;
    overflow: hidden !important;
}

.vc_single_image-wrapper {
    border: none !important;
    padding: 0 !important;
}

/* Title underline (m-1.png): keep it a thin bar. Wrong srcset/sizes
   plus overflow:hidden was stretching these images to ~1500px tall. */
h2.vc_custom_heading + .wpb_single_image:has(img[src*="m-1.png"]) {
    overflow: visible !important;
    border-radius: 0 !important;
    max-height: 56px !important;
}
h2.vc_custom_heading + .wpb_single_image img[src*="m-1.png"] {
    height: 50px !important;
    max-height: 50px !important;
    max-width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
h2.vc_custom_heading + .wpb_single_image.vc_align_center img[src*="m-1.png"] {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   TYPOGRAPHY - Paragraphs & Text Content
   ============================================ */
p {
    font-family: 'Inter', sans-serif !important;
    color: #374151 !important;
    line-height: 1.75 !important;
    font-size: 16px !important;
}

.wpb_text_column p,
.wpb_content_element p,
.tape p {
    font-family: 'Inter', sans-serif !important;
    color: #374151 !important;
    line-height: 1.75 !important;
    font-size: 16px !important;
}

/* Override inline font-family on vc_custom_heading elements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif !important;
}

.vc_custom_heading,
.vc_custom_heading[style*="font-family"] {
    font-family: 'Inter', sans-serif !important;
}

/* Job listing strong labels (e.g., "Data Entry Operator") */
.wpb_text_column p strong,
.tape p strong {
    color: #1e40af !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;
}
/* ============================================
   POPUP CONTAINER - Hidden by default, shown via JS on button click
   ============================================ */
.paoc-modal-popup,
.paoc-cb-popup-body {
    display: none !important;
}

/* Popup overlay shown when active */
.paoc-modal-popup.paoc-popup-active {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 100000 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Popup white box */
.paoc-modal-popup.paoc-popup-active .paoc-popup-inr-wrap {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    max-width: 500px !important;
    width: 90% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    position: relative !important;
    padding: 30px !important;
}

/* Popup close button */
.paoc-modal-popup.paoc-popup-active .paoc-close-popup {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 35px !important;
    height: 35px !important;
    font-size: 0 !important;
    cursor: pointer !important;
    text-align: center !important;
    line-height: 29px !important;
    fill: #fff !important;
    border-radius: 50px !important;
    background-color: #1e40af !important;
    border: 3px solid #fff !important;
    outline: none !important;
    z-index: 10 !important;
}

.paoc-modal-popup.paoc-popup-active .paoc-close-popup svg {
    display: inline-block !important;
    vertical-align: middle !important;
    height: 19px !important;
    width: 19px !important;
}

.paoc-modal-popup.paoc-popup-active .paoc-close-popup:hover {
    background-color: #1e3a8a !important;
}

/* ============================================
   POPUP / SEND ENQUIRY BUTTONS (links only, not container)
   ============================================ */
a.paoc-popup-click,
a.paoc-popup-btn {
    background: #1e40af !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    padding: 12px 32px !important;
    border-radius: 6px !important;
    border: 2px solid #1e40af !important;
    display: inline-block !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

a.paoc-popup-click:hover,
a.paoc-popup-btn:hover {
    background: #ffffff !important;
    color: #1e40af !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3) !important;
}

/* Temporarily hide SEND ENQUIRY (wpforms-form-5386). Remove this block to re-enable. */
#wpforms-5386,
#wpforms-form-5386,
.paoc-popup-5387,
a.paoc-popup-cust-5387,
.vc_custom_1684127583747,
.vc_column_container:has(.vc_custom_1684127583747),
.vc_column_container:has(#wpforms-5386) {
    display: none !important;
}

/* CONTACT US section button (vc_btn3-color-inverse on blue background) */
.vc_btn3-color-inverse {
    background: #ffffff !important;
    color: #1e40af !important;
    border: 2px solid #ffffff !important;
}

.vc_btn3-color-inverse:hover {
    background: #1e3a8a !important;
    color: #ffffff !important;
    border-color: #1e3a8a !important;
}

/* ============================================
   RESPONSIVE - No structural changes
   ============================================ */
@media (max-width: 991px) {
    .header {
        padding: 10px 0 !important;
    }
}

@media (max-width: 767px) {
    .themesflat-top {
        padding: 8px 0 !important;
    }
    
    .themesflat-top ul {
        text-align: center !important;
    }
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.ht-ctc .ctc_chip {
    background-color: #25D366 !important;
}

/* ============================================
   3D ANIMATED TAG CLOUD
   ============================================ */
.tagcloud-container {
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#tagcloud {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

#tagcloud a {
    position: absolute;
    top: 0;
    left: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    white-space: nowrap;
    transition: all 0.3s ease;
    background: #1e40af;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

#tagcloud a:hover {
    background: #0891b2;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(8, 145, 178, 0.4);
}

#tagcloud a.highlight {
    background: #dc2626;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .tagcloud-container {
        height: 350px;
    }
    #tagcloud {
        width: 300px;
        height: 300px;
    }
    #tagcloud a {
        padding: 6px 12px;
        font-size: 12px !important;
    }
}

@media (max-width: 767px) {
    .tagcloud-container {
        height: 300px;
    }
    #tagcloud {
        width: 280px;
        height: 280px;
    }
    #tagcloud a {
        padding: 5px 10px;
        font-size: 11px !important;
    }
}

/* ============================================
   MODERN EXPERTISE CARDS
   ============================================ */
.expertise-section {
    padding: 20px 0 40px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.expertise-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1e40af;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.15);
    border-color: #1e40af;
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-card .card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f9ff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.expertise-card .card-icon svg {
    color: #1e40af;
    transition: all 0.3s ease;
}

.expertise-card:hover .card-icon {
    background: #1e40af;
}

.expertise-card:hover .card-icon svg {
    color: #ffffff;
}

.expertise-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
}

.expertise-card:hover h3 {
    color: #1e40af;
}

.expertise-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .expertise-card {
        padding: 25px 20px;
    }
}

/* ============================================
   MODERN STATS SECTION
   ============================================ */
.modern-stats-section {
    background: #1e40af;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.modern-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 20px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.stat-icon svg {
    color: #ffffff;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0);
    }
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-number::after {
    content: '+';
    font-size: 36px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-bar {
    width: 60px;
    height: 3px;
    background: #0891b2;
    margin: 15px auto 0;
    border-radius: 2px;
    animation: expandWidth 1s ease forwards 0.5s;
    transform: scaleX(0);
}

@keyframes expandWidth {
    to {
        transform: scaleX(1);
    }
}

@media (max-width: 767px) {
    .stats-container {
        flex-direction: column;
        gap: 40px;
    }
    .stat-number {
        font-size: 42px;
    }
    .stat-icon {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   MODERN MISSION & VALUES SECTION - TRENDY DESIGN
   ============================================ */
.mission-values-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

/* Animated background shapes */
.mission-values-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -250px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.mission-values-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -150px;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.mv-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Section Title */
.mv-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.mv-section-title h2 {
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mv-section-title p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Glassmorphism Cards */
.mv-card {
    background: #ffffff !important;
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mv-card:hover {
    transform: translateY(-15px);
    background: #ffffff !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* Animated gradient border */
.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

/* Floating particles inside card */
.mv-card .particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 4s infinite;
}

.mv-card .particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.mv-card .particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.mv-card .particle:nth-child(3) { top: 80%; left: 30%; animation-delay: 2s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 0.6; }
}

/* Icon with glow effect */
.mv-icon-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.mv-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: iconBounce 3s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.mv-icon svg {
    color: #667eea;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

/* Glowing ring effect */
.mv-icon-wrap::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ringPulse 2s infinite;
}

.mv-icon-wrap::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: ringPulse 2s infinite 0.5s;
}

@keyframes ringPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.mv-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.mv-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
}

.mv-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin: 25px 0 0 0;
}

/* Decorative corner elements */
.mv-decoration {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    bottom: 20px;
    right: 20px;
    transform: rotate(45deg);
    opacity: 0.5;
}

/* Values card accent */
.values-card .mv-icon svg {
    color: #764ba2;
}

/* Bottom stats bar */
.mv-stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mv-stat {
    text-align: center;
}

.mv-stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    display: inline-block;
    animation: countUp 0.5s ease-out forwards;
}

.mv-stat-number::after {
    content: '+';
    font-size: 28px;
}

.mv-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mv-section-title h2 {
        font-size: 32px;
    }
    .mv-stats-bar {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .mission-values-section {
        padding: 60px 15px;
    }
    .mv-card {
        padding: 35px 25px;
    }
    .mv-title {
        font-size: 26px;
    }
    .mv-icon-wrap, .mv-icon {
        width: 80px;
        height: 80px;
    }
    .mv-icon svg {
        width: 40px;
        height: 40px;
    }
    .mv-stat-number {
        font-size: 36px;
    }
}

/* ============================================
   MODERN CAREERS SECTION
   ============================================ */
.careers-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

/* Animated background pattern */
.careers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(8, 145, 178, 0.05) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.careers-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.careers-text {
    padding-right: 20px;
}

.careers-title {
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 15px 0;
    position: relative;
    display: inline-block;
}

.careers-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #0891b2);
    border-radius: 2px;
}

.careers-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #64748b;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.careers-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.career-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.career-feature:hover {
    transform: translateX(10px);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
}

.feature-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    border-radius: 10px;
    flex-shrink: 0;
}

.feature-icon svg {
    color: #ffffff;
}

.career-feature span {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
}

.careers-cta {
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    padding: 25px 30px;
    border-radius: 16px;
    text-align: center;
}

.careers-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 15px 0;
}

.careers-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.careers-email:hover {
    background: #ffffff;
    color: #1e40af;
    transform: scale(1.05);
}

.careers-email svg {
    flex-shrink: 0;
}

/* Image section */
.careers-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.careers-image:hover .image-wrapper img {
    transform: scale(1.05);
}

.image-overlay {
    display: none;
}

/* Content overlay on the image - disabled */
.image-wrapper::after {
    display: none;
}

/* Floating badges */
.floating-badge {
    position: absolute;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: floatBadge 3s ease-in-out infinite;
}

.floating-badge span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
}

.badge-1 {
    top: 20px;
    left: -20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 30px;
    right: -20px;
    animation-delay: 1.5s;
}

.badge-2 span {
    color: #0891b2;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 991px) {
    .careers-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .careers-text {
        padding-right: 0;
        order: 2;
    }
    .careers-image {
        order: 1;
    }
    .careers-title {
        font-size: 32px;
    }
    .badge-1 {
        right: 10px;
    }
    .badge-2 {
        left: 10px;
    }
}

@media (max-width: 576px) {
    .careers-section {
        padding: 50px 15px;
    }
    .careers-title {
        font-size: 28px;
    }
    .careers-features {
        gap: 15px;
    }
    .career-feature {
        padding: 12px 15px;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    .careers-cta {
        padding: 20px;
    }
    .floating-badge {
        padding: 10px 15px;
    }
    .floating-badge span {
        font-size: 12px;
    }
}

/* ============================================
   MODERN TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%);
    padding: 100px 20px;
    position: relative;
    overflow: visible;
}

/* Animated background shapes */
.testimonials-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -200px;
    left: -100px;
    animation: floatBg 10s ease-in-out infinite;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -150px;
    right: -50px;
    animation: floatBg 8s ease-in-out infinite reverse;
}

@keyframes floatBg {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-title {
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.testimonials-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px;
    min-height: 320px;
    z-index: 1;
    overflow: visible;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
    z-index: 1;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    display: block;
    z-index: 2;
}

.quote-icon {
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.testimonial-text {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: #ffffff;
    margin: 0 0 30px 0;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-avatar svg {
    color: #ffffff;
}

.author-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 5px 0;
}

.author-info span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-rating {
    position: absolute;
    top: 40px;
    right: 40px;
}

.testimonial-rating .star {
    color: #fbbf24;
    font-size: 18px;
    margin-right: 2px;
    animation: starPulse 1s infinite;
}

.testimonial-rating .star:nth-child(2) { animation-delay: 0.1s; }
.testimonial-rating .star:nth-child(3) { animation-delay: 0.2s; }
.testimonial-rating .star:nth-child(4) { animation-delay: 0.3s; }
.testimonial-rating .star:nth-child(5) { animation-delay: 0.4s; }

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Navigation */
.testimonials-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 100 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-btn {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
    z-index: 100 !important;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-btn:hover,
.nav-btn:focus {
    visibility: visible !important;
    opacity: 1 !important;
    background: #ffffff;
    border-color: #ffffff;
}

.nav-btn:hover svg {
    stroke: #1e40af;
}

.nav-btn svg {
    stroke: #ffffff;
    visibility: visible !important;
}

.nav-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Stats */
.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonials-stats .stat-item {
    text-align: center;
}

.testimonials-stats .tstat-number {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    line-height: 1;
}

.testimonials-stats .stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    display: block;
}

@media (max-width: 991px) {
    .testimonials-title {
        font-size: 32px;
    }
    .testimonial-card {
        padding: 30px;
    }
    .testimonials-stats {
        flex-direction: column;
        gap: 30px;
    }
    .testimonials-stats .tstat-number {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 60px 15px;
    }
    .testimonials-title {
        font-size: 28px;
    }
    .testimonial-text {
        font-size: 16px;
    }
    .testimonial-rating {
        position: static;
        text-align: center;
        margin-top: 20px;
    }
    .testimonials-nav {
        gap: 20px;
    }
    .nav-btn {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   MODERN FOOTER - CLEAN PROFESSIONAL DESIGN (DISABLED - reverted to original theme footer)
   ============================================ */
/*
.footer_background {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d2137 100%) !important;
    position: relative;
    padding: 70px 0 0;
}

.footer_background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0891b2, #06b6d4, #22d3ee, #0891b2);
}

.footer {
    padding: 0 !important;
}

.footer .container {
    max-width: 1200px;
}

.footer .row {
    margin: 0 !important;
}

.footer-widgets {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px 50px;
}

.footer-widgets .col-md-4 {
    padding: 0 !important;
    width: 100% !important;
    flex: none !important;
}

.footer-widget {
    background: transparent;
    border: none;
    padding: 0;
    height: 100%;
}

.footer-widget:hover {
    background: transparent;
    transform: none;
}

.footer-widget h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 20px 0 !important;
    padding: 0 0 15px 0 !important;
    border-bottom: 2px solid #0891b2;
    display: inline-block;
    background: none !important;
    text-align: left !important;
}

.footer-widget .themesflat_information {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget .themesflat_information li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: none;
}

.footer-widget .themesflat_information li:last-child {
    padding-bottom: 0;
}

.footer-widget .themesflat_information li i {
    color: #22d3ee !important;
    font-size: 16px;
    margin-top: 2px;
}

.footer-widget .themesflat_information li:hover {
    color: #22d3ee !important;
}

/* Bottom Bar */
/*
.bottom {
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 20px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom .row {
    display: flex;
    justify-content: center;
}

.bottom .copyright {
    text-align: center;
}

.bottom .copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px;
}

.bottom .copyright a {
    color: #22d3ee !important;
    font-weight: 600;
}

.bottom .copyright a:hover {
    color: #06b6d4 !important;
}

/* Go Top Button */
/*
.go-top {
    background: linear-gradient(135deg, #0891b2, #06b6d4) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
    transition: all 0.3s ease;
}

.go-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.5);
}

.go-top i {
    color: #ffffff !important;
    font-size: 18px;
}

/* Responsive */
/*
@media (max-width: 992px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer_background {
        padding: 50px 0 0;
    }

    .footer-widget {
        padding: 25px;
    }
}
*/

/* ============================================
   CORPORATE PROFILE CARDS (animated)
   ============================================ */
.profile-cards-section {
    padding: 20px 0;
}

.profile-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.profile-card {
    --i: 0;
    position: relative;
    background: #ffffff;
    border-radius: 0;
    padding: 22px 14px 18px;
    text-align: center;
    box-shadow: none;
    border: 1px solid #dbe3ef;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px) scale(0.94);
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease;
}

.profile-cards-section.is-inview .profile-card {
    animation: rdsProfileCardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.08s + (var(--i) * 0.09s));
}

@keyframes rdsProfileCardIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(30, 64, 175, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.profile-card::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #1e40af, #0e7490);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-card:hover {
    transform: translateY(-6px);
    border-color: #93c5fd;
    box-shadow: 0 16px 34px rgba(30, 64, 175, 0.14);
    z-index: 2;
}

.profile-card:hover::before { opacity: 1; }
.profile-card:hover::after { transform: scaleX(1); }

.profile-card-icon {
    position: relative;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.25);
}

.profile-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: #ffffff;
    position: relative;
    z-index: 1;
}

.profile-card-icon::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px dashed rgba(30, 64, 175, 0.28);
    opacity: 0;
}

.profile-cards-section.is-inview .profile-card-icon::before {
    opacity: 1;
    animation: rdsProfileIconOrbit 9s linear infinite;
    animation-delay: calc(0.4s + (var(--i) * 0.12s));
}

@keyframes rdsProfileIconOrbit {
    to { transform: rotate(360deg); }
}

.profile-card-icon::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.45);
    opacity: 0;
    transform: scale(0.9);
}

.profile-cards-section.is-inview .profile-card-icon::after {
    animation: rdsProfileIconRing 1.5s ease calc(0.25s + (var(--i) * 0.09s)) both;
}

@keyframes rdsProfileIconRing {
    0% { opacity: 0; transform: scale(0.9); }
    40% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.25); }
}

.profile-cards-section.is-inview .profile-card-icon {
    animation: rdsProfileIconFloat 3.4s ease-in-out infinite;
    animation-delay: calc(0.8s + (var(--i) * 0.15s));
}

@keyframes rdsProfileIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.profile-card:hover .profile-card-icon {
    animation: none;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 26px rgba(30, 64, 175, 0.32);
}

.profile-card h4 {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-weight: 700;
    color: #1e40af !important;
    margin: 0 0 6px 0 !important;
    font-family: "Outfit", "Inter", sans-serif !important;
    letter-spacing: -0.02em;
}

.profile-card-num {
    display: inline-block;
    min-width: 1.4em;
}

.profile-card p {
    position: relative;
    z-index: 1;
    font-size: 13px !important;
    color: #475569 !important;
    margin: 0 !important;
    font-family: "Source Sans 3", "Inter", sans-serif !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}

@media (max-width: 768px) {
    .profile-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .profile-card {
        padding: 20px 12px 16px;
    }
}

@media (max-width: 480px) {
    .profile-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-card-icon::before,
    .profile-card-icon::after,
    .profile-card-icon { animation: none !important; }
    .profile-card {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* ============================================
   MISSION & VISION SECTION
   ============================================ */
.mission-vision-section {
    padding: 20px 0 40px;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.mv-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.15);
    background: #ffffff;
}

.mission-card::before {
    background: linear-gradient(90deg, #1e40af, #3b82f6);
}

.vision-card::before {
    background: linear-gradient(90deg, #db241a, #ef4444);
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.vision-card .mv-icon {
    background: linear-gradient(135deg, #db241a 0%, #ef4444 100%);
    box-shadow: 0 8px 25px rgba(219, 36, 26, 0.3);
}

.mv-icon svg {
    stroke: #ffffff;
}

.mv-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e40af;
    text-align: center;
    margin: 0 0 15px 0;
    font-family: 'Inter', sans-serif;
}

.vision-card h3 {
    color: #db241a;
}

.mv-card p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    text-align: justify;
    margin: 0 0 20px 0;
    font-family: 'Inter', sans-serif;
}

.mv-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mv-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
    padding: 8px 0;
    font-family: 'Inter', sans-serif;
}

.mv-check {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.vision-card .mv-check {
    background: linear-gradient(135deg, #db241a, #ef4444);
}

@media (max-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .mv-card {
        padding: 30px 25px;
    }
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */
.achievements-section {
    padding: 20px 0 40px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.achievement-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.4s ease;
    position: relative;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.15);
    border-color: #1e40af;
}

.achievement-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.achievement-badge svg {
    stroke: #ffffff;
}

.achievement-image {
    margin: 15px 0 20px;
    padding: 15px;
    background: linear-gradient(145deg, #f8fafc 0%, #e5e7eb 100%);
    border-radius: 12px;
    display: inline-block;
}

.achievement-image img {
    max-width: 180px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.achievement-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 8px 0;
    font-family: 'Inter', sans-serif;
}

.achievement-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .achievement-card {
        padding: 40px 25px 25px;
    }
}

/* ============================================
   TEAM MEMBERS SECTION - COMPACT DESIGN
   ============================================ */
.team-members-section {
    padding: 20px 0 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.team-card:hover {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.1);
    border-color: #1e40af;
    transform: translateX(5px);
}

.team-photo {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.1);
}

.team-info {
    flex: 1;
    min-width: 0;
}

.team-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px 0;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-info p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}

/* ============================================
   EXPERTISE SECTION - MODERN DESIGN
   ============================================ */
.expertise-section {
    padding: 20px 0 40px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.expertise-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.15);
}

.expertise-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.expertise-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}

/* ============================================
   MODERN CLIENTS SECTION
   ============================================ */
.modern-clients-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.main-clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 20px;
}

.client-card.featured {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #0891b2);
}

.client-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.15);
    border-color: #1e40af;
}

.client-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.client-icon.sbi {
    background: #ffffff;
    border: 2px solid #1e40af;
}

.client-icon.gov {
    background: #ffffff;
    border: 2px solid #0891b2;
}

.client-icon.tech {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.client-icon i {
    font-size: 28px;
    color: #ffffff;
}

.client-card.featured h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.client-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #1e40af;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #1e40af;
    margin: 30px 0 25px;
    font-family: 'Inter', sans-serif;
}

.section-subtitle i {
    margin-right: 10px;
    color: #0891b2;
}

.sbi-branches-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 12px;
}

.branch-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.branch-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.1);
    border-color: #1e40af;
    background: #f0f9ff;
}

.branch-card i {
    color: #1e40af;
    font-size: 12px;
}

.branch-card span {
    font-size: 11px;
    font-weight: 600;
    color: #374151;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 1200px) {
    .sbi-branches-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (max-width: 991px) {
    .main-clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sbi-branches-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .main-clients-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto 20px;
    }
    .sbi-branches-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .sbi-branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .branch-card span {
        font-size: 10px;
    }
}

/* =========================================================
   Modern Gallery (gallery/index.html)
   ========================================================= */
.page-template-page_fullwidth.page-id-5885 #content.page-wrap,
body.page-id-5885 #content.page-wrap {
    padding: 0 0 40px !important;
    overflow: visible !important;
}

body.page-id-5885 #primary.content-area-full-width,
body.page-id-5885 .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.rds-gallery-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
    color: #fff;
    padding: 56px 20px;
    text-align: center;
    margin: 0 0 8px;
}

.rds-gallery-banner-inner {
    max-width: 720px;
    margin: 0 auto;
}

.rds-gallery-banner h1 {
    margin: 0 0 10px;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.rds-gallery-banner p {
    margin: 0;
    color: #dbeafe;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.rds-gallery {
    --rds-blue: #1e40af;
    --rds-blue-deep: #1e3a5f;
    --rds-ink: #1a1a2e;
    --rds-muted: #6b7280;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 36px 15px 72px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    clear: both;
}

.rds-gallery *,
.rds-gallery *::before,
.rds-gallery *::after,
.rds-lightbox *,
.rds-lightbox *::before,
.rds-lightbox *::after {
    box-sizing: border-box;
}

.rds-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.rds-gallery-item {
    position: relative;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px;
    background: #e5e7eb !important;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    text-align: left;
    color: #fff;
    opacity: 1;
    float: none !important;
    clear: none !important;
    transform: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rds-gallery-item:hover,
.rds-gallery-item:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.rds-gallery-item:focus-visible {
    outline: 2px solid var(--rds-blue);
    outline-offset: 3px;
}

.rds-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block !important;
    margin: 0 !important;
    border: 0 !important;
    transition: transform 0.4s ease;
}

.rds-gallery-item:hover img,
.rds-gallery-item:focus-visible img {
    transform: scale(1.05);
}

.rds-video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.92);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
    transition: transform 0.3s ease, background 0.3s ease;
}

.rds-gallery-item.is-video:hover .rds-video-badge {
    transform: scale(1.08);
    background: rgba(30, 64, 175, 1);
}

.rds-play-icon {
    display: block;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid #fff;
    margin-left: 3px;
}

/* Lightbox */
body.rds-lightbox-open {
    overflow: hidden;
}

.rds-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(4px);
}

.rds-lightbox.is-open {
    display: flex;
    animation: rdsLightboxIn 0.28s ease;
}

@keyframes rdsLightboxIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.rds-lightbox-inner {
    width: min(960px, 100%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rds-lightbox-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    max-height: 75vh;
    overflow: hidden;
}

.rds-lightbox-media img,
.rds-lightbox-media video {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.rds-lightbox-video-placeholder {
    width: min(720px, 100%);
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, #1e3a5f, #1e40af 55%, #0f172a);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    padding: 24px;
}

.rds-lightbox-video-placeholder .rds-play-icon {
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 24px solid #fff;
    margin: 0 0 8px 4px;
}

.rds-lightbox-video-placeholder p {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.rds-lightbox-video-placeholder small {
    color: #bfdbfe;
    font-size: 13px;
}

.rds-lightbox-caption {
    margin: 0;
    text-align: center;
    color: #e5e7eb;
    font-size: 15px;
    font-weight: 500;
}

.rds-lightbox-close,
.rds-lightbox-prev,
.rds-lightbox-next,
button.rds-lightbox-close,
button.rds-lightbox-prev,
button.rds-lightbox-next {
    position: absolute !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    cursor: pointer;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    padding: 0 !important;
    border-radius: 6px !important;
    z-index: 2;
    transition: background 0.25s ease;
}

.rds-lightbox-close:hover,
.rds-lightbox-prev:hover,
.rds-lightbox-next:hover,
button.rds-lightbox-close:hover,
button.rds-lightbox-prev:hover,
button.rds-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.22) !important;
}

.rds-lightbox-close,
button.rds-lightbox-close {
    top: 18px;
    right: 18px;
    width: 44px !important;
    height: 44px !important;
    font-size: 28px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.rds-lightbox-prev,
.rds-lightbox-next,
button.rds-lightbox-prev,
button.rds-lightbox-next {
    top: 50%;
    width: 46px !important;
    height: 46px !important;
    margin-top: -23px;
    font-size: 22px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.rds-lightbox-prev,
button.rds-lightbox-prev { left: 16px; }
.rds-lightbox-next,
button.rds-lightbox-next { right: 16px; }

@media (max-width: 991px) {
    .rds-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .rds-gallery {
        padding: 24px 12px 56px;
    }

    .rds-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .rds-lightbox-prev,
    .rds-lightbox-next,
    button.rds-lightbox-prev,
    button.rds-lightbox-next {
        top: auto;
        bottom: 18px;
        margin-top: 0;
    }

    .rds-lightbox-prev,
    button.rds-lightbox-prev { left: 24px; }
    .rds-lightbox-next,
    button.rds-lightbox-next { right: 24px; }
}

/* =========================================================
   Clients page redesign (from approved preview)
   ========================================================= */
.rds-clients-page {
    --rds-c-blue: #1e40af;
    --rds-c-blue-deep: #152a4a;
    --rds-c-cyan: #0e7490;
    --rds-c-ink: #0f172a;
    --rds-c-muted: #475569;
    --rds-c-line: #dbe3ef;
    --rds-c-surface: #ffffff;
    --rds-c-soft: #e8eef8;
    --rds-c-display: "Outfit", "Inter", sans-serif;
    --rds-c-body: "Source Sans 3", "Inter", sans-serif;
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(30, 64, 175, 0.08), transparent 55%),
        radial-gradient(900px 420px at 100% 8%, rgba(14, 116, 144, 0.06), transparent 50%),
        #f3f6fb;
    margin: 0 -15px;
    font-family: var(--rds-c-body);
    color: var(--rds-c-ink);
}

.rds-clients-hero {
    position: relative;
    overflow: hidden;
    min-height: 42vh;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    padding: 72px 24px 64px;
    background:
        linear-gradient(160deg, rgba(10, 18, 36, 0.97) 0%, rgba(15, 30, 58, 0.95) 45%, rgba(20, 45, 110, 0.94) 100%),
        url("../assets/images/Page-title1.jpg") center / cover no-repeat;
}

.rds-clients-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    pointer-events: none;
}

.rds-clients-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.rds-clients-hero-brand {
    margin: 0 0 18px !important;
    font-family: var(--rds-c-display) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ffffff !important;
    line-height: 1.4 !important;
}

.rds-clients-hero h1 {
    margin: 0 0 14px !important;
    font-family: var(--rds-c-display) !important;
    font-size: clamp(40px, 7vw, 64px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: #ffffff !important;
}

.rds-clients-hero p {
    margin: 0 auto !important;
    max-width: 520px;
    font-size: 17px !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.rds-clients-hero-line {
    width: 56px;
    height: 2px;
    margin: 22px auto 0;
    background: linear-gradient(90deg, #67e8f9, #93c5fd);
}

.rds-clients-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 22px;
}

.rds-clients-partners {
    padding: 72px 0 28px;
    position: relative;
}

.rds-partners-intro {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.rds-clients-partners.is-inview .rds-partners-intro {
    opacity: 1;
    transform: translateY(0);
}

.rds-partners-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    vertical-align: 1px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55);
    animation: rdsPartnersPulse 1.8s ease-out infinite;
}

@keyframes rdsPartnersPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.rds-clients-kicker {
    margin: 0 0 10px;
    display: inline-flex;
    align-items: center;
    font-family: var(--rds-c-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rds-c-cyan);
}

.rds-clients-title {
    margin: 0 0 10px !important;
    font-family: var(--rds-c-display);
    font-size: clamp(28px, 4vw, 36px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em;
    color: var(--rds-c-blue-deep) !important;
}

.rds-clients-copy {
    margin: 0 0 36px;
    max-width: 540px;
    color: var(--rds-c-muted);
    font-size: 16px;
    line-height: 1.7;
}

.rds-partner-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--rds-c-line);
    background: var(--rds-c-surface);
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 40px rgba(15, 27, 48, 0.06);
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    transition:
        opacity 0.55s ease,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}

.rds-clients-partners.is-inview .rds-partner-board {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 18px 48px rgba(15, 27, 48, 0.09);
}

.rds-partner-board::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rds-c-blue), var(--rds-c-cyan), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 3;
    pointer-events: none;
}

.rds-clients-partners.is-inview .rds-partner-board::before {
    transform: scaleX(1);
}

.rds-partner-board::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 35%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-18deg);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.rds-clients-partners.is-inview .rds-partner-board::after {
    animation: rdsBoardShine 1.4s ease 0.55s both;
}

@keyframes rdsBoardShine {
    0% { left: -40%; opacity: 0; }
    20% { opacity: 0.7; }
    100% { left: 120%; opacity: 0; }
}

.rds-partner {
    position: relative;
    padding: 24px 22px 14px;
    text-align: left;
    background: var(--rds-c-surface);
    border-right: 1px solid var(--rds-c-line);
    transition:
        background 0.4s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
    min-height: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(28px) scale(0.96);
    z-index: 1;
    overflow: hidden;
}

.rds-clients-partners.is-inview .rds-partner {
    animation: rdsPartnerIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.18s + (var(--rds-i, 0) * 0.12s));
}

@keyframes rdsPartnerIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rds-partner:last-child { border-right: 0; }

.rds-partner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(30, 64, 175, 0.08), transparent 55%),
        linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(239, 246, 255, 0.65) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.rds-partner::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--rds-c-blue), var(--rds-c-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}

.rds-partner > * {
    position: relative;
    z-index: 1;
}

.rds-partner:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(30, 64, 175, 0.1);
    z-index: 2;
}

.rds-partner:hover::before {
    opacity: 1;
}

.rds-partner:hover::after {
    transform: scaleX(1);
}

.rds-partner-logo {
    width: 68px;
    height: 68px;
    margin: 0 0 18px;
    display: grid;
    place-items: center;
    border: 1px solid var(--rds-c-line);
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.rds-partner-logo::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(30, 64, 175, 0.22);
    opacity: 0;
    animation: none;
}

.rds-clients-partners.is-inview .rds-partner-logo::before {
    opacity: 1;
    animation: rdsLogoOrbit 10s linear infinite;
    animation-delay: calc(0.5s + (var(--rds-i, 0) * 0.15s));
}

@keyframes rdsLogoOrbit {
    to { transform: rotate(360deg); }
}

.rds-partner-logo::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(30, 64, 175, 0.28);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.rds-clients-partners.is-inview .rds-partner-logo::after {
    animation: rdsLogoRing 1.6s ease calc(0.35s + (var(--rds-i, 0) * 0.12s)) both;
}

@keyframes rdsLogoRing {
    0% { opacity: 0; transform: scale(0.9); }
    35% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.2); }
}

.rds-clients-partners.is-inview .rds-partner-logo {
    animation: rdsLogoFloat 3.6s ease-in-out infinite;
    animation-delay: calc(0.9s + (var(--rds-i, 0) * 0.2s));
}

@keyframes rdsLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.rds-partner:hover .rds-partner-logo {
    animation: none;
    transform: translateY(-5px) scale(1.06);
    border-color: #93c5fd;
    box-shadow: 0 12px 26px rgba(30, 64, 175, 0.16);
}

.rds-partner:hover .rds-partner-logo::before {
    border-color: rgba(14, 116, 144, 0.45);
    animation-duration: 4s;
}

.rds-partner-logo.soft {
    background: var(--rds-c-soft);
}

.rds-partner-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    margin: 0;
    max-width: none;
}

.rds-partner-logo i {
    font-size: 24px;
    color: var(--rds-c-blue);
}

.rds-partner-type {
    margin: 0 0 6px !important;
    font-family: var(--rds-c-display) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rds-c-cyan) !important;
    line-height: 1.2 !important;
}

.rds-partner h3 {
    margin: 0 0 8px !important;
    min-height: 2.25em;
    font-family: var(--rds-c-display) !important;
    font-size: 18px !important;
    font-weight: 650 !important;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--rds-c-ink) !important;
}

.rds-partner > p:not(.rds-partner-type) {
    margin: 0 0 2px !important;
    font-size: 13px !important;
    color: var(--rds-c-muted) !important;
    line-height: 1.45 !important;
}

.rds-clients-coverage {
    padding: 28px 0 80px;
}

.rds-cov {
    --rds-cov-rise: 18px;
    border: 1px solid var(--rds-c-line);
    background: var(--rds-c-surface);
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 27, 48, 0.08);
}

.rds-cov-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 0;
    color: #fff;
    background:
        linear-gradient(125deg, rgba(15, 27, 48, 0.96) 0%, rgba(21, 42, 74, 0.94) 48%, rgba(30, 64, 175, 0.9) 100%),
        radial-gradient(circle at 80% 20%, rgba(8, 145, 178, 0.35), transparent 42%);
    overflow: hidden;
}

.rds-cov-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%);
    pointer-events: none;
    animation: rdsCovGridDrift 18s linear infinite;
}

@keyframes rdsCovGridDrift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 42px 42px, 42px 42px; }
}

.rds-cov-intro,
.rds-cov-stat {
    position: relative;
    z-index: 1;
    padding: 40px 36px;
}

.rds-cov-kicker {
    margin: 0 0 12px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--rds-c-display) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7dd3fc !important;
    line-height: 1.3 !important;
}

.rds-cov-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.65);
    animation: rdsCovLivePulse 1.8s ease-out infinite;
}

@keyframes rdsCovLivePulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.65); }
    70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.rds-cov-intro h2 {
    margin: 0 0 12px !important;
    font-family: var(--rds-c-display) !important;
    font-size: clamp(26px, 3.4vw, 34px) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #ffffff !important;
}

.rds-cov-intro > p:not(.rds-cov-kicker) {
    margin: 0 !important;
    max-width: 440px;
    color: #dbeafe !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

.rds-cov-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.rds-cov-badge {
    font-family: var(--rds-c-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 11px;
    border: 1px solid rgba(147, 197, 253, 0.35);
    background: rgba(255,255,255,0.06);
    color: #e0f2fe;
}

.rds-cov-stat {
    border-left: 1px solid rgba(255,255,255,0.12);
    display: grid;
    place-content: center;
    justify-items: start;
    gap: 6px;
}

.rds-cov-orbits {
    position: absolute;
    right: 8%;
    top: 50%;
    width: 150px;
    height: 150px;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.55;
}

.rds-cov-orbits span {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(125, 211, 252, 0.35);
    border-radius: 50%;
    animation: rdsCovSpinSlow 14s linear infinite;
}

.rds-cov-orbits span:nth-child(2) {
    inset: 18px;
    animation-duration: 10s;
    animation-direction: reverse;
    border-color: rgba(96, 165, 250, 0.4);
}

.rds-cov-orbits span:nth-child(3) {
    inset: 36px;
    animation-duration: 7s;
    border-color: rgba(34, 211, 238, 0.45);
}

.rds-cov-orbits i {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #67e8f9;
    top: 0;
    left: 50%;
    margin-left: -4px;
    box-shadow: 0 0 12px rgba(103, 232, 249, 0.8);
    font-style: normal;
}

@keyframes rdsCovSpinSlow {
    to { transform: rotate(360deg); }
}

.rds-cov-num {
    font-family: var(--rds-c-display);
    font-size: clamp(52px, 7vw, 72px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.95;
    background: linear-gradient(180deg, #fff 20%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rds-cov-num-label {
    font-size: 14px;
    color: #bfdbfe;
    font-weight: 500;
}

.rds-cov-states {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.rds-cov-state {
    padding: 28px 28px 30px;
    background: #fff;
    transition: background 0.35s ease;
}

.rds-cov-state:hover {
    background: linear-gradient(180deg, #fff 0%, #f5f8fd 100%);
}

.rds-cov-state + .rds-cov-state {
    border-left: 1px solid var(--rds-c-line);
}

.rds-cov-state-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rds-c-soft);
}

.rds-cov-state-head h3 {
    margin: 0 !important;
    font-family: var(--rds-c-display) !important;
    font-size: 17px !important;
    font-weight: 650 !important;
    color: var(--rds-c-ink) !important;
}

.rds-cov-count {
    font-family: var(--rds-c-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rds-c-cyan);
    background: #ecfeff;
    border: 1px solid #a5f3fc;
    padding: 5px 9px;
}

.rds-cov-locs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rds-cov-locs li {
    position: relative;
    margin: 0;
    padding: 8px 12px 8px 26px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    opacity: 0;
    transform: translateY(10px);
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.rds-cov.is-inview .rds-cov-locs li {
    animation: rdsCovChipIn 0.45s ease forwards;
}

.rds-cov-locs li::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--rds-c-blue);
    opacity: 0.55;
}

.rds-cov-locs li:hover {
    color: var(--rds-c-blue);
    background: #eff6ff;
    border-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(30, 64, 175, 0.1);
}

.rds-cov-locs li:hover::before {
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

@keyframes rdsCovChipIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rds-cov-intro,
.rds-cov-stat-inner {
    opacity: 0;
    transform: translateY(var(--rds-cov-rise));
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.rds-cov.is-inview .rds-cov-intro,
.rds-cov.is-inview .rds-cov-stat-inner {
    opacity: 1;
    transform: translateY(0);
}

.rds-cov.is-inview .rds-cov-stat-inner {
    transition-delay: 0.12s;
}

@media (max-width: 960px) {
    .rds-partner-board { grid-template-columns: 1fr 1fr; }
    .rds-partner:nth-child(2n) { border-right: 0; }
    .rds-partner:nth-child(-n+2) { border-bottom: 1px solid var(--rds-c-line); }
    .rds-cov-hero,
    .rds-cov-states { grid-template-columns: 1fr; }
    .rds-cov-stat,
    .rds-cov-state + .rds-cov-state {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,0.12);
    }
    .rds-cov-state + .rds-cov-state { border-top-color: var(--rds-c-line); }
    .rds-cov-orbits { display: none; }
}

@media (max-width: 640px) {
    .rds-clients-page { margin: 0; }
    .rds-partner-board { grid-template-columns: 1fr; }
    .rds-partner {
        border-right: 0;
        border-bottom: 1px solid var(--rds-c-line);
        min-height: 0;
    }
    .rds-partner:last-child { border-bottom: 0; }
    .rds-clients-hero { min-height: 36vh; padding: 56px 20px 48px; }
    .rds-cov-intro,
    .rds-cov-stat { padding: 32px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .rds-cov-hero::before,
    .rds-cov-pulse,
    .rds-cov-orbits span,
    .rds-partner-logo::after,
    .rds-partner-logo::before,
    .rds-partners-pulse,
    .rds-partner-board::after { animation: none !important; }
    .rds-cov-locs li,
    .rds-cov-intro,
    .rds-cov-stat-inner,
    .rds-partners-intro,
    .rds-partner,
    .rds-partner-board,
    .rds-partner-board::before,
    .rds-partner-logo {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}
