/* ========================================
   Elegant Category Cards - Sophisticated Design
   ======================================== */

.elegant-category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 450px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.elegant-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(7, 162, 221, 0.3);
}

.elegant-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(7, 162, 221, 0.5), rgba(44, 62, 80, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    transition: all 0.5s ease;
}

.elegant-category-card:hover .elegant-card-overlay {
    background: linear-gradient(135deg, rgba(7, 162, 221, 0.65), rgba(44, 62, 80, 0.75));
}

.elegant-card-content {
    text-align: center;
    color: white;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.elegant-category-card:hover .elegant-card-content {
    transform: translateY(-10px);
}

/* Icon Styling */
.elegant-icon-wrapper {
    position: relative;
    display: inline-block;
}

.elegant-icon-bg {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.4);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.elegant-icon-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.elegant-category-card:hover .elegant-icon-bg::before {
    width: 100%;
    height: 100%;
}

.elegant-icon-bg i {
    color: white;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.elegant-category-card:hover .elegant-icon-bg {
    transform: scale(1.1) rotate(10deg);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Typography */
.elegant-category-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: white;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
}

.elegant-category-card:hover .elegant-category-title {
    letter-spacing: 2px;
    transition: letter-spacing 0.3s ease;
}

.elegant-category-desc {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
}

/* Button Styling */
.elegant-view-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 40px;
    background: white;
    color: #07A2DD;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.elegant-view-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #07A2DD;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.elegant-view-btn:hover::before {
    width: 300px;
    height: 300px;
}

.elegant-view-btn span,
.elegant-view-btn i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.elegant-view-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.elegant-view-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .elegant-category-card {
        min-height: 350px;
    }
    
    .elegant-icon-bg {
        width: 90px;
        height: 90px;
    }
    
    .elegant-icon-bg i {
        font-size: 2.5rem !important;
    }
    
    .elegant-category-title {
        font-size: 1.6rem;
    }
    
    .elegant-category-desc {
        font-size: 1rem;
    }
    
    .elegant-view-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* Section Header Styling */
.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    color: #6c757d;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.section-title span {
    font-weight: 600;
    color: #07A2DD;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #07A2DD, transparent);
    margin: 0 auto;
}

