/* Custom Modern Styling for CYMS Index Section Overhaul */

:root {
    --primary-bg-soft: rgba(0, 82, 204, 0.1);
    --success-bg-soft: rgba(40, 167, 69, 0.1);
    --info-bg-soft: rgba(23, 162, 184, 0.1);
    --warning-bg-soft: rgba(255, 193, 7, 0.1);
    --theme-colored: #0052cc;
    --theme-colored-rgb: 0, 82, 204;
}

.rounded-20 {
    border-radius: 20px !important;
}

.rounded-15 {
    border-radius: 15px !important;
}

.rounded-30 {
    border-radius: 30px !important;
}

.transition-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-up:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.bg-primary-soft {
    background-color: var(--primary-bg-soft) !important;
}

.bg-success-soft {
    background-color: var(--success-bg-soft) !important;
}

.bg-info-soft {
    background-color: var(--info-bg-soft) !important;
}

.bg-warning-soft {
    background-color: var(--warning-bg-soft) !important;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.grayscale-filter {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.grayscale-filter:hover {
    filter: grayscale(0%);
}

.btn-theme-colored {
    background-color: var(--theme-colored);
    border-color: var(--theme-colored);
    color: #fff;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-theme-colored:hover {
    background-color: #0041a3;
    border-color: #0041a3;
    color: #fff;
    transform: scale(1.05);
}

.shadow-premium {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

.leader-card:hover img {
    border-color: var(--theme-colored) !important;
    transform: scale(1.05);
}

.leader-card img {
    transition: all 0.3s ease;
}

.object-fit-cover {
    object-fit: cover !important;
}

.min-h-200 {
    min-height: 200px;
}

.border-white-50 {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.tracking-widest {
    letter-spacing: 0.15em;
}

.italic {
    font-style: italic;
}

.section-nav {
    position: sticky;
    top: 90px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

.section-nav .nav-link {
    color: #555;
    font-weight: 600;
    font-size: 14px;
    padding: 15px 10px;
    border-bottom: 2px solid transparent;
}

.section-nav .nav-link:hover,
.section-nav .nav-link.active {
    color: var(--theme-colored);
    border-bottom-color: var(--theme-colored);
}

.icon-box-modern {
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.icon-box-modern:hover {
    border-color: transparent;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.heading-line {
    position: relative;
    padding-bottom: 15px;
}

.heading-line::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--theme-colored);
}

/* Custom styles for Who We Are page */
.dg-quote {
    font-size: 22px;
    line-height: 1.6;
    color: #444;
    font-family: 'Outfit', sans-serif !important;
}

/* Leadership Spotlight Enhancements */
.leadership-card .card-inner {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.leadership-card:hover .card-inner {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15) !important;
}

.hover-scale {
    transition: transform 0.5s ease;
}

.leadership-card:hover .hover-scale {
    transform: scale(1.1);
}

.glass-box {
    background: rgba(0, 0, 0, 0.7);
    /* Increased dark overlay for clarity */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.bg-gold-gradient {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}

.bg-silver-gradient {
    background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
}

.card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
}

.fw-extrabold {
    font-weight: 800 !important;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.bg-light-gradient {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

.font-14 {
    font-size: 14px;
}

.bg-white-10 {
    background: rgba(255, 255, 255, 0.1) !important;
}

.bg-white-20 {
    background: rgba(255, 255, 255, 0.2) !important;
}

.border-white-5 {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-white-10 {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.font-weight-500 {
    font-weight: 500 !important;
}

.line-height-1 {
    line-height: 1 !important;
}