
/* ── Capabilities Section (The Dhruva Difference) ── */

.v2-section-glass {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    padding: 60px 0; /* Reduced padding */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Dynamic background glows for glassy feel */
.v2-section-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

/* Subtle grid texture */
.v2-section-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Adjusting standard tags for dark background */
.v2-section-glass .ds-section-tag {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.v2-section-glass .ds-section-title {
    color: #fff;
    font-size: 2.5rem; /* Reduced from 3.2rem */
}

.v2-section-glass .ds-section-title span {
    color: var(--v2-accent, #f59e0b); /* Using accent for better contrast */
}

.v2-section-glass .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Capability Card Styling */
.cap-v3-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 25px; /* Reduced padding for better fit */
    border-radius: 24px;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
}

.cap-v3-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px); /* Reduced lift */
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.2);
}

/* Icon Container */
.cap-v3-icon {
    width: 50px; /* Reduced size */
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #fff; /* White icons for better contrast */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.cap-v3-card:hover .cap-v3-icon {
    transform: scale(1.1);
    background: var(--v2-primary, #175191);
    color: #fff;
    box-shadow: 0 0 20px rgba(23, 81, 145, 0.5);
    border-color: transparent;
}

.cap-v3-card h4 {
    font-size: 1.25rem; /* Slightly smaller */
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cap-v3-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem; /* Slightly smaller */
    line-height: 1.5;
    margin: 0;
}

/* Desktop screen fitting */
@media (min-width: 992px) {
    .v2-section-glass {
        padding: 0; /* Let flex centering handle it */
    }
}

.v2-section-glass .ds-btn-primary {
    background: linear-gradient(135deg, var(--v2-primary, #175191), #2563eb);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}
.v2-section-glass .ds-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, var(--v2-primary, #175191));
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .v2-section-glass {
        padding: 80px 0;
        min-height: auto;
    }
    .cap-v3-card {
        padding: 35px 25px;
    }
}
