
:root {
    --primary-color: #cb0c0c;
    --primary-dark: #952624;
    --primary-light: #ff4444;
    --text-dark: #081727;  
    --text-medium: #4a4a4a;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --light-bg: #f8f9fa;
    --gray-text: #44596E;
    --border-radius: 12px;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 3px 6px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== SPACING ========== */
.py-80 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.min-vh-50 {
    min-height: 50vh;
}

/* ========== UTILITIES ========== */
.z-index-10 {
    position: relative;
    z-index: 10;
}

.rounded-xl {
    border-radius: 20px !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}
 

.btn-cta {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
    font-weight: 600;
}

.btn-cta:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ========== HERO SECTION ========== */
.ksbanner-section {
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    padding: 30px 0;
    overflow: hidden;
}

.ksbanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(203, 12, 12, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.ksbanner-content {
    animation: slideInLeft 0.8s ease-out;
}

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

.badge-primary {
    background: linear-gradient(135deg, #cb0c0c, #e74c3c);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.ksbanner-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    /* margin: 1.5rem 0; */
    color: var(--text-dark);
}

.ksbanner-title .highlight {
    background: linear-gradient(135deg, #cb0c0c, #952624);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ksbanner-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.ksbanner-description {
    font-size: 1.1rem;
    color: var(--gray-text);
     
    max-width: 500px;
    line-height: 1.8;
}

.ksbanner-cta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 14px 40px;
    font-size: 1.1rem;
}

/* Hero Stats */
.ksbanner-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-text);
    font-weight: 500;
}

.ksbanner-image {
    animation: slideInRight 0.8s ease-out;
}

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

.kidney-image-wrapper {
    position: relative;
    display: inline-block;
}

.kidney-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(203, 12, 12, 0.1), rgba(149, 38, 36, 0.1));
    border-radius: 20px;
    z-index: -1;
}

.kidney-image-wrapper img {
    max-width: 100%;
    height: auto;
}

/* ========== SECTION STYLES ========== */
.kds-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(203, 12, 12, 0.1), rgba(149, 38, 36, 0.05));
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.kds-title {
    font-size: 2.3em;
    font-weight: 700;
    margin: 0rem 0 0.6rem;
    color: var(--text-dark);
}

.kds-subtitle {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.8;
}

.kds-description {
    font-size: 1.05rem;
    color: var(--gray-text);
    line-height: 1.8;
}

/* Feature List */
.kdsfeature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kdsfeature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.kdsfeature-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ========== CARD STYLES ========== */
.card-custom {
    background: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 1.6rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

/* .card-custom:hover::before {
    transform: scaleX(1);
} */

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(203, 12, 12, 0.1), rgba(149, 38, 36, 0.05));
    border-radius: 12px;
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.stone-card h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.card-subtitle {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.kdsfeature-list-small li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-text);
}

.kdsfeature-list-small i {
    color: var(--primary-color);
    font-size: 0.6rem;
    margin-top: 0.2rem;
}

/* ========== CAUSES GRID ========== */
.causes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cause-item {
    text-align: center;
    padding: 1.6rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cause-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.cause-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 12px;
    font-size: 1.75rem;
}

.cause-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.cause-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* ========== SYMPTOMS SECTION ========== */
.symptoms-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.symptom-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.symptom-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.symptom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, rgba(203, 12, 12, 0.1), rgba(149, 38, 36, 0.05));
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 1.5rem;
}

.symptom-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.symptom-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* ========== DIAGNOSIS CARDS ========== */
.diagnosis-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: var(--border-radius);
    padding: 1.6rem;
    transition: var(--transition);
}

.diagnosis-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.diagnosis-card h3 {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.diagnosis-card h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.diagnosis-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--gray-text);
}

.diagnosis-list li:last-child {
    margin-bottom: 0;
}

.diagnosis-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ========== TREATMENT CARDS ========== */
.kdstreatment-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.6rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border-left: 3px solid var(--primary-color);
}

.kdstreatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.kdstreatment-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.kdstreatment-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.65rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.kdstreatment-card > p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

