html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* AMPERA Brand Modal Styling */
.modal-backdrop {
    background-color: rgba(30, 68, 135, 0.85);
    backdrop-filter: blur(4px);
}

.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(30, 68, 135, 0.3);
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
}

.modal-header {
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
    border-bottom: none;
    padding: 24px 32px;
    color: #ffffff;
}

.modal-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}

.btn-close {
    background: transparent;
    opacity: 1 !important;
    filter: none !important;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 0.9em !important;
    border: none !important;
}

.btn-close:hover {
    opacity: 1 !important;
    transform: rotate(90deg);
    filter: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
}

.modal-body {
    padding: 32px;
    background: #ffffff;
    color: #3d4653;
    font-size: 1rem;
    line-height: 1.7;
}

.modal-body h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e4487;
    margin-top: 16px;
    margin-bottom: 8px;
}

.modal-body h6 {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #22b4d7;
    margin-bottom: 16px;
    line-height: 1.5;
}

.modal-body p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #3d4653;
    line-height: 1.7;
    margin-bottom: 16px;
}

.modal-body p:last-of-type {
    margin-bottom: 24px;
}

.modal-body ul {
    margin-top: 16px;
    margin-bottom: 24px;
    padding-left: 24px;
}

.modal-body ul li {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #3d4653;
    line-height: 1.7;
    margin-bottom: 12px;
}

.modal-body ul li b {
    font-weight: 600;
    color: #1e4487;
}

.modal-body img {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(30, 68, 135, 0.15);
    margin-bottom: 16px;
}

/* Grayscale filter for Our Team modal images */
#abhiModal .modal-body img,
#silkyModal .modal-body img,
#arundhatiModal .modal-body img,
#taniaModal .modal-body img,
#meghnaModal .modal-body img,
#anghsumanModal .modal-body img,
#deepaModal .modal-body img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.modal-body .btn-secondary {
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
    border: none;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 68, 135, 0.2);
}

.modal-body .btn-secondary:hover {
    background: linear-gradient(135deg, #1883c2 0%, #22b4d7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 68, 135, 0.3);
    color: #ffffff;
}

.modal-body .btn-secondary:active {
    transform: translateY(0);
}

.modal-body em {
    font-style: italic;
    color: #1883c2;
    font-size: 0.9375rem;
}

/* Responsive Modal Design */
@media (max-width: 992px) {
    .modal-dialog {
        margin: 16px;
        max-width: calc(100% - 32px);
    }
    
    .modal-header {
        padding: 20px 24px;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .modal-body h3 {
        font-size: 1.25rem;
    }
    
    .modal-body h6 {
        font-size: 0.875rem;
    }
    
    .modal-body p,
    .modal-body ul li {
        font-size: 0.9375rem;
    }
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 8px;
        max-width: calc(100% - 16px);
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-title {
        font-size: 1.125rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-body .row {
        flex-direction: column;
    }
    
    .modal-body .col-md-3 {
        width: 100%;
        max-width: 200px;
        margin: 0 auto 24px;
    }
    
    .modal-body .col-md-9 {
        width: 100%;
    }
    
    .modal-body h3 {
        font-size: 1.125rem;
        text-align: center;
    }
    
    .modal-body h6 {
        font-size: 0.875rem;
        text-align: center;
    }
    
    .modal-body .btn-secondary {
        width: 100%;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .modal-dialog {
        margin: 4px;
        max-width: calc(100% - 8px);
    }
    
    .modal-header {
        padding: 14px 16px;
    }
    
    .modal-title {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .modal-body h3 {
        font-size: 1rem;
    }
    
    .modal-body h6 {
        font-size: 0.8125rem;
    }
    
    .modal-body p,
    .modal-body ul li {
        font-size: 0.875rem;
    }
    
    .modal-body ul {
        padding-left: 20px;
    }
    
    .btn-close {
        width: 20px;
        height: 20px;
        background-size: 0.8em !important;
    }
}

/* City Ticker Section */
.city-ticker-section {
    padding: 16px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f7fa 100%);
    overflow: hidden;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.city-ticker-container {
    width: 100%;
    overflow: hidden;
}

.city-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Gradient fade edges */
.city-ticker-wrapper::before,
.city-ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.city-ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
}

.city-ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
}

.city-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    animation: cityTickerScroll 60s linear infinite;
    transition: animation-play-state 0.3s ease;
}

/* Hover pause */
.city-ticker-section:hover .city-ticker-track {
    animation-play-state: paused;
}

.city-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3d4653;
    white-space: nowrap;
    transition: color 0.3s ease, transform 0.2s ease;
    cursor: default;
}

/* City highlight on hover */
.city-ticker-section:hover .city-name:hover {
    color: #22b4d7;
    transform: scale(1.05);
    font-weight: 600;
}

.city-separator {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    color: #22b4d7;
    font-weight: 600;
}

@keyframes cityTickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .city-ticker-section {
        padding: 12px 0;
    }
    
    .city-name {
        font-size: 0.8125rem;
    }
    
    .city-separator {
        font-size: 0.8125rem;
    }
    
    .city-ticker-track {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .city-ticker-section {
        padding: 10px 0;
    }
    
    .city-name {
        font-size: 0.75rem;
    }
    
    .city-separator {
        font-size: 0.75rem;
    }
    
    .city-ticker-track {
        gap: 8px;
    }
}

/* Our Clients Ticker Section */
.clients-ticker-section {
    padding: 40px 0 25px 0;
    background-color: #f8f9fa;
    overflow: hidden;
    position: relative;
    border-top: 2px solid #e5e7eb;
    border-bottom: 2px solid #e5e7eb;
    margin-top: 0;
}

.clients-ticker-header {
    text-align: center;
    margin-bottom: 20px;
}

.clients-ticker-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #22b4d7;
    font-family: 'Open Sans', sans-serif;
}

.clients-ticker-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.clients-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1e4487;
    white-space: nowrap;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Gradient overlays for smooth fade effect */
.clients-ticker-wrapper::before,
.clients-ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.clients-ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
}

.clients-ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
}

.clients-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    animation: clientsTickerScroll 80s linear infinite;
    transition: animation-play-state 0.3s ease;
    will-change: transform;
}

/* Hover pause */
.clients-ticker-section:hover .clients-ticker-track {
    animation-play-state: paused;
}

.client-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 140px;
    padding: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-logo {
    max-height: 60px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.8);
    mix-blend-mode: multiply;
    transition: filter 0.3s ease, transform 0.3s ease, mix-blend-mode 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Logo hover effect */
.clients-ticker-section:hover .client-logo-item:hover .client-logo {
    filter: grayscale(0%) opacity(1);
    mix-blend-mode: normal;
    transform: scale(1.1);
}

@keyframes clientsTickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%); /* Move exactly one set (with 3 sets total) */
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .clients-ticker-section {
        padding: 35px 0 20px 0;
    }
    
    .clients-ticker-header {
        margin-bottom: 18px;
    }
    
    .clients-ticker-label {
        font-size: 0.6875rem;
    }
    
    .clients-ticker-wrapper {
        padding: 8px 0;
    }
    
    #expertise.section {
        padding: 60px 0 25px 0;
    }
    
    .clients-label {
        font-size: 0.9375rem;
        margin-right: 15px;
    }
    
    .client-logo-item {
        height: 55px;
        width: 130px;
    }
    
    .client-logo {
        max-height: 55px;
        max-width: 110px;
    }
    
    .clients-ticker-track {
        gap: 35px;
    }
    
    .clients-ticker-wrapper {
        padding: 12px 0;
    }
    
    .clients-ticker-wrapper::before,
    .clients-ticker-wrapper::after {
        width: 80px;
    }
}

@media (max-width: 768px) {
    .clients-ticker-section {
        padding: 30px 0 18px 0;
    }
    
    .clients-ticker-header {
        margin-bottom: 16px;
    }
    
    .clients-ticker-label {
        font-size: 0.625rem;
    }
    
    .clients-ticker-wrapper {
        padding: 8px 0;
    }
    
    #expertise.section {
        padding: 50px 0 20px 0;
    }
    
    .clients-label {
        font-size: 0.875rem;
        margin-right: 12px;
    }
    
    .client-logo-item {
        height: 50px;
        width: 120px;
    }
    
    .client-logo {
        max-height: 50px;
        max-width: 100px;
    }
    
    .clients-ticker-track {
        gap: 30px;
    }
    
    .clients-ticker-wrapper {
        padding: 10px 0;
    }
    
    .clients-ticker-wrapper::before,
    .clients-ticker-wrapper::after {
        width: 60px;
    }
    
    .clients-ticker-track {
        animation-duration: 70s;
    }
    
    @keyframes clientsTickerScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-33.333%); /* Move exactly one set (with 3 sets total) */
        }
    }
}

@media (max-width: 480px) {
    .clients-ticker-section {
        padding: 25px 0 15px 0;
    }
    
    .clients-ticker-header {
        margin-bottom: 14px;
    }
    
    .clients-ticker-label {
        font-size: 0.5625rem;
    }
    
    .clients-ticker-wrapper {
        padding: 6px 0;
    }
    
    #expertise.section {
        padding: 40px 0 15px 0;
    }
    
    .clients-label {
        font-size: 0.8125rem;
        margin-right: 10px;
    }
    
    .client-logo-item {
        height: 45px;
        width: 110px;
    }
    
    .client-logo {
        max-height: 45px;
        max-width: 85px;
    }
    
    .clients-ticker-track {
        gap: 25px;
    }
    
    .clients-ticker-wrapper {
        padding: 8px 0;
    }
    
    .clients-ticker-wrapper::before,
    .clients-ticker-wrapper::after {
        width: 50px;
    }
    
    .clients-ticker-track {
        animation-duration: 60s;
    }
    
    @keyframes clientsTickerScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-33.333%); /* Move exactly one set (with 3 sets total) */
        }
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .clients-ticker-track {
        animation: none;
    }
    
    .clients-ticker-section:hover .clients-ticker-track {
        animation-play-state: running;
    }
}

/* Let's Talk Section - Compact Modern Design */
.lets-talk-section {
    padding: 35px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* Animated Gradient Background */
.lets-talk-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 68, 135, 0.02) 0%, rgba(24, 131, 194, 0.02) 50%, rgba(34, 180, 215, 0.02) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.lets-talk-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.lets-talk-header {
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
}

.lets-talk-main-heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1e4487;
    margin-bottom: 6px;
    width: 100%;
    position: relative;
    display: inline-block;
}

.lets-talk-main-heading::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
    border-radius: 2px;
    animation: underlineExpand 0.8s ease;
}

@keyframes underlineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 60px;
    }
}

.lets-talk-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #3d4653;
    margin: 8px 0 0 0;
    width: 100%;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

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

/* Content Wrapper - Split Layout */
.lets-talk-content-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

/* Sidebar - Contact Info */
.lets-talk-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 100px;
}

/* Contact Item - Compact Design */
.lets-talk-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e8e9ea;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(30, 68, 135, 0.06);
    animation: slideInLeft 0.6s ease backwards;
}

.lets-talk-contact-item:nth-child(1) {
    animation-delay: 0.1s;
}

.lets-talk-contact-item:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.lets-talk-contact-item-highlighted {
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
    border-color: #1e4487;
    box-shadow: 0 4px 16px rgba(30, 68, 135, 0.25);
}

.lets-talk-contact-item-highlighted .lets-talk-contact-content strong,
.lets-talk-contact-item-highlighted .lets-talk-contact-content .contact-link {
    color: #ffffff;
}

.lets-talk-contact-item-highlighted .lets-talk-contact-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.lets-talk-contact-item-highlighted:hover {
    background: linear-gradient(135deg, #1883c2 0%, #22b4d7 100%);
    border-color: #1883c2;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 68, 135, 0.3);
}

.lets-talk-contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 68, 135, 0.06), transparent);
    transition: left 0.5s ease;
}

.lets-talk-contact-item:hover::before {
    left: 100%;
}

.lets-talk-contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 68, 135, 0.12);
    border-color: #1e4487;
}

.lets-talk-contact-item:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(30, 68, 135, 0.08);
}

.lets-talk-contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e4487;
    background: rgba(30, 68, 135, 0.1);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.lets-talk-contact-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lets-talk-contact-icon svg {
    position: relative;
    z-index: 1;
}

.lets-talk-contact-item:hover .lets-talk-contact-icon::before {
    opacity: 1;
}

.lets-talk-contact-item:hover .lets-talk-contact-icon {
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.lets-talk-contact-item:hover .lets-talk-contact-icon {
    background: rgba(30, 68, 135, 0.15);
    transform: scale(1.05);
}

.lets-talk-contact-item[data-type="phone"]:hover .lets-talk-contact-icon svg {
    animation: phoneRing 0.6s ease;
}

.lets-talk-contact-item[data-type="email"]:hover .lets-talk-contact-icon svg {
    animation: envelopeOpen 0.4s ease;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

@keyframes envelopeOpen {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(0.8); }
    100% { transform: scaleY(1); }
}

.lets-talk-contact-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.lets-talk-contact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    min-width: 0;
}

.lets-talk-contact-content strong {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e4487;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    transition: color 0.3s ease;
}

.lets-talk-contact-item:hover .lets-talk-contact-content strong {
    color: #1883c2;
}

.lets-talk-contact-content .contact-link {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3d4653;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.6;
    word-break: break-word;
    position: relative;
}

.lets-talk-contact-item:hover .lets-talk-contact-content .contact-link {
    color: #1e4487;
}

.lets-talk-contact-content .contact-link:hover {
    color: #1e4487;
}

.lets-talk-contact-content .copy-feedback {
    font-size: 0.65rem;
    color: #22b4d7;
    opacity: 0;
    transform: translateY(-3px);
    transition: all 0.3s ease;
    font-weight: 500;
    margin-top: 2px;
}

.lets-talk-contact-item.copied .copy-feedback {
    opacity: 1;
    transform: translateY(0);
}

.lets-talk-contact-item.copied {
    border-color: #22b4d7;
    background: rgba(34, 180, 215, 0.05);
}

.lets-talk-contact-content span {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #3d4653;
    line-height: 1.5;
}

.lets-talk-address-text {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #3d4653;
    line-height: 1.5;
    margin-bottom: 0;
}

.lets-talk-directions-link {
    display: inline-block;
    font-size: 0.75rem;
    color: #22b4d7;
    text-decoration: none;
    margin-top: 6px;
    transition: color 0.3s ease;
    font-weight: 500;
    font-family: 'Open Sans', sans-serif;
}

.lets-talk-directions-link:hover {
    color: #1e4487;
    text-decoration: underline;
}

/* Form Section */
.lets-talk-form-wrapper {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(30, 68, 135, 0.08);
    border: 1px solid #e8e9ea;
    animation: slideInRight 0.6s ease 0.2s backwards;
    position: relative;
    overflow: hidden;
}

.lets-talk-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 68, 135, 0.02), transparent);
    transition: left 0.6s ease;
}

.lets-talk-form-wrapper:hover::before {
    left: 100%;
}

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

.lets-talk-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.lets-talk-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.lets-talk-form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

/* Form Label Styles */
.floating-label-group {
    position: relative;
}

.lets-talk-form-group .form-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e4487;
    margin-bottom: 6px;
    display: block;
    transition: color 0.3s ease;
}

.floating-label-group:focus-within .form-label {
    color: #1883c2;
}

.lets-talk-form-group .required {
    color: #e74c3c;
}

.lets-talk-form .form-control {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    padding: 10px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    color: #3d4653;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.lets-talk-form .form-control::placeholder {
    color: #adb5bd;
}

.lets-talk-form .form-control:hover {
    border-color: #1883c2;
}

.lets-talk-form .form-control:focus {
    outline: none;
    border-color: #1e4487;
    box-shadow: 0 0 0 3px rgba(30, 68, 135, 0.1);
    transform: translateY(-1px);
}

.lets-talk-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
    padding: 10px 14px;
}

/* Validation Icons */
.validation-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.floating-label-group.valid .validation-icon::after {
    content: '✓';
    color: #22b4d7;
    font-size: 14px;
    font-weight: bold;
    animation: checkmarkPop 0.3s ease;
}

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

.floating-label-group.invalid .validation-icon::after {
    content: '✕';
    color: #e74c3c;
    font-size: 14px;
    font-weight: bold;
    animation: shake 0.3s ease;
}

.floating-label-group.valid .validation-icon,
.floating-label-group.invalid .validation-icon {
    opacity: 1;
}

