/* General page styles for sub-pages (not homepage) */

/* Page specific header styles */
.ka-header {
    background: rgba(248, 247, 240, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(48, 48, 46, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
}

/* Enhanced breadcrumb for sub-pages */
.ka-breadcrumb {
    background: linear-gradient(135deg, #F8F7F0, #E8F5E8);
    padding: 180px 0 40px;
    position: relative;
    overflow: hidden;
    background-image: url(../images/1.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.ka-breadcrumb-container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.ka-breadcrumb-title {
    font-size: 48px;
    font-weight: 700;
    color: #30302E;
    margin-bottom: 15px;
    position: relative;
}

.ka-breadcrumb-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: url('../images/logo-w-nobg.png') no-repeat center;
    background-size: contain;
    opacity: 0.1;
}

.ka-breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.ka-breadcrumb-link {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.ka-breadcrumb-link:hover {
    color: #fff079;
    background: rgba(181, 201, 154, 0.1);
}

.ka-breadcrumb-link.active {
    color: #30302E;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(181, 201, 154, 0.2), rgba(237, 221, 94, 0.2));
}

.ka-breadcrumb-separator {
    color: #fff079;
    font-size: 12px;
    margin: 0 5px;
}

.ka-breadcrumb-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.ka-breadcrumb-blob-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #fff079, #f6dc12);
    top: -100px;
    right: -100px;
    animation: blobFloat 8s ease-in-out infinite;
}

.ka-breadcrumb-blob-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f6dc12, #fff079);
    bottom: -75px;
    left: -75px;
    animation: blobFloat 6s ease-in-out infinite reverse;
}

/* Page content sections */
.ka-page-content {
    padding: 60px 0;
    background: #F8F7F0;
    min-height: 60vh;
}

.ka-page-section {
    margin-bottom: 80px;
}

.ka-page-section:last-child {
    margin-bottom: 0;
}

/* Enhanced section titles for sub-pages */
.ka-section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #30302E;
    position: relative;
    font-size: 36px;
}

.ka-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #fff079, #f6dc12);
    border-radius: 2px;
}

.ka-section-title::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: url('../images/logo-w-nobg.png') no-repeat center;
    background-size: contain;
    opacity: 0.3;
}

.ka-section-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #666;
    font-size: 18px;
    line-height: 1.8;
}

/* Card styles for sub-pages */
.ka-page-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(48, 48, 46, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.ka-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(181, 201, 154, 0.2);
}

.ka-page-card h3 {
    color: #30302E;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

.ka-page-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Grid layouts for sub-pages */
.ka-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ka-page-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.ka-page-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Button styles for sub-pages */
.ka-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #fff079, #f6dc12);
    color: #30302E;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.ka-page-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(181, 201, 154, 0.3);
    color: #30302E;
    text-decoration: none;
}

.ka-page-btn-secondary {
    background: transparent;
    border: 2px solid #fff079;
    color: #fff079;
}

.ka-page-btn-secondary:hover {
    background: #fff079;
    color: #30302E;
}

/* Image styles for sub-pages */
.ka-page-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(48, 48, 46, 0.1);
    transition: all 0.3s ease;
}

.ka-page-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(181, 201, 154, 0.2);
}

.ka-page-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive design for sub-pages */
@media (max-width: 768px) {
    .ka-breadcrumb {
        padding: 140px 0 30px;
    }
    
    .ka-breadcrumb-title {
        font-size: 32px;
    }
    
    .ka-breadcrumb-title::before {
        width: 40px;
        height: 40px;
        top: -15px;
    }
    
    .ka-section-title {
        font-size: 28px;
    }
    
    .ka-page-content {
        padding: 40px 0;
    }
    
    .ka-page-grid,
    .ka-page-grid-2,
    .ka-page-grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ka-page-card {
        padding: 20px;
    }
    
    .ka-breadcrumb-nav {
        flex-direction: column;
        gap: 5px;
    }
    
    .ka-breadcrumb-link {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .ka-breadcrumb-title {
        font-size: 28px;
    }
    
    .ka-section-title {
        font-size: 24px;
    }
    
    .ka-section-text {
        font-size: 16px;
    }
    
    .ka-page-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
} 

/* About page specific styles */
.ka-about-page {
    padding: 60px 0;
    background: #F8F7F0;
}

.ka-about-timeline {
    margin-bottom: 80px;
    position: relative;
}

.ka-about-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #fff079, #f6dc12);
    transform: translateX(-50%);
}

.ka-timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.ka-timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.ka-timeline-item:nth-child(odd) {
    padding-right: 50%;
}

.ka-timeline-item:nth-child(even) {
    padding-left: 50%;
}

.ka-timeline-year {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fff079, #f6dc12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #30302E;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(181, 201, 154, 0.3);
    z-index: 2;
}

.ka-timeline-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(48, 48, 46, 0.1);
    position: relative;
    transition: all 0.3s ease;
    width: 300px;
}

.ka-timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(181, 201, 154, 0.2);
}

.ka-timeline-content h3 {
    color: #30302E;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.ka-timeline-content p {
    color: #666;
    line-height: 1.6;
}

.ka-about-values {
    margin-bottom: 80px;
}

.ka-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ka-value-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(48, 48, 46, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ka-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #fff079, #f6dc12);
}

.ka-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(181, 201, 154, 0.2);
}

.ka-value-card i {
    font-size: 48px;
    color: #fff079;
    margin-bottom: 20px;
}

.ka-value-card h3 {
    color: #30302E;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.ka-value-card p {
    color: #666;
    line-height: 1.6;
}

.ka-about-team {
    margin-bottom: 80px;
}

.ka-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.ka-team-member {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(48, 48, 46, 0.1);
    transition: all 0.3s ease;
}

.ka-team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(181, 201, 154, 0.2);
}

.ka-team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid #fff079;
}

.ka-team-member h3 {
    color: #30302E;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.ka-team-member p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .ka-about-timeline::before {
        left: 30px;
    }
    
    .ka-timeline-item:nth-child(odd),
    .ka-timeline-item:nth-child(even) {
        padding-left: 80px;
        padding-right: 0;
    }
    
    .ka-timeline-year {
        left: 30px;
        transform: none;
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .ka-values-grid {
        grid-template-columns: 1fr;
    }
    
    .ka-team-grid {
        grid-template-columns: 1fr;
    }
    
    .ka-timeline-content {
        padding: 20px;
    }
    
    .ka-value-card {
        padding: 30px 20px;
    }
    
    .ka-team-member {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .ka-timeline-year {
        width: 40px;
        height: 40px;
        font-size: 14px;
        left: 20px;
    }
    
    .ka-timeline-item:nth-child(odd),
    .ka-timeline-item:nth-child(even) {
        padding-left: 70px;
    }
    
    .ka-team-member img {
        width: 100px;
        height: 100px;
    }
}


.ka-step-image img {
    width: 300px;
    border-radius: 20px;
    margin-top: 1rem;
}