.kdstreatment-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-text);
}

.kdstreatment-list li:last-child {
    margin-bottom: 0;
}

.kdstreatment-list li::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.25rem;
    flex-shrink: 0;
    font-size: 1rem;
}

/* ========== HIGHLIGHT BOX ========== */
.highlight-box {
    background: linear-gradient(135deg, rgba(203, 12, 12, 0.05), rgba(149, 38, 36, 0.03));
    border-left: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1.22rem;
    /* margin: 1.6rem 0; */
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.highlight-box p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 400;
}

/* ========== PREVENTION SECTION ========== */
.prevention-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prevention-item {
    padding: 1.6rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 2px solid var(--primary-color);
}

.prevention-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.prevention-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.prevention-header i {
    color: var(--primary-color);
    font-size: 1.75rem;
    min-width: 40px;
}
#prevention h3{
    color: var(--text-dark);
    margin-bottom: 0.95rem;
    font-size: 1.2rem;
    font-weight: 600;
}
.prevention-header h4 {
    margin: 0;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.2rem;
}

.prevention-item > p {
    margin: 0;
}

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

.prevention-sub-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-text);
}

.prevention-sub-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.25rem;
    flex-shrink: 0;
}

/* ========== CTA SECTION ========== */
.cta-kds {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(203, 12, 12, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-buttons .btn {
    padding: 14px 40px;
    font-size: 1.05rem;
}

.cta-contact {
    font-size: 1.05rem;
    color: #ccc;
    margin: 0 !important;
}
 

hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ========== BACKGROUND COLOR UTILITIES ========== */
.bg-light {
    background-color: var(--light-bg) !important;
}

/* ========== ANIMATION CLASSES ========== */
.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

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

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets (768px and up) */
@media (max-width: 991px) {
    .ksbanner-title {
        font-size: 2.5rem;
    }

    .ksbanner-subtitle {
        font-size: 1.25rem;
    }

    .ksbanner-cta {
        flex-direction: column;
    }

    .ksbanner-cta .btn {
        width: 100%;
        text-align: center;
    }

    .ksbanner-stats {
        gap: 2rem;
    }

    .kds-title {
        font-size: 2rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    
    .cta-title {
        font-size: 2.2rem;
    }

    .causes-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile (576px and below) */
@media (max-width: 575px) {
    .causes-grid{ gap: 1.2rem;}
    .diagnosis-card{padding: 1.2rem;}
    .ksbanner-kds {
        min-height: auto;
        padding: 40px 0;
    }
    .kdstreatment-card{padding: 1.2rem;}
    .ksbanner-title {
        font-size: 1.6rem;
        margin: 0rem 0 1rem;
    }

    .ksbanner-subtitle {
        font-size: 1rem;
    }

    .ksbanner-description {
        font-size: 1rem;
    }

    .ksbanner-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .badge-primary {
        font-size: 0.75rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .py-80 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .kds-title {
        font-size: 1.5rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .card-custom {
        padding: 1.2rem;
    }
    .card-subtitle{margin-bottom: 0.6rem;}
    .card-icon{margin-bottom: 0.6rem;}
    .symptom-item {
        gap: 1rem;
        padding: 1rem;
    }

    .prevention-header {
        gap: 0.75rem;
    }

    .prevention-header i {
        font-size: 1.5rem;
        min-width: 35px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-buttons .btn {
        width: 100%;
        padding: 12px 24px;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .ps-lg-5 {
        padding-left: 0 !important;
        margin-top: 2rem;
    }

    .alert {
        font-size: 0.9rem;
        padding: 1rem;
    }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
    .ksbanner-title {
        font-size: 1.5rem;
    }

    .kds-title {
        font-size: 1.25rem;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .stat {
        min-width: 100%;
    }

    .nav-link {
        margin-left: 0;
        margin-right: 0;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .navbar,
    .cta-kds,
    .footer {
        display: none;
    }

    body {
        background: white;
    }

    .kds-title,
    .kds-description {
        color: #000;
    }
}