.floating-label-group.valid .form-control {
    border-color: #22b4d7;
}

.floating-label-group.invalid .form-control {
    border-color: #e74c3c;
}

/* Character Count */
.char-count {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.7rem;
    color: #999;
    font-family: 'Open Sans', sans-serif;
}

/* Submit Button - Enhanced */
.lets-talk-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 16px 0 0 0;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(30, 68, 135, 0.25);
    position: relative;
    overflow: hidden;
}

.lets-talk-submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.lets-talk-submit-btn:hover::after {
    width: 300px;
    height: 300px;
}

.lets-talk-submit-btn .btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.lets-talk-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.lets-talk-submit-btn:active::before {
    width: 300px;
    height: 300px;
}

.lets-talk-submit-btn .btn-text {
    transition: opacity 0.3s ease;
}

.lets-talk-submit-btn .btn-spinner,
.lets-talk-submit-btn .btn-check {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.lets-talk-submit-btn:hover {
    background: linear-gradient(135deg, #1883c2 0%, #22b4d7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 68, 135, 0.35);
}

.lets-talk-submit-btn:hover .btn-icon {
    transform: translateX(4px) rotate(-15deg);
}

.lets-talk-submit-btn .btn-text {
    position: relative;
    z-index: 1;
}

.lets-talk-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(30, 68, 135, 0.25);
}

/* Loading State */
.lets-talk-submit-btn.loading {
    cursor: wait;
    pointer-events: none;
}

.lets-talk-submit-btn.loading .btn-text {
    opacity: 0.7;
}

.lets-talk-submit-btn.loading .btn-icon {
    display: none;
}

.lets-talk-submit-btn.loading .btn-spinner {
    display: block !important;
}

/* Success State */
.lets-talk-submit-btn.success {
    background: linear-gradient(135deg, #22b4d7 0%, #1e4487 100%);
    animation: successPulse 0.6s ease;
}

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

.lets-talk-submit-btn.success .btn-text {
    opacity: 0;
}

.lets-talk-submit-btn.success .btn-icon {
    display: none;
}

.lets-talk-submit-btn.success .btn-spinner {
    display: none !important;
}

.lets-talk-submit-btn.success .btn-check {
    display: block !important;
    animation: checkmarkDraw 0.5s ease;
}

@keyframes checkmarkDraw {
    0% {
        stroke-dasharray: 0 20;
        stroke-dashoffset: 20;
    }
    100% {
        stroke-dasharray: 20 0;
        stroke-dashoffset: 0;
    }
}

.lets-talk-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Thank You Modal Styling */
.thank-you-modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
}

.thank-you-modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(30, 68, 135, 0.3);
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
}

.thank-you-modal-header {
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
    border-bottom: none;
    padding: 32px 32px 24px;
    color: #ffffff;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.thank-you-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: checkmarkAnimation 0.6s ease-in-out;
}

.thank-you-icon-wrapper svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
    stroke-width: 3;
}

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

.thank-you-modal-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
}

.thank-you-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    opacity: 0.9;
    filter: invert(1) grayscale(100%) brightness(200%);
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: none;
}

.thank-you-close-btn:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.thank-you-modal-body {
    padding: 32px;
    background: #ffffff;
    text-align: center;
}

.thank-you-message {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: #3d4653;
    line-height: 1.7;
    margin: 0;
}

.thank-you-modal-footer {
    border-top: 1px solid #e0e0e0;
    padding: 20px 32px;
    background: #f8f9fa;
    justify-content: center;
}

.thank-you-close-button {
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 10px 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 68, 135, 0.2);
}

.thank-you-close-button:hover {
    background: linear-gradient(135deg, #1883c2 0%, #22b4d7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 68, 135, 0.3);
    color: #ffffff;
}

.thank-you-close-button:active {
    transform: translateY(0);
}

/* Thank You Modal Responsive */
@media (max-width: 768px) {
    .thank-you-modal-dialog {
        max-width: 90%;
        margin: 1rem auto;
    }
    
    .thank-you-modal-header {
        padding: 24px 24px 20px;
        gap: 12px;
    }
    
    .thank-you-icon-wrapper {
        width: 56px;
        height: 56px;
    }
    
    .thank-you-icon-wrapper svg {
        width: 28px;
        height: 28px;
    }
    
    .thank-you-modal-title {
        font-size: 1.5rem;
    }
    
    .thank-you-modal-body {
        padding: 24px;
    }
    
    .thank-you-message {
        font-size: 1rem;
    }
    
    .thank-you-modal-footer {
        padding: 16px 24px;
    }
    
    .thank-you-close-button {
        font-size: 0.875rem;
        padding: 9px 28px;
    }
}

@media (max-width: 480px) {
    .thank-you-modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }
    
    .thank-you-modal-header {
        padding: 20px 20px 16px;
        gap: 10px;
    }
    
    .thank-you-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    
    .thank-you-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }
    
    .thank-you-modal-title {
        font-size: 1.25rem;
    }
    
    .thank-you-close-btn {
        width: 28px;
        height: 28px;
        top: 12px;
        right: 12px;
    }
    
    .thank-you-modal-body {
        padding: 20px;
    }
    
    .thank-you-message {
        font-size: 0.9375rem;
    }
    
    .thank-you-modal-footer {
        padding: 14px 20px;
    }
    
    .thank-you-close-button {
        font-size: 0.8125rem;
        padding: 8px 24px;
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .lets-talk-container {
        padding: 0 24px;
        max-width: 100%;
    }
    
    .lets-talk-header {
        margin-bottom: 20px;
    }
    
    .lets-talk-main-heading {
        font-size: 1.75rem;
        margin-bottom: 6px;
    }
    
    .lets-talk-subtitle {
        font-size: 0.9375rem;
    }
    
    .lets-talk-content-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
    }
    
    .lets-talk-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .lets-talk-form-wrapper {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .lets-talk-section {
        padding: 40px 0;
    }
    
    .lets-talk-container {
        padding: 0 20px;
    }
    
    .lets-talk-main-heading {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    
    .lets-talk-content-wrapper {
        gap: 20px;
    }
    
    .lets-talk-sidebar {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .lets-talk-contact-item {
        padding: 12px;
    }
    
    .lets-talk-contact-icon {
        width: 32px;
        height: 32px;
    }
    
    .lets-talk-contact-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .lets-talk-form-wrapper {
        padding: 20px;
    }
    
    .lets-talk-form {
        gap: 14px;
    }
    
    .lets-talk-form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .lets-talk-section {
        padding: 32px 0;
    }
    
    .lets-talk-container {
        padding: 0 16px;
    }
    
    .lets-talk-header {
        margin-bottom: 24px;
    }
    
    .lets-talk-main-heading {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }
    
    .lets-talk-subtitle {
        font-size: 0.875rem;
    }
    
    .lets-talk-content-wrapper {
        gap: 16px;
    }
    
    .lets-talk-contact-item {
        padding: 10px;
        gap: 8px;
    }
    
    .lets-talk-contact-icon {
        width: 28px;
        height: 28px;
    }
    
    .lets-talk-contact-content strong {
        font-size: 0.7rem;
    }
    
    .lets-talk-contact-content .contact-link {
        font-size: 0.75rem;
    }
    
    .lets-talk-form-wrapper {
        padding: 16px;
        border-radius: 10px;
    }
    
    .lets-talk-form {
        gap: 12px;
    }
    
    .lets-talk-form-row {
        gap: 12px;
    }
    
    .lets-talk-form .form-control {
        font-size: 0.8125rem;
        padding: 12px 10px 4px 10px;
    }
    
    .lets-talk-form textarea.form-control {
        min-height: 80px;
    }
    
    .lets-talk-submit-btn {
        padding: 10px 20px;
        font-size: 0.8125rem;
    }
}

/* Footer */
.site-footer {
    width: 100%;
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
    padding: 16px 0;
    margin: 0;
}

.site-footer-content {
    max-width: 100%;
    text-align: center;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 12px 0;
    }
    
    .site-footer-content {
        font-size: 0.8125rem;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 10px 0;
    }
    
    .site-footer-content {
        font-size: 0.75rem;
        padding: 0 12px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    color: white;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box;
    /* Ensure no parent container constraints */
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100%;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    will-change: transform;
    /* Ensure edge-to-edge on all devices */
    left: 0 !important;
    right: 0 !important;
    max-width: 100% !important;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    opacity: 1;
    display: block;
    background: #000;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    will-change: opacity;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    display: block; /* Show as fallback */
    margin: 0;
    padding: 0;
}

/* Hero logo overlay removed - navbar appears on scroll */

/* Show fallback image if video fails to load */
.hero-background .hero-video:not([src]) ~ .hero-background-image {
    display: block;
}

/* Hide image when video is playing */
.hero-video:not([paused]) ~ .hero-background-image {
    display: none;
}

/* Fallback when video element doesn't exist or fails */
.no-video .hero-background-image,
.hero-video[poster] ~ .hero-background-image {
    display: block;
}

@keyframes heroZoom {
    0% {
        transform: scale(1) translateX(0);
    }
    100% {
        transform: scale(1.15) translateX(2%);
    }
}

@keyframes heroPan {
    0% {
        background-position: center center;
    }
    50% {
        background-position: 60% 40%;
    }
    100% {
        background-position: 40% 60%;
    }
}

/* Blue overlay and text removed - only video remains */
/* .hero-overlay, .hero-content, .hero-title, .hero-word styles removed */

/* Blue particle effects removed */
/* .hero-background::before and ::after removed */

.hero-scroll-indicator {
    position: absolute;
    bottom: 20px;
    right: 40px;
    z-index: 4;
    animation: scrollBounce 2s ease-in-out infinite;
    will-change: transform;
    transition: opacity 0.3s ease;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-scroll-indicator {
        animation: none;
    }
}

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

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid rgba(255, 255, 255, 0.95);
    transform: rotate(45deg);
    /* Strong drop shadow for visibility on both blue and white backgrounds */
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7)) 
            drop-shadow(0 0 4px rgba(0, 0, 0, 0.5))
            drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.3));
}

/* Hero text styles removed - only video remains */
    .hero-tagline span {
        padding: 0.4rem 1rem;
    }
}
@media (max-width: 992px) {
    .navbar-nav .nav-link {
        width: 100%;
    }
}
.section {
    padding: 100px 0;
}

#expertise.section {
    padding: 60px 0 40px 0;
}

/* About Section - Asymmetric Overlap Layout */
.about-asymmetric {
    position: relative;
    padding: 80px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.about-asymmetric-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.about-image-block {
    position: absolute;
    left: 0;
    top: 0;
    width: 60%;
    height: 100%;
    overflow: hidden;
    border-radius: 0 16px 16px 0;
}

.about-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.about-card {
    position: relative;
    z-index: 2;
    width: 55%;
    margin-left: auto;
    margin-right: 5%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(30, 68, 135, 0.15), 
                0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 0;
    transform: translateX(0);
}

.about-card-inner {
    padding: 50px 50px 50px 60px;
}

/* Accent bar on the left of the card */
.about-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    width: 5px;
    background: linear-gradient(180deg, #22b4d7 0%, #1883c2 50%, #1e4487 100%);
    border-radius: 0 3px 3px 0;
}

.about-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #22b4d7;
    margin-bottom: 16px;
    font-family: 'Open Sans', sans-serif;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e4487;
    margin-bottom: 24px;
    font-family: 'Open Sans', sans-serif;
}

.about-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #3d4653;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
}

.about-description:last-child {
    margin-bottom: 0;
}

/* About Section Animations - Parallax + Card Slide-In */

/* Image parallax container setup - Optimized */
.about-image-block {
    will-change: transform;
    transition: transform 0.1s linear;
    transform: translateZ(0); /* Force GPU acceleration */
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .about-image-block {
        will-change: auto;
        transform: none !important;
    }
    
    .about-card {
        transition: opacity 0.3s ease;
    }
}

.about-image-block img {
    transform: scale(1.1); /* Slightly larger for parallax room */
    transition: transform 0.5s ease-out;
}

/* Card initial state - hidden off to the right */
.about-card {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Accent bar initial state - zero height */
.about-card::before {
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

/* Text elements initial state - hidden */
.about-label {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out 0.3s,
                transform 0.5s ease-out 0.3s;
}

.about-title {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease-out 0.45s,
                transform 0.5s ease-out 0.45s;
}

.about-description {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out 0.6s,
                transform 0.5s ease-out 0.6s;
}

.about-description:nth-of-type(2) {
    transition-delay: 0.75s;
}

/* Animated states when section comes into view */
.about-asymmetric.animate-in .about-card {
    opacity: 1;
    transform: translateX(0);
}

.about-asymmetric.animate-in .about-card::before {
    transform: scaleY(1);
}

.about-asymmetric.animate-in .about-label {
    opacity: 1;
    transform: translateY(0);
}

.about-asymmetric.animate-in .about-title {
    opacity: 1;
    transform: translateY(0);
}

.about-asymmetric.animate-in .about-description {
    opacity: 1;
    transform: translateY(0);
}

/* Image hover effect enhancement */
.about-asymmetric:hover .about-image-block img {
    transform: scale(1.12);
}

/* Card hover lift effect */
.about-asymmetric.animate-in .about-card:hover {
    box-shadow: 0 30px 90px rgba(30, 68, 135, 0.2), 
                0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateX(-5px) translateY(-3px);
}

/* About Carousel Styles */
.about-carousel-container {
    position: relative;
    min-height: 500px; /* Ensure consistent height for both slides */
    padding-bottom: 20px; /* Add bottom padding to prevent overflow */
    overflow: visible; /* Allow smooth transitions */
}

/* Carousel Dots - Subtle and classy, positioned above content */
.about-carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    padding-top: 0;
    position: relative;
    z-index: 20;
    pointer-events: auto;
}

.about-carousel-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(30, 68, 135, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.about-carousel-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.about-carousel-dot:hover {
    background: rgba(30, 68, 135, 0.4);
}

.about-carousel-dot:hover::after {
    border-color: rgba(30, 68, 135, 0.2);
}

.about-carousel-dot.active {
    background: #1e4487;
    width: 6px;
    height: 6px;
}

.about-carousel-dot.active::after {
    border-color: rgba(30, 68, 135, 0.15);
    width: 14px;
    height: 14px;
}

.about-carousel-slide {
    position: absolute;
    top: 40px; /* Start below the dots (dots height + margin-bottom) */
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 1s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    will-change: opacity, transform;
    z-index: 1;
}

.about-carousel-slide.active {
    position: absolute;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2;
}


/* Mobile/Tablet: Carousel Navigation Arrows */
.about-carousel-nav-mobile {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
}

.about-carousel-arrow-mobile {
    background: transparent;
    border: 1px solid rgba(30, 68, 135, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(30, 68, 135, 0.6);
    transition: all 0.2s ease;
    padding: 0;
}

.about-carousel-arrow-mobile svg {
    width: 18px;
    height: 18px;
}

.about-carousel-arrow-mobile:hover {
    border-color: rgba(30, 68, 135, 0.4);
    color: rgba(30, 68, 135, 0.8);
    background: rgba(30, 68, 135, 0.05);
}

.about-carousel-arrow-mobile:active {
    transform: scale(0.95);
}

.about-carousel-arrow-mobile:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive Design for About Section - Asymmetric Layout */

/* Large tablets and smaller desktops */
@media (max-width: 1200px) {
    .about-asymmetric-container {
        min-height: 550px;
    }
    
    .about-card {
        width: 58%;
        margin-right: 3%;
    }
    
    .about-card-inner {
        padding: 40px 40px 40px 50px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 0.95rem;
    }
}

/* Tablets and small desktops - Stack layout */
@media (max-width: 992px) {
    .about-asymmetric {
        padding: 60px 0;
    }
    
    .about-asymmetric-container {
        flex-direction: column;
        min-height: auto;
        padding: 0 20px;
    }
    
    .about-image-block {
        position: relative;
        width: 100%;
        height: 350px;
        border-radius: 16px 16px 0 0;
    }
    
    .about-card {
        width: 100%;
        margin: -40px 20px 0 20px;
        width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
        border-radius: 16px;
    }
    
    .about-card-inner {
        padding: 40px 30px;
    }
    
    .about-card::before {
        top: 30px;
        bottom: 30px;
    }
    
    .about-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .about-description {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    
    /* Show carousel on mobile/tablet, hide dots */
    .about-carousel-container {
        display: block !important;
    }
    
    .about-carousel-dots {
        display: none !important;
    }
    
    /* Show mobile arrows */
    .about-carousel-nav-mobile {
        display: flex !important;
    }
}

/* Desktop: Hide mobile arrows, show dots */
@media (min-width: 993px) {
    .about-carousel-nav-mobile {
        display: none !important;
    }
    
    .about-carousel-dots {
        display: flex;
    }
    
    .about-carousel-container {
        display: block;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .about-asymmetric {
        padding: 40px 0;
    }
    
    .about-asymmetric-container {
        padding: 0 15px;
    }
    
    .about-image-block {
        height: 280px;
        border-radius: 12px 12px 0 0;
    }
    
    .about-card {
        width: calc(100% - 30px);
        margin: -30px auto 0 auto;
        border-radius: 12px;
    }
    
    .about-card-inner {
        padding: 30px 25px;
    }
    
    .about-card::before {
        top: 25px;
        bottom: 25px;
        width: 4px;
    }
    
    .about-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    
    .about-description {
        font-size: 0.9rem;
        margin-bottom: 14px;
        line-height: 1.6;
    }
    
    .about-label {
        font-size: 0.7rem;
        margin-bottom: 12px;
    }
}

/* Very small mobile devices */
@media (max-width: 480px) {
    .about-asymmetric {
        padding: 30px 0;
    }
    
    .about-asymmetric-container {
        padding: 0 12px;
    }
    
    .about-image-block {
        height: 240px;
        border-radius: 10px 10px 0 0;
    }
    
    .about-card {
        width: calc(100% - 24px);
        margin: -25px auto 0 auto;
        border-radius: 10px;
    }
    
    .about-card-inner {
        padding: 25px 20px;
    }
    
    .about-card::before {
        top: 20px;
        bottom: 20px;
        width: 3px;
    }
    
    .about-title {
        font-size: 1.25rem;
        margin-bottom: 14px;
        line-height: 1.3;
    }
    
    .about-description {
        font-size: 0.875rem;
        margin-bottom: 12px;
        line-height: 1.6;
    }
    
    .about-label {
        font-size: 0.65rem;
        margin-bottom: 10px;
    }
}

/* Our Philosophy Section */
.philosophy-section {
    padding: 40px 0 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f0f7fa 100%);
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e5e7eb 50%, transparent 100%);
}

.philosophy-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.philosophy-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #22b4d7;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.philosophy-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e4487;
    margin-bottom: 32px;
    font-family: 'Open Sans', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.1s forwards;
}

.philosophy-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #3d4653;
    margin-bottom: 24px;
    font-family: 'Open Sans', sans-serif;
}

.philosophy-description:last-child {
    margin-bottom: 0;
}

.philosophy-principles {
    margin: 48px 0 40px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.philosophy-principle-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 68, 135, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateZ(0); /* Force GPU acceleration */
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .philosophy-principle-card {
        transition: none;
    }
    
    .philosophy-principle-card:hover {
        transform: none !important;
    }
    
    .philosophy-label,
    .philosophy-title,
    .philosophy-principles {
        animation: none !important;
    }
}

.philosophy-principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22b4d7 0%, #1883c2 50%, #1e4487 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.philosophy-principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 68, 135, 0.15);
    border-color: rgba(34, 180, 215, 0.2);
}

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

