/* CSS */
.terms-page {
    min-height: 100vh;
    padding: 5rem 0 30px;
    background-color: #f9f9f9;
}

.header-section {
    background: url('../images/_Termsbg.jpg') center/cover;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.sidebar{
    margin-bottom: 30px;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%);
    background-size: 60px 60px;
    opacity: 0.5;
}

.marble-header {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.marble-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #e0e0e0 0%, #ffffff 50%, #e0e0e0 100%);
}

.section-title {
    color: #7a5c43;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}
@media (max-width:767px){
    .section-title{
        font-size: 22px;
    }
}
.marble-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marble-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.service-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-list li:hover {
    transform: translateX(10px);
}

.service-list i {
    color: #7a5c43;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.info-card p{
    margin-bottom: 0;
}
.info-card i {
    font-size: 2rem;
    color: #7a5c43;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #232323;
    margin-bottom: 1rem;
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7a5c43 0%, #95a5a6 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .service-list li:hover {
        transform: none;
    }
    
    .marble-box:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 25px;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}