.philosophy-principle-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 180, 215, 0.1) 0%, rgba(24, 131, 194, 0.1) 100%);
    border-radius: 12px;
    color: #22b4d7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.philosophy-principle-card:hover .philosophy-principle-icon {
    background: linear-gradient(135deg, rgba(34, 180, 215, 0.15) 0%, rgba(24, 131, 194, 0.15) 100%);
    transform: scale(1.1) rotate(5deg);
    color: #1883c2;
}

.philosophy-principle-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.philosophy-principle-content {
    flex: 1;
}

.philosophy-principle-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e4487;
    margin-bottom: 12px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.3;
}

.philosophy-principle-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #3d4653;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

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

/* Philosophy Section - Deep Navy with Subtle Texture */
.philosophy-compact {
    position: relative;
    padding: 50px 0;
    background: linear-gradient(135deg, #0a1628 0%, #1e4487 50%, #0d2341 100%);
    overflow: hidden;
}

/* Subtle geometric pattern overlay */
.philosophy-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(34, 180, 215, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(24, 131, 194, 0.12) 0%, transparent 50%),
        linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,0.03) 49.5%, rgba(255,255,255,0.03) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,0.03) 49.5%, rgba(255,255,255,0.03) 50.5%, transparent 50.5%);
    background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    z-index: 0;
}

.philosophy-compact .container {
    position: relative;
    z-index: 2;
}

.philosophy-compact .philosophy-content-wrapper {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.philosophy-compact .philosophy-label {
    text-align: center;
    color: #22b4d7;
    margin-bottom: 12px;
}

.philosophy-compact .philosophy-title {
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 2.25rem;
}

.philosophy-compact .philosophy-description {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.7;
}

.philosophy-compact .philosophy-principles {
    margin: 32px auto 24px auto;
}

/* Cards on dark background */
.philosophy-compact .philosophy-principle-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.philosophy-compact .philosophy-principle-card:hover {
    background: #ffffff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.philosophy-compact .philosophy-principle-icon {
    color: #1e4487;
}

.philosophy-compact .philosophy-principle-title {
    color: #1e4487;
}

.philosophy-compact .philosophy-principle-text {
    color: #3d4653;
}

/* ===== Scroll-Triggered Animations for Philosophy Section ===== */
/* Nicepage-style: Slide from sides with staggered timing */

/* Initial hidden state - Label slides from left */
.philosophy-compact .philosophy-label {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Title slides from right */
.philosophy-compact .philosophy-title {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Description fades up */
.philosophy-compact .philosophy-description {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Cards slide up and scale */
.philosophy-compact .philosophy-principle-card {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s ease,
                background 0.3s ease;
}

/* Visible state when in viewport */
.philosophy-compact.animate-in .philosophy-label {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0s;
}

.philosophy-compact.animate-in .philosophy-title {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.philosophy-compact.animate-in .philosophy-description:nth-of-type(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.philosophy-compact.animate-in .philosophy-description:nth-of-type(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

/* Staggered card animations - slide up with scale */
.philosophy-compact.animate-in .philosophy-principle-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.7s;
}

.philosophy-compact.animate-in .philosophy-principle-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.85s;
}

.philosophy-compact.animate-in .philosophy-principle-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 1s;
}

/* Final description paragraph */
.philosophy-compact.animate-in .philosophy-description:last-of-type {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.15s;
}

/* Responsive Design for Philosophy Section */
@media (max-width: 992px) {
    .philosophy-section {
        padding: 30px 0 60px 0;
    }
    
    .philosophy-compact {
        padding: 40px 0;
    }
    
    .philosophy-content-wrapper {
        padding: 0 30px;
    }
    
    .philosophy-title {
        font-size: 2.25rem;
    }
    
    .philosophy-principles {
        gap: 24px;
    }
    
    .philosophy-principle-card {
        padding: 28px 20px;
    }
}

@media (max-width: 768px) {
    .philosophy-section {
        padding: 30px 0 50px 0;
    }
    
    .about-asymmetric {
        padding: 50px 0;
    }
    
    .philosophy-compact {
        padding: 35px 0;
    }
    
    .philosophy-compact .philosophy-content-wrapper {
        padding: 0 20px;
    }
    
    .philosophy-content-wrapper {
        padding: 0 24px;
    }
    
    .philosophy-title {
        font-size: 2rem;
        margin-bottom: 28px;
    }
    
    .philosophy-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .philosophy-principles {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 40px 0 32px 0;
    }
    
    .philosophy-principle-card {
        padding: 32px 24px;
    }
    
    .philosophy-principle-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 18px;
    }
    
    .philosophy-principle-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .philosophy-principle-title {
        font-size: 1.125rem;
    }
    
    .philosophy-principle-text {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .philosophy-section {
        padding: 20px 0 40px 0;
    }
    
    .about-asymmetric {
        padding: 40px 0;
    }
    
    .philosophy-compact {
        padding: 30px 0;
    }
    
    .philosophy-compact .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .philosophy-compact .philosophy-content-wrapper {
        padding: 0 15px;
    }
    
    .philosophy-content-wrapper {
        padding: 0 20px;
    }
    
    .philosophy-title {
        font-size: 1.75rem;
        margin-bottom: 24px;
    }
    
    .philosophy-description {
        font-size: 0.9375rem;
        margin-bottom: 18px;
        line-height: 1.7;
    }
    
    .philosophy-principles {
        gap: 20px;
        margin: 32px 0 28px 0;
    }
    
    .philosophy-principle-card {
        padding: 24px 20px;
    }
    
    .philosophy-principle-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 16px;
    }
    
    .philosophy-principle-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .philosophy-principle-title {
        font-size: 1.0625rem;
        margin-bottom: 10px;
    }
    
    .philosophy-principle-text {
        font-size: 0.875rem;
        line-height: 1.5;
    }
}

.blue-bg {
    background-color: #007bff;
    color: white;
}
.light-blue-bg {
    background-color: #1bb5d9;
    color: white;
}
.medium-blue-bg {
    background-color: #1d83c3;
    color: white;
}
.dark-blue-bg {
    background-color: #1a4589;
    color: white;
}
.team-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.btn-light, .btn-primary, .btn-info {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease-in-out;
}

.btn-primary {
    background-color: #1a4589;
    border-color: #1a4589;
}

.btn-info {
    background-color: #22b4d7;
    border-color: #22b4d7;
    color:#fff;
}

.btn-light::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1a4589;
    transition: left 0.3s ease-in-out;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #22b4d7;
    transition: left 0.3s ease-in-out;
}

.btn-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1a4589;
    transition: left 0.3s ease-in-out;
}

.btn-light::after, .btn-primary::after, .btn-info::after {
    content: "→";
    position: absolute;
    right: -20px;
    top: 44%;
    transform: translateY(-50%);
    opacity: 0;
    transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.btn-light:hover::before, .btn-primary:hover::before, .btn-info:hover::before {
    left: 0;
}
.btn-light:hover {
    color: #fff !important;
    border-color:#1a4589;
}

.btn-primary:hover {
    border-color:#22b4d7;
}

.btn-info:hover {
    border-color:#1a4589;
    color:#fff;
}

.btn-light:hover::after, .btn-primary:hover::after, .btn-info:hover::after {
    right: 15px;
    opacity: 1;
}
.btn-light span, .btn-primary span, .btn-info span {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease-in-out;
}

.btn-light:hover span, .btn-primary:hover span, .btn-info:hover span {
    left: -7px;
}
.card-link {
    position: relative;
    transition: transform 0.3s ease-in-out;
}
.card-link:hover {
    left: 7px;
    color: #1d83c3 !important;
}
/* Navbar Styling */
.navbar {
    transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(30, 68, 135, 0.12);
    padding: 0.5rem 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1055;
}

.navbar.scrolled {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Mobile navbar: hidden initially, appears on scroll (same as desktop) */
@media (max-width: 480px) {
    /* Navbar visibility controlled by .scrolled class - no forced visibility */
    
    /* Ensure body/html don't have top padding that creates margin */
    html,
    body {
        padding: 0 !important;
        margin: 0 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Ensure hero section starts at the very top (no top margin/padding) */
    /* BUT: Make sure it doesn't cover navbar area */
    .hero-section {
        margin: 0 !important;
        padding: 0 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        top: 0 !important;
        /* Ensure hero section is BELOW navbar visually */
        z-index: 0 !important;
        position: relative !important;
    }
    
    /* Ensure navbar is always on top */
    .navbar {
        z-index: 1055 !important;
        position: fixed !important;
        top: 0 !important;
    }
    
    /* Ensure navbar container doesn't add padding */
    .navbar .container {
        padding-top: 0.4rem !important;
        padding-bottom: 0.4rem !important;
    }
}

.navbar-brand {
    transition: transform 0.3s ease-in-out;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    transition: all 0.3s ease-in-out;
    height: auto;
    display: block;
    max-height: 60px;
    width: auto;
}

.navbar-toggler {
    border: 2px solid #1e4487;
    border-radius: 6px;
    padding: 6px 10px;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(30, 68, 135, 0.1);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30, 68, 135, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

.navbar-nav {
    gap: 4px;
}

.navbar-nav .nav-link {
    position: relative;
    display: inline-block;
    padding: 10px 16px;
    transition: all 0.3s ease-in-out;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #3d4653;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.3px;
    border-radius: 6px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover {
    color: #1e4487;
    background-color: rgba(30, 68, 135, 0.05);
}

.navbar-nav .nav-link:hover::after {
    width: calc(100% - 32px);
}

.navbar-nav .nav-link.active {
    color: #1e4487;
    background-color: rgba(30, 68, 135, 0.08);
}

.navbar-nav .nav-link.active::after {
    width: calc(100% - 32px);
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
}

@media (max-width: 992px) {
    .navbar-nav .nav-link {
        width: 100%;
        text-align: left;
        padding: 12px 20px;
        border-radius: 0;
    }
    
    .navbar-nav .nav-link::after {
        left: 20px;
        transform: translateX(0);
        bottom: 8px;
    }
    
    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: calc(100% - 40px);
    }
    
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        border-radius: 8px;
        margin-top: 12px;
        padding: 8px 0;
        box-shadow: 0 4px 20px rgba(30, 68, 135, 0.1);
        z-index: 1060 !important; /* Above all sections */
        position: relative !important;
    }
    
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        z-index: 1060 !important;
    }
    
    /* When navbar is transparent, make mobile menu more visible */
    .navbar:not(.scrolled) .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    
    .navbar:not(.scrolled) .navbar-nav .nav-link {
        color: #3d4653; /* Dark text on white menu background */
        text-shadow: none;
    }
    
    .navbar:not(.scrolled) .navbar-nav .nav-link:hover {
        color: #1e4487;
        background-color: rgba(30, 68, 135, 0.05);
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        width: 160px;
        max-height: 50px;
    }
    
    .navbar.scrolled .navbar-brand img {
        width: 150px;
        max-height: 45px;
    }
}

@media (max-width: 480px) {
    /* Ensure body and html don't block interactions */
    html,
    body {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(30, 68, 135, 0.2);
    }
    
    /* Navbar on mobile: hidden initially, appears on scroll (same as desktop) */
    /* Base navbar styles apply - no forced visibility */
    
    /* Ensure navbar elements are clickable - be very specific */
    .navbar,
    .navbar *,
    .navbar > *,
    .navbar .container,
    .navbar .container *,
    .navbar-brand,
    .navbar-brand *,
    .navbar-toggler,
    .navbar-toggler *,
    .navbar-toggler-icon,
    .navbar-collapse,
    .navbar-collapse *,
    .navbar-nav,
    .navbar-nav *,
    .nav-item,
    .nav-item *,
    .nav-link,
    .nav-link * {
        pointer-events: auto !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(30, 68, 135, 0.2);
        touch-action: manipulation;
    }
    
    /* Ensure hero video doesn't block navbar clicks */
    .hero-video {
        pointer-events: none !important; /* Video shouldn't block clicks */
        z-index: 0 !important; /* Lower than navbar */
    }
    
    .hero-background {
        pointer-events: none !important; /* Background shouldn't block clicks */
        z-index: 0 !important;
    }
    
    .hero-section {
        pointer-events: none !important; /* Section shouldn't block clicks */
        z-index: 0 !important; /* Lower than navbar */
    }
    
    /* Ensure hero section children also don't block */
    .hero-section * {
        pointer-events: none !important;
    }
    
    /* But allow scroll indicator */
    .hero-section .hero-scroll-indicator {
        pointer-events: auto !important;
        z-index: 1060 !important;
    }
    
    /* But allow scroll indicator to be clickable */
    .hero-scroll-indicator {
        pointer-events: auto !important;
        z-index: 1060 !important;
    }
    
    /* CRITICAL: Ensure navbar area is never blocked - add a protective layer */
    .navbar::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 80px; /* Cover navbar area */
        z-index: 1054 !important; /* Just below navbar */
        pointer-events: none !important; /* Don't block clicks */
        background: transparent;
    }
    
    /* Ensure navbar itself is above everything */
    .navbar {
        z-index: 1055 !important;
        position: fixed !important;
    }
    
    /* Ensure all interactive elements are above hero section */
    button,
    .btn,
    .spark-program-cta,
    form,
    input,
    textarea,
    select,
    a[href],
    [role="button"],
    [data-bs-toggle],
    [data-bs-target] {
        position: relative;
        z-index: 1056 !important; /* Above navbar */
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }
    
    /* Ensure modals are above everything - higher than navbar (1055) */
    .modal-backdrop {
        z-index: 1060 !important;
        pointer-events: auto !important;
    }
    
    .modal {
        z-index: 1065 !important;
        pointer-events: auto !important;
    }
    
    /* Ensure modal is visible when shown - Bootstrap adds .show class */
    .modal.show {
        display: block !important;
    }
    
    .modal.fade.show {
        opacity: 1 !important;
    }
    
    /* Ensure modal dialog and content are visible */
    .modal.show .modal-dialog {
        transform: translate(0, 0) !important;
        opacity: 1 !important;
    }
    
    .modal-dialog {
        z-index: 1070 !important;
        pointer-events: auto !important;
        position: relative !important;
    }
    
    .modal-content {
        z-index: 1071 !important;
        pointer-events: auto !important;
        position: relative !important;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        pointer-events: auto !important;
        position: relative !important;
    }
    
    /* Ensure all buttons and form elements are clickable */
    button,
    .btn,
    input,
    textarea,
    select,
    a,
    [role="button"],
    .spark-program-cta,
    [data-bs-toggle],
    [data-bs-target],
    form,
    form * {
        pointer-events: auto !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(30, 68, 135, 0.2);
        touch-action: manipulation !important;
        position: relative !important;
        z-index: 1056 !important; /* Above navbar (1055) to ensure clickability */
    }
    
    /* Ensure form elements are interactive */
    form,
    form * {
        pointer-events: auto !important;
    }
    
    nav.navbar.scrolled,
    .navbar.navbar-expand-lg.scrolled,
    .navbar.scrolled {
        /* When scrolled, use full opacity */
        background-color: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 4px 30px rgba(30, 68, 135, 0.12);
    }
    
    .navbar-brand img {
        width: 120px;
        max-height: 38px;
    }
    
    .navbar.scrolled .navbar-brand img {
        width: 130px;
        max-height: 40px;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.875rem;
        padding: 10px 16px;
    }
    
    /* Ensure navbar doesn't create top margin - it overlays the video */
    .hero-section {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Ensure body doesn't have any unwanted spacing */
    body {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }
    
    /* Fix any potential layout shifts */
    html {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }
}
.full-content {
    display: block !important; /* Show content - removed hiding behavior */
}
.read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}
.read-more.rm-on-blue {
    color: #0f3841;
}
.read-more:hover {
    text-decoration: underline;
}
/* Fullscreen Overlay */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: #fff;
    color: #1a4589;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
    pointer-events: auto !important;
}

/* Typing Effect */
.typing-container {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
}

.cursor {
    /* display: inline-block; */
    display: none;
    width: 8px;
    height: 40px;
    background-color: #1a4589;
    animation: blink 0.7s infinite;
    margin-left: 4px;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Close Button */
.close-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: #1a4589;
    border: 2px solid #1a4589;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 30px;
    pointer-events: auto !important;
    z-index: 10000;
}

.close-btn:hover {
    background: #1a4589;
    color: #fff;
}

/* Ensure all splash screen interactive elements are clickable */
.splash-screen * {
    pointer-events: auto !important;
}

.splash-screen button,
.splash-screen .btn {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10001;
}
.force-two-lines {
    display: -webkit-box;
    overflow: visible;  /* Allows more lines if needed */
    min-height: calc(1.5em * 2);  /* Forces space for at least 2 lines */
}
.carousel-inner {
    display: flex;
}
.carousel-item {
    display: flex;
    justify-content: center;
}
.carousel-item > div {
    flex: 0 0 33.3333%; /* 3 items per slide */
    padding: 10px;
}
.owl-carousel .item {
    background: #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    font-size: 1.5rem;
}

/* Hide default arrows */
.owl-nav {
    display: none;
}

.custom-nav button {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
}

@media (max-width: 390px) {
    .custom-nav button {
        padding: 3px 12px;
    }
}

/* Hero Section Responsive */
@media (max-width: 768px) {
    html, body {
        /* Ensure no margins on mobile */
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden;
    }
    
    /* Hide scroll indicator on tablet and mobile - users naturally scroll/swipe */
    .hero-scroll-indicator {
        display: none !important;
    }
    
    .hero-section {
        /* Reduce height on tablet to minimize top/bottom margins */
        height: 50vh;
        min-height: 400px;
        padding-bottom: 0;
        /* Force edge-to-edge positioning - use 100% instead of 100vw to avoid scrollbar issues */
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-background {
        overflow: hidden !important;
        /* Force edge-to-edge - use 100% instead of 100vw to avoid scrollbar issues */
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
    }
    
    .hero-video {
        /* Use contain to show full frame without cropping horizontal text */
        object-fit: contain;
        object-position: center center;
        /* Full container size - contain shows complete frame */
        width: 100% !important;
        height: 100% !important;
        background: transparent;
        left: 0 !important;
        top: 0 !important;
        transform: none;
        transform-origin: center center;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Use fallback image as background to fill gaps */
    .hero-background-image {
        z-index: 0;
        opacity: 0.3;
        filter: blur(10px);
    }
    
    #about.section,
    .about-asymmetric {
        padding-top: 0;
        margin-top: 0;
    }
    
    /* Hide scroll indicator on tablet and mobile - users naturally scroll/swipe */
    .hero-scroll-indicator {
        display: none !important;
    }
}

@media (max-width: 480px) {
    html, body {
        /* Ensure no margins on mobile */
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-section {
        /* Reduce height on mobile to minimize top/bottom margins substantially */
        height: 20vh;
        min-height: 200px;
        /* Add top padding to account for fixed navbar - clean spacing */
        margin: 0 !important;
        padding: 70px 0 0 0 !important;
        top: 0 !important;
        /* Force edge-to-edge positioning - use 100% instead of 100vw to avoid scrollbar issues */
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
    }
    
    .hero-background {
        /* Keep overflow hidden for clean edges */
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        /* Force edge-to-edge - use 100% instead of 100vw to avoid scrollbar issues */
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
    }
    
    .hero-video {
        /* Use contain to show full frame without cropping horizontal text */
        object-fit: contain !important;
        object-position: center center !important;
        /* Full container size - contain shows complete frame */
        width: 100% !important;
        height: 100% !important;
        background: transparent;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        transform-origin: center center !important;
        margin: 0 !important;
        padding: 0 !important;
        /* Ensure video maintains aspect ratio and doesn't crop */
        min-width: 100%;
        min-height: 100%;
        max-width: 100%;
        max-height: 100%;
    }
    
    /* Use fallback image as background to fill gaps */
    .hero-background-image {
        z-index: 0;
        opacity: 0.3;
        filter: blur(10px);
    }
    
    #about.section,
    .about-asymmetric {
        padding-top: 0;
        margin-top: 0;
    }
    
    /* Fix splash screen on mobile */
    .splash-screen {
        height: 100vh !important; /* Use vh for better compatibility */
        height: -webkit-fill-available !important; /* iOS Safari fix */
        width: 100vw !important;
        max-width: 100vw !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 9999 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }
    
    .typing-container {
        font-size: 1.8rem !important; /* Smaller on mobile */
        padding: 0 20px !important;
        max-width: 90vw !important;
        word-wrap: break-word !important;
    }
    
    .splash-screen img {
        max-width: 200px !important;
        width: auto !important;
        height: auto !important;
    }
    
    .splash-screen {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
    }
    
    .splash-screen .typing-container {
        order: 1;
    }
    
    .splash-screen img {
        order: 2;
        margin: 0 !important;
    }
    
    .close-btn {
        order: 3;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin-top: 20px !important;
        padding: 12px 30px !important;
        font-size: 14px !important;
        width: auto !important;
        min-width: 140px;
        z-index: 10000 !important;
    }
    
    /* Hero section fixes for mobile */
    .hero-section {
        position: relative !important;
        overflow: hidden !important;
        height: 30vh !important; /* Increased for better visibility */
        min-height: 280px !important; /* Increased for better visibility */
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .hero-background {
        height: 100% !important;
        width: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    .hero-video {
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    /* Hide scroll indicator on mobile - users naturally scroll/swipe */
    .hero-scroll-indicator {
        display: none !important;
    }
    
    .typing-container {
        line-height: 1.3 !important;
        margin: 0 !important;
    }
    
    .splash-screen img {
        margin: 10px 0 !important;
        display: block !important;
    }
    
    .close-btn {
        white-space: nowrap !important;
        margin: 0 !important;
    }
    
    /* Spark Section Small Mobile */
    .spark-cards-container {
        gap: 24px;
    }
    
    .spark-card-image-wrapper {
        min-height: 200px;
        max-height: 240px;
    }
    
    .spark-card.active .spark-card-content {
        padding: 20px 16px;
    }
    
    .spark-card-overlay {
        overflow: visible;
        max-width: 100%;
        padding: 20px 16px 64px 16px;
    }
    
    .spark-card-headline {
        font-size: 1.125rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    .spark-card-short-text {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        margin-bottom: 8px;
        line-height: 1.5;
    }
    
    .spark-card-click-indicator {
        bottom: 12px;
    }
    
    .spark-card-content-inner p {
        font-size: 0.9rem;
    }
    
    .spark-cta-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Expertise Split-Screen Design */
.expertise-split-container {
    display: flex;
    width: 100%;
    min-height: 600px;
    gap: 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Left Panel: Expandable List */
.expertise-list-panel {
    flex: 0 0 50%;
    background: #ffffff;
    padding: 0;
    overflow-y: auto;
    max-height: 600px;
}

.expertise-item {
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background-color 0.3s ease;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-touch-callout: none;
}

.expertise-item:last-child {
    border-bottom: none;
}

.expertise-item:hover {
    background-color: #f9fafb;
}

.expertise-item.active {
    background-color: #f3f4f6;
}

.expertise-item:active {
    background-color: #e5e7eb;
    transform: scale(0.998);
}

.expertise-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    user-select: none;
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    outline: none;
    transition: outline 0.2s ease, background-color 0.2s ease;
}

/* Focus state for keyboard navigation */
.expertise-item-header:focus {
    outline: 3px solid #22b4d7;
    outline-offset: 2px;
    background-color: #f0f9ff;
}

.expertise-item-header:focus:not(:hover) {
    background-color: #f0f9ff;
}

.expertise-item-header h4 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #1e4487;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 16px;
    transition: color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.expertise-item.active .expertise-item-header h4 {
    color: #1883c2;
}

.expertise-item:hover .expertise-item-header h4 {
    color: #1883c2;
}

.expertise-arrow {
    flex-shrink: 0;
    color: #1e4487;
    transition: transform 0.3s ease, color 0.3s ease;
}

.expertise-item.active .expertise-arrow {
    transform: rotate(180deg);
    color: #1883c2;
}

.expertise-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 32px;
}

.expertise-item.active .expertise-item-content {
    max-height: 500px;
    padding: 16px 32px 24px 32px;
}

.expertise-item-content p {
    font-size: 1rem;
    color: #3d4653;
    line-height: 1.6;
    margin-bottom: 16px;
    font-family: 'Open Sans', sans-serif;
}

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

.expertise-features li {
    font-size: 0.9rem;
    color: #3d4653;
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.expertise-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22b4d7;
    font-weight: 700;
    font-size: 1rem;
}

/* Right Panel: Large Image Display */
.expertise-visual-panel {
    flex: 0 0 50%;
    background: #1e4487;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.expertise-visual-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 1;
    transition: opacity 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.expertise-visual-panel img.fade-out {
    opacity: 0;
}

/* Loading indicator */
.expertise-image-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.expertise-image-loading.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #22b4d7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Section Header */
#expertise .row.mb-5 h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e4487;
    margin-bottom: 8px;
}

#expertise .row.mb-5 p {
    font-size: 1rem;
    color: #3d4653;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 992px) {
    .expertise-split-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .expertise-list-panel {
        flex: 1;
        max-height: none;
    }
    
    .expertise-visual-panel {
        flex: 1;
        min-height: 400px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .expertise-item-header {
        padding: 20px 24px;
        min-height: 60px;
    }
    
    .expertise-item-header h4 {
        font-size: 1.25rem;
    }
    
    .expertise-item.active .expertise-item-content {
        padding: 16px 24px 20px 24px;
    }
    
    .expertise-item-content {
        padding: 0 24px;
    }
    
    .expertise-visual-panel {
        min-height: 350px;
    }
    
    .expertise-item {
        -webkit-tap-highlight-color: rgba(30, 68, 135, 0.1);
    }
    
    #expertise .row.mb-5 h2 {
        font-size: 2rem;
    }
    
    
/* Reduced motion support for expertise section */
@media (prefers-reduced-motion: reduce) {
    .expertise-item,
    .expertise-item-header,
    .expertise-item-content,
    .expertise-visual-panel img {
        transition: none !important;
        animation: none !important;
    }
    
    .expertise-arrow {
        transition: none !important;
    }
    
    .loading-spinner {
        animation: none !important;
    }
    
    .expertise-visual-panel img.fade-out {
        opacity: 1 !important;
    }
}

#why-ampera .row.mb-5 h2 {
        font-size: 2rem;
    }
    
    #the-spark .row.mb-5 h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .expertise-item-header {
        padding: 16px 20px;
        min-height: 56px;
    }
    
    .expertise-item-header h4 {
        font-size: 1.125rem;
    }
    
    .expertise-item.active .expertise-item-content {
        padding: 12px 20px 16px 20px;
    }
    
    .expertise-item-content {
        padding: 0 20px;
    }
    
    .expertise-item-content p {
        font-size: 0.95rem;
    }
    
    .expertise-features li {
        font-size: 0.85rem;
    }
    
    .expertise-item {
        -webkit-tap-highlight-color: rgba(30, 68, 135, 0.1);
    }
    
    .expertise-visual-panel {
        min-height: 300px;
    }
}

/* Powers Carousel Section */
.powers-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f7fa 100%);
    padding: 80px 0 60px 0;
    color: #3d4653;
}

.powers-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e4487;
    margin-bottom: 48px;
}

/* The Spark Section */
#the-spark {
    padding-top: 60px !important;
}

#the-spark .row.mb-5 h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e4487;
    margin-bottom: 8px;
}

.spark-subheadline {
    font-size: 0.875rem;
    font-weight: 400;
    color: #3d4653;
    line-height: 1.7;
    max-width: 900px;
    margin: 16px auto 0;
    font-family: 'Open Sans', sans-serif;
}

.spark-cards-container {
    display: flex;
    gap: 40px;
    width: 100%;
    margin-top: 40px;
}

.spark-card {
    flex: 1;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.spark-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.spark-card-image-wrapper {
    position: relative;
    width: 100%;
    min-height: 280px;
    max-height: 320px;
    overflow: hidden;
}

.spark-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.3s ease;
}

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

.spark-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 68, 135, 0.95) 0%, rgba(30, 68, 135, 0.85) 50%, rgba(30, 68, 135, 0.4) 70%, transparent 100%);
    padding: 20px 18px 64px 18px;
    color: #ffffff;
    min-height: auto;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
}

.spark-card-headline {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    box-sizing: border-box;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.spark-card-short-text {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.6;
    margin: 0 0 10px 0;
    font-family: 'Open Sans', sans-serif;
    opacity: 0.95;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.spark-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    background: #ffffff;
}

.spark-card.active .spark-card-content {
    max-height: 1200px;
    padding: 32px 24px;
}

.spark-card-content-inner {
    width: 100%;
}

.spark-card-content-inner p {
    font-size: 1rem;
    line-height: 1.7;
    color: #3d4653;
    margin-bottom: 16px;
    font-family: 'Open Sans', sans-serif;
}

.spark-card-content-inner p:last-of-type {
    margin-bottom: 24px;
}

.spark-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: #22b4d7;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.spark-cta-btn:hover {
    background: #1a8fb0;
    transform: translateY(-2px);
}

.spark-cta-btn svg {
    transition: transform 0.2s ease;
}

.spark-cta-btn:hover svg {
    transform: translateX(4px);
}

/* Spark Click Indicator */
.spark-card-click-indicator {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    animation: sparkPulse 2s ease-in-out infinite;
    display: none; /* Hidden on desktop, shown on mobile */
    z-index: 10;
    pointer-events: none;
}

.spark-card-click-indicator svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes sparkPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(4px);
    }
}

/* Spark Modal CTA Button */
.spark-modal-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: #22b4d7;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.spark-modal-cta-btn:hover {
    background: #1a8fb0;
    transform: translateY(-2px);
}

.spark-modal-cta-btn svg {
    transition: transform 0.2s ease;
}

.spark-modal-cta-btn:hover svg {
    transform: translateX(4px);
}

/* ============================================
   Spark Program Sections - Option 2 Layout
   ============================================ */

/* The Spark Intro Section */
.spark-intro-section {
    padding: 50px 0 25px;
    background: #ffffff;
    text-align: center;
}

.spark-intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.spark-intro-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e4487;
    margin-bottom: 24px;
}

.spark-intro-text {
    font-size: 0.95rem;
    font-weight: 400;
    color: #3d4653;
    line-height: 1.7;
    margin: 12px auto 0;
    font-family: 'Open Sans', sans-serif;
}

/* Spark Program Section - Base Styles */
.spark-program-section {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
    scroll-margin-top: 100px; /* Offset for fixed navbar */
    pointer-events: auto; /* Ensure section allows pointer events */
}

.spark-program-aarambh {
    background: #f8f9fa;
}

.spark-program-surekha {
    background: linear-gradient(135deg, #0a1628 0%, #1e4487 100%);
}

.spark-program-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 450px;
    display: flex;
    align-items: center;
}

/* Image Block */
.spark-program-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.spark-program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

/* Aarambh specific - show more of the top to avoid cropping the hand */
.spark-program-aarambh .spark-program-image img,
.spark-program-aarambh .spark-program-image picture img {
    object-position: center 10% !important;
    transform: scale(1.02) !important;
}

/* Surekha specific - ensure top-right text is visible, don't crop */
.spark-program-surekha .spark-program-image img,
.spark-program-surekha .spark-program-image picture img {
    object-position: top right !important;
    transform: scale(1.0) !important;
}

.spark-program-section:hover .spark-program-image img {
    transform: scale(1.1);
}

/* Card Block */
.spark-program-card {
    position: relative;
    z-index: 2;
    width: 52%;
    margin-left: auto;
    margin-right: 5%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(30, 68, 135, 0.15), 
                0 10px 30px rgba(0, 0, 0, 0.08);
}

.spark-program-card-inner {
    padding: 35px 40px;
}

/* Accent bar on the left of the card */
.spark-program-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 35px;
    bottom: 35px;
    width: 5px;
    background: linear-gradient(180deg, #22b4d7 0%, #1883c2 50%, #1e4487 100%);
    border-radius: 0 3px 3px 0;
    /* Initial state will be set in animation section */
}

/* Typography */
.spark-program-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #22b4d7;
    margin-bottom: 8px;
    font-family: 'Open Sans', sans-serif;
}

.spark-program-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e4487;
    margin-bottom: 6px;
    font-family: 'Noto Sans Devanagari', 'Open Sans', sans-serif;
}

.spark-program-tagline {
    font-size: 1rem;
    font-weight: 500;
    color: #3d4653;
    margin-bottom: 16px;
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
}

.spark-program-description {
    margin-bottom: 20px;
}

.spark-program-description p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #3d4653;
    margin-bottom: 12px;
    font-family: 'Open Sans', sans-serif;
}

.spark-program-description p:last-child {
    margin-bottom: 0;
}

/* CTA Button */
.spark-program-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #22b4d7 0%, #1883c2 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 180, 215, 0.3);
}

.spark-program-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 180, 215, 0.4);
}

.spark-program-cta svg {
    transition: transform 0.3s ease;
}

.spark-program-cta:hover svg {
    transform: translateX(4px);
}

/* Reversed Layout for Surekha */
.spark-program-reversed {
    flex-direction: row-reverse;
}

.spark-program-reversed .spark-program-image {
    left: auto;
    right: 0;
    border-radius: 20px 0 0 20px;
}

.spark-program-reversed .spark-program-card {
    margin-left: 5%;
    margin-right: auto;
}

.spark-program-reversed .spark-program-card::before {
    left: auto;
    right: 0;
    border-radius: 3px 0 0 3px;
    transform-origin: top;
}

/* Surekha specific - card styling for dark background */
.spark-program-surekha .spark-program-card {
    background: rgba(255, 255, 255, 0.98);
}

/* Scroll Animation States */
.spark-program-section .spark-program-image {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.spark-program-section .spark-program-card {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

/* Accent bar initial state - zero height (similar to About section) */
.spark-program-section .spark-program-card::before {
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

.spark-program-section .spark-program-label,
.spark-program-section .spark-program-title,
.spark-program-section .spark-program-tagline,
.spark-program-section .spark-program-description,
.spark-program-section .spark-program-cta {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease-out 0.2s,
                transform 0.4s ease-out 0.2s;
}

/* Animated states */
.spark-program-section.animate-in .spark-program-image {
    opacity: 1;
    transform: translateX(0);
}

.spark-program-section.animate-in .spark-program-card {
    opacity: 1;
    transform: translateX(0);
}

/* Accent bar animated state - scales up (similar to About section) */
.spark-program-section.animate-in .spark-program-card::before {
    transform: scaleY(1);
}

.spark-program-section.animate-in .spark-program-label {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.spark-program-section.animate-in .spark-program-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.spark-program-section.animate-in .spark-program-tagline {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.spark-program-section.animate-in .spark-program-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.spark-program-section.animate-in .spark-program-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Reversed animation direction */
.spark-program-reversed .spark-program-image {
    transform: translateX(60px);
}

.spark-program-reversed .spark-program-card {
    transform: translateX(-60px);
}

.spark-program-section.animate-in.spark-program-surekha .spark-program-image,
.spark-program-section.animate-in.spark-program-surekha .spark-program-card {
    transform: translateX(0);
}

/* Responsive Styles for Spark Program Sections */
@media (max-width: 1200px) {
    .spark-program-container {
        min-height: 400px;
    }
    
    .spark-program-image {
        width: 50%;
    }
    
    .spark-program-card {
        width: 55%;
    }
    
    .spark-program-card-inner {
        padding: 30px 35px;
    }
    
    .spark-program-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 992px) {
    .spark-intro-section {
        padding: 40px 0 20px;
    }
    
    .spark-program-section {
        padding: 40px 0;
    }
    
    .spark-program-container {
        flex-direction: column;
        min-height: auto;
        padding: 0 20px;
    }
    
    .spark-program-image {
        position: relative;
        width: 100%;
        height: 280px;
        border-radius: 20px 20px 0 0;
        box-shadow: none;
    }
    
    .spark-program-card {
        width: 100%;
        margin: -25px 20px 0 20px;
        width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
        border-radius: 20px;
    }
    
    .spark-program-card::before {
        top: 25px;
        bottom: 25px;
    }
    
    .spark-program-card-inner {
        padding: 28px 25px;
    }
    
    .spark-program-title {
        font-size: 1.5rem;
    }
    
    .spark-program-tagline {
        font-size: 1rem;
    }
    
    /* Reset reversed layout on mobile */
    .spark-program-reversed {
        flex-direction: column;
    }
    
    .spark-program-reversed .spark-program-image {
        left: 0;
        right: auto;
        border-radius: 20px 20px 0 0;
    }
    
    .spark-program-reversed .spark-program-card {
        margin-left: auto;
        margin-right: auto;
    }
    
    .spark-program-reversed .spark-program-card::before {
        left: 0;
        right: auto;
        border-radius: 0 3px 3px 0;
    }
    
    /* Mobile animation adjustments - reduced motion */
    .spark-program-section .spark-program-image,
    .spark-program-reversed .spark-program-image {
        transform: translateY(-15px);
    }
    
    .spark-program-section .spark-program-card,
    .spark-program-reversed .spark-program-card {
        transform: translateY(15px);
    }
    
    .spark-program-section.animate-in .spark-program-image,
    .spark-program-section.animate-in .spark-program-card {
        transform: translateY(0);
    }
    
    /* Reduced text motion on mobile */
    .spark-program-section .spark-program-label,
    .spark-program-section .spark-program-title,
    .spark-program-section .spark-program-tagline,
    .spark-program-section .spark-program-description,
    .spark-program-section .spark-program-cta {
        transform: translateY(5px);
    }
    
    /* Ensure accent bar animation works on mobile */
    .spark-program-section .spark-program-card::before {
        transform-origin: top;
    }
    
    .spark-program-reversed .spark-program-card::before {
        transform-origin: top;
    }
}

/* Reduced motion support for spark program animations */
@media (prefers-reduced-motion: reduce) {
    .spark-program-section .spark-program-image,
    .spark-program-section .spark-program-card,
    .spark-program-section .spark-program-label,
    .spark-program-section .spark-program-title,
    .spark-program-section .spark-program-tagline,
    .spark-program-section .spark-program-description,
    .spark-program-section .spark-program-cta {
        transition: opacity 0.3s ease !important;
        transform: none !important;
    }
    
    .spark-program-section .spark-program-card::before {
        transform: scaleY(1) !important;
        transition: none !important;
    }
    
    .spark-program-section.animate-in .spark-program-image,
    .spark-program-section.animate-in .spark-program-card,
    .spark-program-section.animate-in .spark-program-label,
    .spark-program-section.animate-in .spark-program-title,
    .spark-program-section.animate-in .spark-program-tagline,
    .spark-program-section.animate-in .spark-program-description,
    .spark-program-section.animate-in .spark-program-cta {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .spark-intro-section {
        padding: 35px 0 18px;
    }
    
    .spark-intro-text {
        font-size: 0.85rem;
    }
    
    .spark-program-section {
        padding: 35px 0;
    }
    
    .spark-program-image {
        height: 240px;
        border-radius: 16px 16px 0 0;
    }
    
    .spark-program-card {
        width: calc(100% - 30px);
        margin: -20px auto 0 auto;
        border-radius: 16px;
    }
    
    .spark-program-card-inner {
        padding: 25px 22px;
    }
    
    .spark-program-title {
        font-size: 1.35rem;
    }
    
    .spark-program-description p {
        font-size: 0.9rem;
    }
    
    .spark-program-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .spark-intro-section {
        padding: 30px 0 15px;
    }
    
    .spark-program-section {
        padding: 30px 0;
    }
    
    .spark-program-container {
        padding: 0 15px;
    }
    
    .spark-program-image {
        height: 200px;
        border-radius: 12px 12px 0 0;
    }
    
    .spark-program-card {
        width: calc(100% - 24px);
        margin: -18px auto 0 auto;
        border-radius: 12px;
    }
    
    .spark-program-card::before {
        top: 18px;
        bottom: 18px;
        width: 4px;
        transform-origin: top;
    }
    
    .spark-program-card-inner {
        padding: 22px 18px;
    }
    
    .spark-program-title {
        font-size: 1.25rem;
    }
    
    .spark-program-tagline {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    
    .spark-program-description p {
        font-size: 0.85rem;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    
    .spark-program-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Desktop: Hide accordion content, use modals */
@media (min-width: 993px) {
    .spark-card-content {
        display: none !important;
    }
    
    .spark-card-image-wrapper {
        cursor: pointer;
        position: relative;
    }
    
    .spark-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }
    
    /* Learn More badge on hover */
    .spark-card-image-wrapper::after {
        content: 'Learn More +';
        position: absolute;
        top: 16px;
        right: 16px;
        background: rgba(255, 255, 255, 0.95);
        color: #22b4d7;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        font-family: 'Open Sans', sans-serif;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .spark-card:hover .spark-card-image-wrapper::after {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile/Tablet: Show click indicator, keep accordion */
@media (max-width: 992px) {
    .spark-card-click-indicator {
        display: block;
    }
}

.powers-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 80px;
    margin-top: 40px;
}

.powers-carousel-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    will-change: scroll-position;
    transform: translateZ(0); /* Force GPU acceleration */
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .powers-carousel-container {
        scroll-behavior: auto;
    }
}

.powers-carousel-container::-webkit-scrollbar {
    display: none;
}

.powers-card-slide {
    flex: 0 0 calc(33.333% - 16px);
    min-width: calc(33.333% - 16px);
    scroll-snap-align: start;
    display: flex;
}

.powers-card-modern {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    position: relative;
    opacity: 0.5;
    transform: scale(0.9);
    cursor: pointer;
}

.powers-card-modern.prev,
.powers-card-modern.next {
    opacity: 0.75;
    transform: scale(0.95);
}

.powers-card-modern.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.powers-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.powers-card-modern.prev:hover,
.powers-card-modern.next:hover {
    opacity: 0.85;
}

.powers-card-modern.active:hover {
    opacity: 1;
}

.powers-card-icon {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 24px;
    right: 24px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.powers-card-modern[data-icon-filter] .powers-card-icon {
    filter: var(--icon-filter);
}

.powers-card-modern[data-icon-filter="invert(59%) sepia(97%) saturate(675%) hue-rotate(151deg) brightness(88%) contrast(93%)"] .powers-card-icon {
    filter: invert(59%) sepia(97%) saturate(675%) hue-rotate(151deg) brightness(88%) contrast(93%);
}

.powers-card-modern[data-icon-filter="invert(41%) sepia(78%) saturate(588%) hue-rotate(161deg) brightness(92%) contrast(91%)"] .powers-card-icon {
    filter: invert(41%) sepia(78%) saturate(588%) hue-rotate(161deg) brightness(92%) contrast(91%);
}

.powers-card-modern[data-icon-filter="invert(17%) sepia(67%) saturate(2537%) hue-rotate(208deg) brightness(91%) contrast(86%)"] .powers-card-icon {
    filter: invert(17%) sepia(67%) saturate(2537%) hue-rotate(208deg) brightness(91%) contrast(86%);
}

.powers-card-modern:hover .powers-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.powers-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e4487;
    margin-bottom: 16px;
    margin-top: 0;
    padding-right: 40px;
    padding-left: 40px;
    text-align: center;
    line-height: 1.3;
    font-family: 'Open Sans', sans-serif;
    white-space: nowrap; /* Prevent wrapping on Windows */
}

.powers-card-text {
    font-size: 1rem;
    color: #3d4653;
    line-height: 1.6;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

/* Navigation Arrows */
.powers-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: #1e4487;
}

.powers-carousel-nav:hover {
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.powers-carousel-prev {
    left: 0;
}

.powers-carousel-next {
    right: 0;
}

.powers-carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .powers-card-slide {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
    
    .powers-card-modern:not(.active) {
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .powers-carousel-wrapper {
        padding: 0 20px 80px 20px; /* Add bottom padding for arrows */
        position: relative;
    }
    
    .powers-card-slide {
        flex: 0 0 calc(100% - 0px);
        min-width: calc(100% - 0px);
    }
    
    .powers-card-modern {
        opacity: 1;
        transform: scale(1);
    }
    
    .powers-card-modern:not(.active) {
        opacity: 1;
    }
    
    .powers-section h2 {
        font-size: 2rem;
    }
    
    /* Reposition navigation arrows for mobile - bottom center */
    .powers-carousel-nav {
        position: absolute !important;
        top: auto !important;
        bottom: 20px !important;
        transform: none !important;
        width: 50px !important;
        height: 50px !important;
        background: rgba(30, 68, 135, 0.95) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
        border-radius: 50% !important;
        z-index: 10 !important;
    }
    
    .powers-carousel-prev {
        left: 50% !important;
        right: auto !important;
        margin-left: -60px !important; /* Center with gap - moves left from center */
    }
    
    .powers-carousel-next {
        left: 50% !important;
        right: auto !important;
        margin-left: 10px !important; /* Center with gap - moves right from center */
    }
    
    .powers-carousel-nav:hover {
        transform: scale(1.05) !important;
        background: rgba(30, 68, 135, 1) !important;
    }
    
    /* Spark Section Responsive */
    .spark-cards-container {
        flex-direction: column;
        gap: 32px;
    }
    
    .spark-card-image-wrapper {
        min-height: 220px;
        max-height: 260px;
    }
    
    .spark-card.active .spark-card-content {
        padding: 24px 20px;
    }
    
    .spark-card-overlay {
        overflow: visible;
        max-width: 100%;
        padding: 20px 18px 64px 18px;
    }
    
    .spark-card-headline {
        font-size: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .spark-card-short-text {
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        margin-bottom: 10px;
        line-height: 1.5;
    }
    
    .spark-card-click-indicator {
        bottom: 14px;
    }
    
    .spark-card-content-inner p {
        font-size: 0.95rem;
    }
    
    .powers-carousel-nav {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .powers-carousel-wrapper {
        padding: 0 15px 90px 15px; /* Keep bottom padding for arrows */
    }
    
    .powers-card-modern {
        padding: 32px 24px;
    }
    
    .powers-card-title {
        font-size: 1.25rem;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .powers-card-text {
        font-size: 0.95rem;
    }
    
    /* Arrows centered at bottom for smallest screens */
    .powers-carousel-nav {
        bottom: 25px !important;
        width: 44px !important;
        height: 44px !important;
    }
    
    .powers-carousel-prev {
        margin-left: -52px !important;
    }
    
    .powers-carousel-next {
        margin-left: 8px !important;
    }
}

/* Advisory Council Section - HubSpot Style */
#consultants {
    padding: 50px 0;
}

#consultants h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

/* People Tabs */
.people-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.people-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 32px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.people-tab:hover {
    color: rgba(255, 255, 255, 0.9);
}

.people-tab.active {
    color: white;
    border-bottom-color: white;
}

/* Tab Content - People Tabs */
.people-tab-content {
    display: none !important;
}

.people-tab-content.active {
    display: block !important;
}

.consultant-card {
    cursor: pointer;
    height: 100%;
}

.consultant-card-frame {
    background: #ffffff;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.consultant-card:hover .consultant-card-frame {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.consultant-portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 8px;
    background: transparent;
    position: relative;
    border: none;
}

.consultant-portrait picture {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
}

.consultant-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%);
    border: none;
    outline: none;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.consultant-card:hover .consultant-portrait img {
    transform: scale(0.95);
}

.consultant-bio {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 68, 135, 0.95);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease,
                transform 0.3s ease,
                visibility 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
    z-index: 10;
}

.consultant-bio p {
    color: #ffffff;
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
    margin-bottom: 12px;
    font-weight: 400;
    text-align: left;
    flex: 0 1 auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    max-height: 6em;
    font-family: 'Open Sans', sans-serif;
}

.consultant-bio-read-more {
    color: #22b4d7;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    margin-top: 8px;
    display: inline-block;
}

.consultant-bio-read-more:hover {
    color: #ffffff;
    text-decoration: underline;
}

.consultant-linkedin {
    align-self: flex-end;
    color: #ffffff;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-left: auto;
}

.consultant-linkedin:hover {
    opacity: 1;
    transform: scale(1.1);
}

.consultant-linkedin svg {
    width: 20px;
    height: 20px;
}

/* Mobile LinkedIn Icon - Always visible on mobile */
.consultant-linkedin-mobile {
    display: none;
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #1e4487;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.consultant-linkedin-mobile:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.consultant-linkedin-mobile svg {
    width: 18px;
    height: 18px;
}

/* Profile icon - Mobile only, positioned above LinkedIn icon */
.consultant-profile-icon-mobile {
    display: none;
    position: absolute;
    bottom: 56px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #1e4487;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(30, 68, 135, 0.2);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.consultant-profile-icon-mobile:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(30, 68, 135, 0.4);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.consultant-profile-icon-mobile svg {
    width: 20px;
    height: 20px;
}

.consultant-card:hover .consultant-bio {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.consultant-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.consultant-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #22b4d7;
    margin: 0;
    margin-top: 8px;
    line-height: 1.3;
    font-family: 'Open Sans', sans-serif;
}

.consultant-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: #3d4653;
    line-height: 1.4;
    margin: 0;
    margin-top: 4px;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Desktop: Show bio overlay on hover with Read more */
@media (min-width: 993px) {
    .consultant-bio {
        display: flex !important;
        padding-top: 16px;
        opacity: 0;
        visibility: hidden;
    }
    
    .consultant-card:hover .consultant-bio {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    .consultant-bio p {
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        font-size: 0.9rem;
        overflow: hidden;
    }
    
    .consultant-bio-read-more {
        display: inline-block !important;
        margin-top: 12px;
        margin-bottom: 12px;
    }
    
    .consultant-linkedin {
        margin-top: auto;
    }
}

/* Mobile: Hide bio overlay completely, only show profile via icon */
@media (max-width: 992px) {
    .consultant-bio-read-more {
        display: none;
    }
    
    /* Completely hide bio overlay on mobile */
    .consultant-bio {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Disable hover effects on mobile */
    .consultant-card:hover .consultant-bio {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Show mobile LinkedIn icon */
    .consultant-linkedin-mobile {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Show profile icon */
    .consultant-profile-icon-mobile {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Disable card click on mobile - only icons should trigger modals */
    .consultant-card {
        pointer-events: none !important;
        cursor: default !important;
    }
    
    /* Disable modal trigger on mobile */
    .consultant-card[data-bs-toggle] {
        pointer-events: none !important;
    }
    
    .consultant-card .consultant-portrait {
        pointer-events: none !important;
    }
    
    .consultant-card .consultant-portrait img {
        pointer-events: none !important;
        cursor: default !important;
    }
    
    .consultant-card .consultant-content {
        pointer-events: none !important;
    }
    
    /* Only icons should be clickable */
    .consultant-card .consultant-profile-icon-mobile,
    .consultant-card .consultant-linkedin-mobile {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: absolute !important;
        z-index: 1000 !important;
    }
    
    /* Ensure icon container allows events */
    .consultant-portrait .consultant-profile-icon-mobile,
    .consultant-portrait .consultant-linkedin-mobile {
        pointer-events: auto !important;
    }
    
}

/* Responsive Design */
@media (max-width: 1200px) {
    .consultant-card-frame {
        padding: 20px;
    }
    
    .consultant-name {
        font-size: 1.25rem;
    }
    
    .consultant-title {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    #consultants {
        padding: 40px 0;
    }
    
    #consultants h2 {
        font-size: 1.75rem;
    }
    
    /* Fix profile portrait alignment on mobile */
    .consultant-portrait {
        aspect-ratio: 4 / 5;
        margin-bottom: 6px;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }
    
    .consultant-portrait picture {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .consultant-portrait img {
        object-position: center center !important; /* Center the image instead of center top */
    }
    
    .consultant-name {
        font-size: 1.125rem;
        margin-top: 8px;
    }
    
    .consultant-title {
        font-size: 0.7rem;
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    #consultants {
        padding: 35px 0;
    }

    #consultants h2 {
        font-size: 1.5rem;
        margin-bottom: 14px;
    }
    
    .people-tabs {
        margin-bottom: 18px;
    }

    .consultant-card-frame {
        padding: 12px;
    }
    
    .consultant-name {
        font-size: 1.125rem;
    }
    
    .consultant-title {
        font-size: 0.65rem;
    }
}

.expertise-stack-card {
    position: absolute;
    width: 100%;
    max-width: 400px;
    cursor: pointer;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), 
                z-index 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.8s ease;
    transform-origin: center center;
    will-change: transform, z-index;
    animation: cardEntrance 0.8s ease-out backwards;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.expertise-stack-card:nth-child(1) { animation-delay: 0.1s; }
.expertise-stack-card:nth-child(2) { animation-delay: 0.2s; }
.expertise-stack-card:nth-child(3) { animation-delay: 0.3s; }
.expertise-stack-card:nth-child(4) { animation-delay: 0.4s; }
.expertise-stack-card:nth-child(5) { animation-delay: 0.5s; }
.expertise-stack-card:nth-child(6) { animation-delay: 0.6s; }

.expertise-stack-card .card {
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25), 
                0 5px 15px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: box-shadow 0.8s ease, transform 0.8s ease, border-color 0.8s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
    transform: translateZ(0);
    position: relative;
}

.expertise-stack-card .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e4487 0%, #1883c2 50%, #22b4d7 100%);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.expertise-stack-card.active .card::before,
.expertise-stack-card:hover .card::before {
    opacity: 1;
}

.expertise-stack-card .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    transition: transform 0.8s ease;
    position: relative;
}

.expertise-stack-card .card-img-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 68, 135, 0.1) 100%);
    pointer-events: none;
}

.expertise-stack-card:hover .card-img-top,
.expertise-stack-card.active .card-img-top {
    transform: scale(1.05);
}

/* Card Body Styling */
.expertise-stack-card .card-body {
    padding: 24px;
    position: relative;
}

.expertise-stack-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e4487;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.expertise-stack-card.active .card-title {
    color: #1e4487;
    font-size: 1.15rem;
}

.expertise-stack-card .card-text {
    color: #3d4653;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.expertise-stack-card.active .card-text {
    color: #3d4653;
    font-size: 0.95rem;
}

/* Add decorative element */
.expertise-stack-card .card-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, #1e4487 0%, #1883c2 50%, #22b4d7 100%);
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform-origin: left;
}

.expertise-stack-card.active .card-body::after,
.expertise-stack-card:hover .card-body::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Click indicator */
.expertise-stack-card::after {
    content: 'Click to explore';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.expertise-stack-card[data-index="0"]::after {
    opacity: 1;
}

.expertise-stack-card.active::after {
    opacity: 0;
}

/* Section Header Enhancement */
#expertise .row.mb-4 h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#expertise .row.mb-4 p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Add subtle background pattern */
#expertise {
    position: relative;
    overflow: hidden;
}

#expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#expertise .container {
    position: relative;
    z-index: 1;
}

/* Stack positioning - cards spread more visibly */
.expertise-stack-card[data-index="0"] {
    transform: translateX(0) translateY(0) scale(1) rotateY(0deg);
    z-index: 6;
    opacity: 1;
}

.expertise-stack-card[data-index="1"] {
    transform: translateX(-35px) translateY(15px) scale(0.96) rotateY(-8deg);
    z-index: 5;
    opacity: 0.95;
}

.expertise-stack-card[data-index="2"] {
    transform: translateX(-70px) translateY(30px) scale(0.92) rotateY(-15deg);
    z-index: 4;
    opacity: 0.9;
}

.expertise-stack-card[data-index="3"] {
    transform: translateX(-105px) translateY(45px) scale(0.88) rotateY(-22deg);
    z-index: 3;
    opacity: 0.85;
}

.expertise-stack-card[data-index="4"] {
    transform: translateX(-140px) translateY(60px) scale(0.84) rotateY(-28deg);
    z-index: 2;
    opacity: 0.8;
}

.expertise-stack-card[data-index="5"] {
    transform: translateX(-175px) translateY(75px) scale(0.8) rotateY(-35deg);
    z-index: 1;
    opacity: 0.75;
}

/* Active card (clicked/brought to front) */
.expertise-stack-card.active {
    transform: translateX(0) translateY(-20px) scale(1.08) rotateY(0deg) !important;
    z-index: 10 !important;
    opacity: 1 !important;
}

.expertise-stack-card.active .card {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4),
                0 10px 30px rgba(0, 0, 0, 0.3),
                0 0 0 2px rgba(34, 180, 215, 0.3);
    border-color: rgba(34, 180, 215, 0.5);
}

/* Hover effects - more dramatic */
.expertise-stack-card:hover:not(.active) {
    transform: translateX(15px) translateY(-10px) scale(1.03) rotateY(3deg) !important;
    z-index: 8 !important;
    opacity: 0.98 !important;
}

.expertise-stack-card:hover:not(.active) .card {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35),
                0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Subtle pulse animation for top card (after entrance) */
.expertise-stack-card[data-index="0"]:not(.active) {
    animation: cardEntrance 0.8s ease-out backwards, subtlePulse 3s ease-in-out 1s infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1) rotateY(0deg);
    }
    50% {
        transform: translateX(0) translateY(-5px) scale(1.01) rotateY(0deg);
    }
}

/* Mobile responsive */
@media (max-width: 992px) {
    .expertise-stack-container {
        height: 600px;
        margin: 40px auto;
    }
    
    .expertise-stack-card {
        max-width: 350px;
    }
    
    /* Reduce stack depth on tablet */
    .expertise-stack-card[data-index="1"] {
        transform: translateX(-25px) translateY(12px) scale(0.97) rotateY(-6deg);
    }
    
    .expertise-stack-card[data-index="2"] {
        transform: translateX(-50px) translateY(24px) scale(0.94) rotateY(-12deg);
    }
    
    .expertise-stack-card[data-index="3"] {
        transform: translateX(-75px) translateY(36px) scale(0.91) rotateY(-18deg);
    }
    
    .expertise-stack-card[data-index="4"] {
        transform: translateX(-100px) translateY(48px) scale(0.88) rotateY(-24deg);
    }
    
    .expertise-stack-card[data-index="5"] {
        transform: translateX(-125px) translateY(60px) scale(0.85) rotateY(-30deg);
    }
}

@media (max-width: 768px) {
    .expertise-stack-container {
        height: 550px;
        margin: 30px auto;
    }
    
    .expertise-stack-card {
        max-width: 300px;
    }
    
    /* Further reduce stack depth on mobile */
    .expertise-stack-card[data-index="1"] {
        transform: translateX(-20px) translateY(10px) scale(0.97) rotateY(-5deg);
        opacity: 0.95;
    }
    
    .expertise-stack-card[data-index="2"] {
        transform: translateX(-40px) translateY(20px) scale(0.94) rotateY(-10deg);
        opacity: 0.9;
    }
    
    .expertise-stack-card[data-index="3"] {
        transform: translateX(-60px) translateY(30px) scale(0.91) rotateY(-15deg);
        opacity: 0.85;
    }
    
    .expertise-stack-card[data-index="4"] {
        transform: translateX(-80px) translateY(40px) scale(0.88) rotateY(-20deg);
        opacity: 0.8;
    }
    
    .expertise-stack-card[data-index="5"] {
        transform: translateX(-100px) translateY(50px) scale(0.85) rotateY(-25deg);
        opacity: 0.75;
    }
}

@media (max-width: 480px) {
    .expertise-stack-container {
        height: 500px;
        margin: 20px auto;
    }
    
    .expertise-stack-card {
        max-width: 85%;
    }
    
    /* Minimal stack on small mobile - still visible */
    .expertise-stack-card[data-index="1"] {
        transform: translateX(-15px) translateY(8px) scale(0.98) rotateY(-3deg);
        opacity: 0.95;
    }
    
    .expertise-stack-card[data-index="2"] {
        transform: translateX(-30px) translateY(15px) scale(0.96) rotateY(-6deg);
        opacity: 0.9;
    }
    
    .expertise-stack-card[data-index="3"],
    .expertise-stack-card[data-index="4"],
    .expertise-stack-card[data-index="5"] {
        transform: translateX(-45px) translateY(22px) scale(0.94) rotateY(-9deg);
        opacity: 0.85;
    }
}

.custom-nav button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

#audio-button:hover img{
    filter: invert(99%) sepia(100%) saturate(0%) hue-rotate(177deg) brightness(103%) contrast(100%);
}

.loading-spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Why Ampera & Philosophy Carousel - Accenture Style */
.why-philosophy-carousel-section {
    position: relative;
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
    min-height: auto;
    overflow: hidden;
    padding: 80px 0;
    margin-top: 0;
}

.rad-carousel-image-and-text {
    width: 100%;
    height: auto;
    min-height: 380px;
}

.rad-carousel-image-and-text__slide {
    width: 100%;
    height: auto;
    min-height: 380px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    background: transparent;
    padding: 0;
}

.cmp-image {
    width: 50%;
    height: auto;
    min-height: 380px;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
    padding-bottom: 70px;
}

.cmp-image__image {
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 60%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
}

.rad-carousel-image-and-text__slide-text {
    width: 50%;
    height: auto;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 50px 60px 70px 60px;
    background: transparent;
    color: #ffffff;
}

.rad-carousel-image-and-text__slide-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin: 0 0 24px 0;
    font-family: 'Open Sans', sans-serif;
}

.rad-carousel-image-and-text__slide-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    margin: 0 0 32px 0;
    max-width: 600px;
    font-family: 'Open Sans', sans-serif;
}

.rad-carousel-image-and-text__slide-body b {
    font-weight: 600;
    color: #ffffff;
}

.rad-carousel-image-and-text__slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #22b4d7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: 'Open Sans', sans-serif;
    transition: color 0.3s ease;
}

.rad-carousel-image-and-text__slide-cta:hover {
    color: #ffffff;
}

/* Navigation Controls */
.why-philosophy-carousel-controls {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    background: transparent;
    padding: 0;
}

.why-philosophy-carousel-play-pause {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.why-philosophy-carousel-prev,
.why-philosophy-carousel-next {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
}

.why-philosophy-carousel-pause,
.why-philosophy-carousel-play {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    width: 32px;
    height: 32px;
}

.why-philosophy-carousel-prev:hover,
.why-philosophy-carousel-next:hover {
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.1);
}

.why-philosophy-carousel-pause:hover,
.why-philosophy-carousel-play:hover {
    opacity: 0.7;
}

.why-philosophy-carousel-prev:disabled,
.why-philosophy-carousel-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.why-philosophy-carousel-page-numbers {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    min-width: 50px;
    justify-content: center;
}

.why-philosophy-carousel-page-current,
.why-philosophy-carousel-page-total {
    color: #ffffff;
}

.why-philosophy-carousel-page-numbers span[aria-hidden="true"] {
    color: rgba(255, 255, 255, 0.7);
}

/* Navigation Wrapper */
.why-philosophy-carousel-nav-wrapper {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: auto;
}

.why-philosophy-carousel-controls {
    position: relative;
}

/* Flickity Customization - Dots Above Controls */
.rad-carousel-image-and-text .flickity-page-dots {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: auto;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.rad-carousel-image-and-text .flickity-page-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0;
    border-radius: 50%;
}

.rad-carousel-image-and-text .flickity-page-dots .dot.is-selected {
    background: #ffffff;
}

.rad-carousel-image-and-text .flickity-button {
    display: none; /* Hide default Flickity buttons, using custom ones */
}

.rad-carousel-image-and-text .flickity-viewport {
    height: auto;
    min-height: 380px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .rad-carousel-image-and-text__slide {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .cmp-image {
        width: 100%;
        height: 50vh;
        min-height: 300px;
    }

    .rad-carousel-image-and-text__slide-text {
        width: 100%;
        height: auto;
        padding: 60px 40px;
        min-height: 50vh;
    }

    .rad-carousel-image-and-text__slide-title {
        font-size: 1.75rem;
    }

    .rad-carousel-image-and-text__slide-body {
        font-size: 0.9375rem;
        max-width: 100%;
    }

    .rad-carousel-image-and-text .flickity-viewport {
        height: auto;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .rad-carousel-image-and-text__slide-text {
        padding: 50px 30px;
    }

    .rad-carousel-image-and-text__slide-title {
        font-size: 1.5rem;
    }

    .rad-carousel-image-and-text__slide-body {
        font-size: 0.875rem;
    }

    .why-philosophy-carousel-controls {
        bottom: 20px;
        padding: 8px 16px;
        gap: 12px;
    }

    .why-philosophy-carousel-pause,
    .why-philosophy-carousel-play,
    .why-philosophy-carousel-prev,
    .why-philosophy-carousel-next {
        width: 36px;
        height: 36px;
        padding: 6px;
    }

    .why-philosophy-carousel-counter {
        font-size: 0.75rem;
        min-width: 32px;
    }
}

/* Mosaic Grid Section - Accenture Style */
.mosaic-section {
    padding: 60px 0;
    background: #f8f9fa;
}

#why-ampera .row.mb-5 h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e4487;
    margin-bottom: 8px;
}

#why-ampera .row.mb-5 {
    margin-bottom: 24px !important;
}

/* Why Ampera - Flip Card Styles */
#why-ampera.mosaic-section {
    padding: 20px 0 40px 0; /* Reduced top padding to minimize gap from About section */
}

#why-ampera .rad-mosaic-2__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: auto;
    align-items: stretch;
    gap: 16px;
}

/* Why Ampera Card Styles - Headline/Content Toggle */
.why-ampera-card {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 0 20px rgba(34, 180, 215, 0.08);
    overflow: hidden;
    min-height: 200px;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease, backdrop-filter 0.3s ease, min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), outline 0.2s ease;
    border-left: 4px solid #22b4d7;
    will-change: min-height;
    outline: none;
}

/* Focus state for keyboard navigation */
.why-ampera-card:focus {
    outline: 3px solid #22b4d7;
    outline-offset: 2px;
    box-shadow: 0 4px 16px rgba(34, 180, 215, 0.3), 0 0 20px rgba(34, 180, 215, 0.15), inset 0 0 30px rgba(34, 180, 215, 0.12);
}

.why-ampera-card:focus:not(:hover) {
    transform: translateY(-1px);
}

.why-ampera-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), inset 0 0 20px rgba(34, 180, 215, 0.1);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .why-ampera-card,
    .why-ampera-card-front,
    .why-ampera-card-back {
        transition: opacity 0.2s ease, visibility 0.2s ease, outline 0.2s ease;
        animation: none;
    }
    
    .why-ampera-card-icon {
        animation: none;
    }
    
    .why-ampera-card-tap-indicator {
        animation: none;
    }
}

.why-ampera-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(34, 180, 215, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.why-ampera-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    pointer-events: none;
    z-index: 0;
    transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

.why-ampera-card:hover::after {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.3);
}

.why-ampera-card:hover {
    box-shadow: 0 4px 16px rgba(34, 180, 215, 0.2), 0 0 20px rgba(34, 180, 215, 0.1), inset 0 0 30px rgba(34, 180, 215, 0.12);
    transform: translateY(-2px);
}

.why-ampera-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), inset 0 0 20px rgba(34, 180, 215, 0.1);
}

.why-ampera-card-front,
.why-ampera-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, visibility, transform;
}

.why-ampera-card-front {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.why-ampera-card-back {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    background: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    align-items: flex-start;
    justify-content: flex-start;
}

.why-ampera-card-headline {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e4487;
    text-align: center;
    margin: 0;
    margin-bottom: 2px;
    line-height: 1.2;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.why-ampera-card-subheadline {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8a92a6;
    text-align: center;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    z-index: 1;
}

.why-ampera-card-icon {
    display: block;
    color: #8a92a6;
    margin-bottom: 16px;
    animation: iconPulse 3s ease-in-out infinite;
}

.why-ampera-card-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

@keyframes iconPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.why-ampera-card-tap-indicator {
    display: none;
    color: #22b4d7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.why-ampera-card-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #3d4653;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 4px;
}

.why-ampera-card-content p {
    margin-bottom: 16px;
}

.why-ampera-card-content p:last-child {
    margin-bottom: 0;
}

/* Desktop: Show content on hover */
@media (min-width: 769px) {
    .why-ampera-card:hover .why-ampera-card-front,
    .why-ampera-card.active .why-ampera-card-front {
        opacity: 0;
        visibility: hidden;
    }
    
    .why-ampera-card:hover .why-ampera-card-back,
    .why-ampera-card.active .why-ampera-card-back {
        opacity: 1;
        visibility: visible;
    }
    
    .why-ampera-card-back {
        max-height: 100%;
    }
    
    .why-ampera-card.active {
        min-height: auto;
    }
}

/* Prevent hover effects on mobile/tablet */
@media (max-width: 768px) {
    .why-ampera-card:hover .why-ampera-card-front,
    .why-ampera-card:hover .why-ampera-card-back {
        /* Don't change on hover - only use active class */
    }
}

/* Mobile/Tablet: Show tap indicator and handle active state */
@media (max-width: 768px) {
    .why-ampera-card-tap-indicator {
        display: block;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .why-ampera-card.active .why-ampera-card-tap-indicator {
        display: none;
        opacity: 0;
        transform: scale(0.8);
    }
    
    .why-ampera-card {
        min-height: 200px;
        transition: min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    box-shadow 0.3s ease, 
                    transform 0.3s ease;
    }
    
    .why-ampera-card.active {
        min-height: auto;
    }
    
    .why-ampera-card-back {
        max-height: 80vh;
        padding: 20px;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .why-ampera-card-content {
        font-size: 0.9rem;
        line-height: 1.65;
    }
    
    .why-ampera-card-content p {
        margin-bottom: 14px;
    }
    
    /* Smooth scroll behavior when card expands */
    .why-ampera-card.active {
        scroll-margin-top: 20px;
    }
    
    /* Better visual feedback on mobile tap */
    .why-ampera-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

.why-ampera-card.active .why-ampera-card-front {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
}

.why-ampera-card.active .why-ampera-card-back {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.flip-card-wrapper {
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    box-sizing: border-box;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-sizing: border-box;
}

/* Mobile override - must come after desktop rules */
@media (max-width: 768px) {
    #why-ampera .flip-card-front,
    #why-ampera .flip-card-back {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        height: auto !important;
        width: 100% !important;
    }
}

.flip-card-front {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 2;
    visibility: visible;
    background: #ffffff;
    border: 2px solid #f0f0f0;
    color: #1e4487;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.flip-card-back {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    z-index: 1;
    pointer-events: none;
    visibility: hidden;
    background: #ffffff;
    color: #3d4653;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Desktop only - hover/flip effects */
@media (min-width: 769px) {
    .flip-card-wrapper:hover .flip-card-front,
    .flip-card-wrapper.flipped .flip-card-front {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
        pointer-events: none;
        visibility: hidden;
    }

    .flip-card-wrapper:hover .flip-card-back,
    .flip-card-wrapper.flipped .flip-card-back {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
        visibility: visible;
    }
}


/* Background texture pattern */
.flip-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(30, 68, 135, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 180, 215, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.flip-card-front-1 {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-color: rgba(30, 68, 135, 0.1);
}

.flip-card-front-1 .flip-card-accent {
    background: linear-gradient(135deg, #1e4487 0%, #1883c2 100%);
}

.flip-card-front-2 {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7fa 100%);
    border-color: rgba(24, 131, 194, 0.1);
}

.flip-card-front-2 .flip-card-accent {
    background: linear-gradient(135deg, #1883c2 0%, #22b4d7 100%);
}

.flip-card-front-3 {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f7fa 100%);
    border-color: rgba(34, 180, 215, 0.1);
}

.flip-card-front-3 .flip-card-accent {
    background: linear-gradient(135deg, #1e4487 0%, #22b4d7 100%);
}

.flip-card-front-4 {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: rgba(30, 68, 135, 0.1);
}

.flip-card-front-4 .flip-card-accent {
    background: linear-gradient(135deg, #1883c2 0%, #1e4487 100%);
}

/* Accent line/bar */
.flip-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: rgba(30, 68, 135, 0.2);
    transition: width 0.3s ease;
}

.flip-card-wrapper:hover .flip-card-accent {
    width: 5px;
}

.flip-card-back .flip-card-accent {
    background: rgba(30, 68, 135, 0.15);
}

/* Card content wrapper */
.flip-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Icon styling */
.flip-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e4487;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.flip-card-wrapper:hover .flip-card-icon {
    opacity: 1;
    transform: scale(1.05);
}

.flip-card-icon svg {
    width: 24px;
    height: 24px;
}

.flip-card-back .flip-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.flip-card-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e4487;
    margin: 0;
    text-align: center;
    line-height: 1.2;
}

/* Subtitle styling */
.flip-card-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(30, 68, 135, 0.6);
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.flip-card-title-back {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e4487;
    margin: 0 0 12px 0;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.flip-card-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #3d4653;
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.flip-card-wrapper:hover .flip-card-back,
.flip-card-wrapper.flipped .flip-card-back {
    box-shadow: 0 4px 16px rgba(30, 68, 135, 0.1);
}

/* Mobile click indicator - hidden on desktop */
.flip-card-mobile-indicator {
    display: none;
}

/* Mobile: Click to flip */
@media (max-width: 768px) {
    #why-ampera.mosaic-section {
        padding: 30px 0;
    }
    
    #why-ampera .rad-mosaic-2__grid {
        grid-template-columns: 1fr !important;
        gap: 0;
        overflow: visible !important;
    }
    
    #why-ampera .flip-card-wrapper {
        grid-column: 1 !important;
        grid-row: auto !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        margin-bottom: 3px !important;
        padding: 0;
    }
    
    /* Add spacing only when expanded */
    #why-ampera .flip-card-wrapper.expanded {
        margin-bottom: 3px !important;
    }
    
    /* Override min-height for Why Ampera cards - should be auto to stack tightly */
    #why-ampera .flip-card-wrapper {
        min-height: auto !important;
    }
    
    #why-ampera .flip-card {
        min-height: auto !important;
    }
    
    .flip-card-title {
        font-size: 1.125rem;
    }
    
    .flip-card-title-back {
        font-size: 1.125rem;
    }
    
    .flip-card-text {
        font-size: 0.875rem;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: 16px;
    }
    
    .flip-card-content {
        gap: 8px;
    }
    
    .flip-card-icon {
        width: 32px;
        height: 32px;
    }
    
    .flip-card-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .flip-card-subtitle {
        font-size: 0.6875rem;
    }
    
    /* Ensure touch-friendly interactions */
    .flip-card-wrapper {
        -webkit-tap-highlight-color: rgba(30, 68, 135, 0.1);
        touch-action: manipulation;
    }
    
    /* Mobile click indicator */
    .flip-card-mobile-indicator {
        display: flex;
        position: absolute;
        bottom: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        background: rgba(30, 68, 135, 0.1);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        color: #1e4487;
        opacity: 0.7;
        z-index: 3;
    }
    
    .flip-card-front {
        position: relative;
    }
    
    /* MOBILE: Accordion-style expansion instead of flip */
    #why-ampera .flip-card-wrapper {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        margin-bottom: 0;
        padding: 0;
    }
    
    /* Add margin only when expanded */
    #why-ampera .flip-card-wrapper.expanded {
        margin-bottom: 4px;
    }
    
    #why-ampera .flip-card {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0;
        padding: 0;
    }
    
    /* Front card - always visible, acts as header - ULTRA COMPACT */
    #why-ampera .flip-card-front {
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 10px 12px !important;
        box-sizing: border-box !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        z-index: auto !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        cursor: pointer;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: box-shadow 0.3s ease;
        margin: 0 !important;
    }
    
    /* Make card content very compact on mobile */
    #why-ampera .flip-card-front .flip-card-content {
        gap: 4px !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    #why-ampera .flip-card-front .flip-card-icon {
        width: 20px !important;
        height: 20px !important;
        flex-shrink: 0 !important;
    }
    
    #why-ampera .flip-card-front .flip-card-icon svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    #why-ampera .flip-card-front .flip-card-title {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        text-align: left !important;
    }
    
    /* Hide subtitle on mobile for compactness */
    #why-ampera .flip-card-front .flip-card-subtitle {
        display: none !important;
    }
    
    #why-ampera .flip-card-mobile-indicator {
        width: 20px !important;
        height: 20px !important;
        bottom: 6px !important;
        right: 8px !important;
    }
    
    #why-ampera .flip-card-mobile-indicator svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    /* Back card - accordion content, hidden by default - takes ZERO space */
    #why-ampera .flip-card-back {
        position: relative !important;
        height: 0 !important;
        max-height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        z-index: auto !important;
        overflow: hidden !important;
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease 0.1s,
                    visibility 0s linear 0.4s;
        margin: 0 !important;
        border: none !important;
    }
    
    /* Expanded state - show content */
    #why-ampera .flip-card-wrapper.expanded .flip-card-back {
        max-height: 1000px !important;
        height: auto !important;
        padding: 20px !important;
        padding-top: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        overflow: visible !important;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease 0.1s,
                    visibility 0s linear 0s;
    }
    
    /* Hide headline in back card on mobile (already shown in front) */
    #why-ampera .flip-card-back .flip-card-title-back {
        display: none !important;
    }
    
    /* Front card styling when expanded */
    #why-ampera .flip-card-wrapper.expanded .flip-card-front {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    /* Rotate chevron indicator when expanded */
    #why-ampera .flip-card-mobile-indicator {
        transition: transform 0.3s ease;
    }
    
    #why-ampera .flip-card-wrapper.expanded .flip-card-mobile-indicator {
        transform: rotate(90deg);
    }
    
    /* Ensure text wraps properly */
    #why-ampera .flip-card-text {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-top: 12px;
    }
    
    #why-ampera .flip-card-title-back {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-bottom: 8px;
    }
    
    /* Section padding to prevent overflow */
    #why-ampera.mosaic-section {
        padding: 40px 0;
        overflow: visible !important;
    }
    
    /* Ensure container doesn't constrain */
    #why-ampera .container {
        overflow: visible !important;
    }
}

@media (max-width: 480px) {
    #why-ampera.mosaic-section {
        padding: 24px 0;
    }
    
    #why-ampera .rad-mosaic-2__grid {
        grid-template-columns: 1fr !important;
        gap: 0;
        overflow: visible !important;
    }
    
    #why-ampera .flip-card-wrapper {
        grid-column: 1 !important;
        grid-row: auto !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        margin-bottom: 3px !important;
        padding: 0;
    }
    
    #why-ampera .flip-card-wrapper.expanded {
        margin-bottom: 3px !important;
    }
    
    #why-ampera .row.mb-5 h2 {
        font-size: 1.75rem;
    }
    
    #expertise .row.mb-5 h2 {
        font-size: 1.75rem;
    }
    
    .powers-section h2 {
        font-size: 1.75rem;
    }
    
    #the-spark .row.mb-5 h2 {
        font-size: 1.75rem;
    }
    
    /* Small mobile accordion adjustments - even more compact */
    #why-ampera .flip-card-front {
        min-height: 0 !important;
        padding: 8px 10px !important;
    }
    
    #why-ampera .flip-card-front .flip-card-title {
        font-size: 0.8125rem !important;
    }
    
    #why-ampera .flip-card-front .flip-card-icon {
        width: 18px !important;
        height: 18px !important;
    }
    
    #why-ampera .flip-card-front .flip-card-icon svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    #why-ampera .flip-card-wrapper.expanded .flip-card-back {
        padding: 10px !important;
        padding-top: 0 !important;
    }
    
    #why-ampera .flip-card-text {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    #why-ampera .flip-card-title-back {
        font-size: 0.9375rem;
    }
    
    .flip-card-mobile-indicator {
        width: 28px;
        height: 28px;
        bottom: 10px;
        right: 10px;
    }
    
    .flip-card-mobile-indicator svg {
        width: 16px;
        height: 16px;
    }
    
    .flip-card-title-back {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .flip-card-text {
        font-size: 0.8125rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .flip-card-content {
        gap: 6px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .flip-card-icon {
        width: 28px;
        height: 28px;
    }
    
    .flip-card-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .flip-card-subtitle {
        font-size: 0.625rem;
    }
}

.rad-mosaic-2__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 20px;
    width: 100%;
    align-items: start;
}

.rad-mosaic-2__card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    align-self: start;
}

.rad-mosaic-2__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

/* Vertical cards with images */
.rad-mosaic-2__card--vertical {
    flex-direction: row;
}

.rad-mosaic-2__card--vertical .rad-mosaic-2__card-description-content {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
}

.rad-mosaic-2__card--vertical .rad-mosaic-2__card-figure {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
}

/* Text-only cards */
.rad-mosaic-2__card:not(.rad-mosaic-2__card--vertical):not(.rad-mosaic-2__card--with-image-below) {
    padding: 24px;
}

/* Cards with image below text */
.rad-mosaic-2__card--with-image-below {
    padding: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    align-self: stretch;
}

.rad-mosaic-2__card--with-image-below .rad-mosaic-2__card-description-content {
    padding: 24px;
}

.rad-mosaic-2__card-figure--below {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    border-radius: 0 0 8px 8px;
}

.rad-mosaic-2__card-figure--below .rad-mosaic-2__card-image {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.rad-mosaic-2__card-figure--below .cmp-image__image {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 0 8px 8px;
}

/* Image-only grid cells */
.rad-mosaic-2__card-image-only {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.rad-mosaic-2__card-image-only .rad-mosaic-2__card-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.rad-mosaic-2__card-image-only .cmp-image__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.rad-mosaic-2__card-description-content {
    display: flex;
    flex-direction: column;
}

.rad-mosaic-2__card:not(.rad-mosaic-2__card--with-image-below) .rad-mosaic-2__card-description-content {
    height: 100%;
}

.rad-mosaic-2__card-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #22b4d7;
    margin-bottom: 16px;
    font-family: 'Open Sans', sans-serif;
}

.rad-mosaic-2__card-sliding-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rad-mosaic-2__card:hover .rad-mosaic-2__card-sliding-title {
    transform: translateY(-8px);
}

.rad-mosaic-2__card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1e4487;
    margin: 0 0 16px 0;
    font-family: 'Open Sans', sans-serif;
}

.rad-mosaic-2__card-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #3d4653;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    min-height: 4.46289rem;
}

.rad-mosaic-2__card-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #22b4d7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: 'Open Sans', sans-serif;
    margin-top: 24px;
    transition: color 0.3s ease, gap 0.3s ease;
}

.rad-mosaic-2__card-cta-button:hover {
    color: #1883c2;
    gap: 12px;
}

.rad-button__text {
    position: relative;
}

.rad-button__icon-right {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.rad-mosaic-2__card:hover .rad-button__icon-right {
    transform: translateX(4px);
}

.rad-mosaic-2__card-figure {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.rad-mosaic-2__card-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.rad-mosaic-2__card-image .cmp-image__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.rad-mosaic-2__card:hover .rad-mosaic-2__card-image .cmp-image__image {
    transform: scale(1.05);
}

/* Grid Layout - Responsive */
@media (min-width: 1200px) {
    .rad-mosaic-2__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }
}

@media (max-width: 1199px) and (min-width: 993px) {
    .rad-mosaic-2__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .rad-mosaic-2__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Reduce gap specifically for Why Ampera section on tablet */
    #why-ampera .rad-mosaic-2__grid {
        gap: 12px !important;
    }
    
    .rad-mosaic-2__card--vertical {
        flex-direction: column;
    }
    
    .rad-mosaic-2__card--vertical .rad-mosaic-2__card-description-content {
        flex: 1;
        padding: 24px;
    }
    
    .rad-mosaic-2__card--vertical .rad-mosaic-2__card-figure {
        flex: 0 0 250px;
        min-height: 250px;
    }
    
    .rad-mosaic-2__card-title {
        font-size: 1.25rem;
    }
    
    .rad-mosaic-2__card-body {
        font-size: 0.9375rem;
    }
    
    /* Tablet: Prevent text cropping in Why Ampera section */
    #why-ampera .flip-card-wrapper {
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    #why-ampera .flip-card {
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
        position: relative !important;
    }
    
    #why-ampera .flip-card-front {
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        position: relative !important;
    }
    
    #why-ampera .flip-card-back {
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        position: relative !important;
        padding: 20px !important;
    }
    
    #why-ampera .flip-card-text {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: visible !important;
    }
    
    #why-ampera .flip-card-title,
    #why-ampera .flip-card-title-back {
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure grid doesn't constrain cards */
    #why-ampera .rad-mosaic-2__grid {
        overflow: visible !important;
        grid-auto-rows: auto !important;
    }
}

@media (max-width: 768px) {
    .mosaic-section {
        padding: 40px 0;
    }
    
    .rad-mosaic-2__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        grid-auto-rows: auto;
    }
    
    /* Override inline styles on mobile - force single column */
    .rad-mosaic-2__card {
        grid-column: 1 !important;
        grid-row: auto !important;
        padding: 24px;
    }
    
    .rad-mosaic-2__card--vertical .rad-mosaic-2__card-description-content {
        padding: 24px;
    }
    
    .rad-mosaic-2__card-title {
        font-size: 1.125rem;
    }
    
    .rad-mosaic-2__card-body {
        font-size: 0.875rem;
        min-height: auto;
    }
    
    /* Image cards on mobile - reduce image height */
    .rad-mosaic-2__card-figure--below {
        min-height: 180px;
        max-height: 180px;
    }
}

@media (max-width: 480px) {
    .mosaic-section {
        padding: 30px 0;
    }
    
    .rad-mosaic-2__grid {
        gap: 12px;
    }
    
    .rad-mosaic-2__card {
        padding: 20px;
    }
    
    .rad-mosaic-2__card-description-content {
        padding: 20px !important;
    }
    
    .rad-mosaic-2__card-eyebrow {
        font-size: 0.75rem;
    }
    
    .rad-mosaic-2__card-title {
        font-size: 1rem;
    }
    
    .rad-mosaic-2__card-body {
        font-size: 0.8125rem;
    }
    
    .rad-mosaic-2__card-figure--below {
        min-height: 150px;
        max-height: 150px;
    }
}

/* ============================================
   OUR REACH SECTION STYLES
   ============================================ */

.our-reach-section {
    position: relative;
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    overflow: hidden;
    scroll-margin-top: 80px;
}

.our-reach-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left Content Panel */
.our-reach-content {
    flex: 0 0 40%;
    max-width: 40%;
}

.our-reach-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #22b4d7;
    margin-bottom: 12px;
    font-family: 'Open Sans', sans-serif;
}

.our-reach-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e4487;
    line-height: 1.2;
    margin-bottom: 16px;
}

.our-reach-title .text-gradient {
    background: linear-gradient(135deg, #22b4d7 0%, #1883c2 50%, #1e4487 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.our-reach-description {
    font-size: 0.9375rem;
    color: #3d4653;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Stats Cards */
.our-reach-stats {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.our-reach-stat-card {
    background: white;
    padding: 18px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(30, 68, 135, 0.1);
    text-align: center;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.our-reach-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(30, 68, 135, 0.15);
}

.our-reach-stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e4487;
    line-height: 1;
    margin-bottom: 6px;
}

.our-reach-stat-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1883c2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Right Map Panel */
.our-reach-map-container {
    flex: 0 0 55%;
    max-width: 55%;
    position: relative;
}

.our-reach-map-wrapper {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(30, 68, 135, 0.1);
    box-shadow: 
        0 10px 40px rgba(30, 68, 135, 0.12),
        inset 0 0 0 4px rgba(34, 180, 215, 0.05); /* subtle inner frame */
}

/* India Map Container */
.india-map-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.india-map-bg {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    opacity: 0.95;
    filter: brightness(1.05) saturate(0.9);
}

.india-map-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.city-markers-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* City Markers in SVG */
.city-markers-group {
    pointer-events: none;
}

.city-marker {
    cursor: pointer;
    pointer-events: auto;
    transform-origin: center;
}

.city-marker .marker-dot {
    fill: #1e4487;
    stroke: #ffffff;
    stroke-width: 1.5;
    transition: fill 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.city-marker:hover .marker-dot {
    fill: #22b4d7;
}

.city-marker .marker-center {
    fill: #ffffff;
}

.city-marker .marker-pulse {
    fill: #1e4487;
    opacity: 0;
    animation: smoothPulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    will-change: opacity, r;
}

@keyframes smoothPulse {
    0% {
        opacity: 0.6;
        r: 6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        r: 20;
    }
}

/* Stagger pulse animations for visual interest */
.city-marker:nth-child(1) .marker-pulse { animation-delay: 0s; }
.city-marker:nth-child(2) .marker-pulse { animation-delay: 0.18s; }
.city-marker:nth-child(3) .marker-pulse { animation-delay: 0.36s; }
.city-marker:nth-child(4) .marker-pulse { animation-delay: 0.54s; }
.city-marker:nth-child(5) .marker-pulse { animation-delay: 0.72s; }
.city-marker:nth-child(6) .marker-pulse { animation-delay: 0.9s; }
.city-marker:nth-child(7) .marker-pulse { animation-delay: 1.08s; }
.city-marker:nth-child(8) .marker-pulse { animation-delay: 1.26s; }
.city-marker:nth-child(9) .marker-pulse { animation-delay: 1.44s; }
.city-marker:nth-child(10) .marker-pulse { animation-delay: 1.62s; }
.city-marker:nth-child(11) .marker-pulse { animation-delay: 1.8s; }
.city-marker:nth-child(12) .marker-pulse { animation-delay: 1.98s; }
.city-marker:nth-child(13) .marker-pulse { animation-delay: 0.09s; }
.city-marker:nth-child(14) .marker-pulse { animation-delay: 0.27s; }

/* Map Legend */
.map-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(30, 68, 135, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-marker {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-marker.owned {
    background: #1e4487;
    box-shadow: 0 0 8px rgba(30, 68, 135, 0.4);
}

.legend-marker.affiliate {
    background: #22b4d7;
    opacity: 0.6;
}

/* SVG Legend Marker - matches city markers */
.legend-marker-svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.legend-marker-outer {
    fill: #1e4487;
    stroke: #ffffff;
    stroke-width: 1.5;
}

.legend-marker-inner {
    fill: #ffffff;
}

.legend-label {
    font-size: 0.8125rem;
    color: #3d4653;
    font-weight: 500;
}

/* City Tooltip */
.city-tooltip {
    position: absolute;
    background: #1e4487;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -100%) translateY(10px);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: 0 4px 16px rgba(30, 68, 135, 0.3);
    white-space: nowrap;
    will-change: opacity, transform;
}

.city-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1e4487;
}

.city-tooltip.active {
    opacity: 1;
    transform: translate(-50%, -100%) translateY(0);
}

.tooltip-city {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
}

.tooltip-type {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 2px;
}

/* Section Entrance Animations */
.our-reach-section.animate-in .our-reach-label,
.our-reach-section.animate-in .our-reach-title,
.our-reach-section.animate-in .our-reach-description {
    opacity: 1;
    transform: translateY(0);
}

.our-reach-label,
.our-reach-title,
.our-reach-description {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.our-reach-title {
    transition-delay: 0.1s;
}

.our-reach-description {
    transition-delay: 0.2s;
}

.our-reach-description:nth-of-type(2) {
    transition-delay: 0.3s;
}

.our-reach-stats {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.our-reach-section.animate-in .our-reach-stats {
    opacity: 1;
    transform: translateY(0);
}

.our-reach-map-wrapper {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.our-reach-section.animate-in .our-reach-map-wrapper {
    opacity: 1;
    transform: translateX(0);
}

/* International Section (Hidden - Ready for future) */
.international-reach-section {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px dashed rgba(30, 68, 135, 0.2);
}

.international-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e4487;
    margin-bottom: 16px;
}

.international-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.international-city {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(30, 68, 135, 0.05);
    border-radius: 20px;
    font-size: 0.875rem;
    color: #3d4653;
}

.int-city-marker {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22b4d7;
}

/* ============================================
   OUR REACH - RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {
    .our-reach-container {
        gap: 40px;
    }
    
    .our-reach-content {
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    .our-reach-map-container {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .our-reach-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .our-reach-section {
        padding: 40px 0;
    }

    .our-reach-container {
        flex-direction: column;
        padding: 0 30px;
        gap: 30px;
    }

    .our-reach-content,
    .our-reach-map-container {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .our-reach-content {
        text-align: center;
    }
    
    .our-reach-label {
        margin-bottom: 10px;
    }
    
    .our-reach-title {
        margin-bottom: 14px;
    }
    
    .our-reach-stats {
        justify-content: center;
        margin-top: 18px;
        gap: 14px;
    }
    
    .our-reach-map-wrapper {
        padding: 20px;
    }
    
    .india-map {
        max-height: 450px;
    }
}

@media (max-width: 768px) {
    .our-reach-section {
        padding: 35px 0;
    }

    .our-reach-container {
        padding: 0 20px;
        gap: 24px;
    }

    .our-reach-title {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }
    
    .our-reach-description {
        margin-bottom: 10px;
    }
    
    .our-reach-stats {
        margin-top: 16px;
        gap: 12px;
    }
    
    .our-reach-stat-card {
        padding: 14px 18px;
    }
    
    .our-reach-map-wrapper {
        padding: 20px;
    }
    
    .our-reach-description {
        font-size: 0.9375rem;
    }
    
    .our-reach-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .our-reach-stat-card {
        padding: 20px 24px;
    }
    
    .our-reach-stat-number {
        font-size: 2rem;
    }
    
    .our-reach-map-wrapper {
        padding: 20px;
        border-radius: 16px;
    }
    
    .india-map {
        max-height: 380px;
    }
    
    .map-legend {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    /* Mobile markers are already sized appropriately in SVG */
}

@media (max-width: 480px) {
    .our-reach-section {
        padding: 30px 0;
    }

    .our-reach-container {
        padding: 0 16px;
        gap: 20px;
    }

    .our-reach-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .our-reach-description {
        font-size: 0.875rem;
        margin-bottom: 8px;
    }
    
    .our-reach-stats {
        margin-top: 14px;
        gap: 10px;
    }
    
    .our-reach-stat-card {
        padding: 12px 16px;
    }
    
    .our-reach-stat-number {
        font-size: 2rem;
    }
    
    .our-reach-map-wrapper {
        padding: 16px;
    }
    
    .our-reach-stat-card {
        padding: 16px 20px;
    }
    
    .our-reach-stat-number {
        font-size: 1.75rem;
    }
    
    .our-reach-stat-label {
        font-size: 0.75rem;
    }
    
    .our-reach-map-wrapper {
        padding: 16px;
        border-radius: 12px;
    }
    
    .india-map {
        max-height: 320px;
    }
    
    .city-tooltip {
        font-size: 0.8125rem;
        padding: 8px 12px;
    }
}

